Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Uladzislau <[email protected]>
  • Loading branch information
KUGDev committed Aug 16, 2024
1 parent 756e643 commit 4cbbca6
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Copyright IBA Group 2020
*/

package eu.ibagroup.formainframe.dataops.content.service
package org.zowe.explorer.dataops.content.service

import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.progress.ProgressIndicator
Expand Down Expand Up @@ -58,4 +58,4 @@ fun isFileSyncingNow(file: VirtualFile): Boolean =
SyncProcessService.instance.isFileSyncingNow(file)

fun areDependentFilesSyncingNow(file: VirtualFile): Boolean =
SyncProcessService.instance.areDependentFilesSyncingNow(file)
SyncProcessService.instance.areDependentFilesSyncingNow(file)
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Copyright IBA Group 2020
*/

package eu.ibagroup.formainframe.dataops.content.service
package org.zowe.explorer.dataops.content.service

import com.intellij.openapi.progress.ProgressIndicator
import com.intellij.openapi.vfs.VfsUtilCore
Expand Down Expand Up @@ -52,4 +52,4 @@ class SyncProcessServiceImpl: SyncProcessService {
}
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import com.intellij.icons.AllIcons
import com.intellij.openapi.project.Project
import com.intellij.openapi.ui.showYesNoDialog
import com.intellij.openapi.vfs.VirtualFile
import eu.ibagroup.formainframe.utils.runInEdtAndWait
import org.zowe.explorer.utils.runInEdtAndWait

/**
* Functional interface to decide if file content can be uploaded or should be updated from mainframe.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ package org.zowe.explorer.dataops.content.synchronizer
import com.intellij.openapi.project.Project
import com.intellij.openapi.ui.Messages
import com.intellij.openapi.vfs.VirtualFile
import eu.ibagroup.formainframe.dataops.content.service.areDependentFilesSyncingNow
import eu.ibagroup.formainframe.dataops.content.service.isFileSyncingNow
import org.zowe.explorer.dataops.content.service.areDependentFilesSyncingNow
import org.zowe.explorer.dataops.content.service.isFileSyncingNow
import java.nio.charset.Charset

private const val NEW_LINE = "\n"
Expand Down
10 changes: 5 additions & 5 deletions src/test/kotlin/org/zowe/explorer/dataops/ContentTestSpec.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ import com.intellij.openapi.project.Project
import com.intellij.openapi.ui.Messages
import com.intellij.openapi.vfs.VfsUtilCore
import com.intellij.openapi.vfs.VirtualFile
import eu.ibagroup.formainframe.dataops.content.service.SyncProcessService
import eu.ibagroup.formainframe.dataops.content.service.areDependentFilesSyncingNow
import eu.ibagroup.formainframe.dataops.content.service.isFileSyncingNow
import eu.ibagroup.formainframe.dataops.content.synchronizer.checkFileForSync
import eu.ibagroup.formainframe.testutils.WithApplicationShouldSpec
import org.zowe.explorer.dataops.content.service.SyncProcessService
import org.zowe.explorer.dataops.content.service.areDependentFilesSyncingNow
import org.zowe.explorer.dataops.content.service.isFileSyncingNow
import org.zowe.explorer.dataops.content.synchronizer.checkFileForSync
import org.zowe.explorer.testutils.WithApplicationShouldSpec
import io.kotest.assertions.assertSoftly
import io.kotest.matchers.shouldBe
import io.mockk.*
Expand Down

0 comments on commit 4cbbca6

Please sign in to comment.