File tree 3 files changed +5
-5
lines changed
kaspresso/src/main/kotlin/com/kaspersky/kaspresso/flakysafety/scalpel
src/test/java/com/kaspresso/components/pageobjectcodegen
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ internal class FlakySafeInterceptorScalpel(
25
25
private val entriesCount = AtomicInteger ()
26
26
27
27
fun scalpFromLibs () {
28
- if (entriesCount.getAndIncrement() == 0 ) {scalpelSwitcher.attemptTakeScalp(
28
+ if (entriesCount.getAndIncrement() == 0 ) { scalpelSwitcher.attemptTakeScalp(
29
29
actionToDetermineScalp = { determineScalpExistingInKaspresso() },
30
30
actionToTakeScalp = {
31
31
scalpKakaoInterceptors()
32
32
scalpKautomatorInterceptors()
33
33
kaspresso.externalFlakySafetyScalperNotifier.scalpFlakySafety()
34
34
}
35
- )}
35
+ ) }
36
36
}
37
37
38
38
private fun determineScalpExistingInKaspresso () =
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ tasks.withType<Jar>() {
26
26
}
27
27
exclude(" NOTICE.txt" )
28
28
exclude(" LICENSE.txt" )
29
- doLast{
30
- copy{
29
+ doLast {
30
+ copy {
31
31
from(" $buildDir /libs/page-object-code-gen.jar" )
32
32
into(" $rootDir /artifacts" )
33
33
duplicatesStrategy = DuplicatesStrategy .INCLUDE
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class CodeGenTest(
17
17
18
18
@Test
19
19
fun checkCodeGen () {
20
- val jarFile = File (" build/libs /page-object-code-gen.jar" )
20
+ val jarFile = File (" ../artifacts /page-object-code-gen.jar" )
21
21
val inputFile = File (" src/test/resources/$inputPath " )
22
22
Runtime .getRuntime().exec(" java -jar $jarFile $inputFile $className $outputDirectory " )
23
23
Thread .sleep(15000 )
You can’t perform that action at this time.
0 commit comments