Skip to content

Commit 184dabf

Browse files
committed
...
1 parent f8b9ecb commit 184dabf

File tree

2 files changed

+1
-47
lines changed

2 files changed

+1
-47
lines changed

out/test/classes/SCTest.class

-588 Bytes
Binary file not shown.

src/test/kotlin/SCTest.kt

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ class SCTest {
55

66
private val logger by logger()
77

8-
private val gradle = "/usr/local/Cellar/gradle/4.10.2/libexec/bin/gradle"
9-
108
@Test
119
fun `terminal`() {
1210
val expectedMessage = "string_test"
@@ -16,7 +14,7 @@ class SCTest {
1614

1715

1816
@Test
19-
fun `gradle build`() {
17+
fun `gradlew signingReport`() {
2018
val signingReport = Executor.execute(
2119
"""
2220
rm -rf KotlinSample &&
@@ -30,48 +28,4 @@ class SCTest {
3028
assert(signingReport.contains("SHA1") && signingReport.contains("BUILD SUCCESSFUL"))
3129
}
3230

33-
@Test
34-
fun `1 gradle build`() {
35-
//val build = Executor.execute("./gradlew")
36-
//logger.debug(build)
37-
}
38-
39-
@Test
40-
fun `get fingerprint`() {
41-
/*
42-
Executor.execute("rm -rf KotlinSample")
43-
Executor.execute("git clone https://github.com/StringCare/KotlinSample.git")
44-
val moveAndShow = Executor.execute("cd KotlinSample && ./gradlew")
45-
logger.debug(moveAndShow)
46-
val resC = Executor.execute("./gradlew clean")
47-
logger.debug(resC)
48-
*/
49-
}
50-
51-
@Test
52-
fun firstMethodTest() {
53-
// verify(shellHandler.shell)?.exec("rm -rf KotlinSample")
54-
55-
56-
assert(true)
57-
/*
58-
59-
60-
val processA = commandTest("rm -rf KotlinSample")
61-
processA.stringOutput {
62-
logger.debug(it)
63-
}
64-
val exitCodeA = processA.waitFor()
65-
assert(exitCodeA == 0)
66-
val processB = commandTest("git clone https://github.com/StringCare/KotlinSample.git")
67-
val exitCodeB = processB.waitFor()
68-
assert(exitCodeB == 0)
69-
*/
70-
}
71-
72-
@Test
73-
fun secondMethodTest() {
74-
assert(true)
75-
}
76-
7731
}

0 commit comments

Comments
 (0)