@@ -5,8 +5,6 @@ class SCTest {
5
5
6
6
private val logger by logger()
7
7
8
- private val gradle = " /usr/local/Cellar/gradle/4.10.2/libexec/bin/gradle"
9
-
10
8
@Test
11
9
fun `terminal` () {
12
10
val expectedMessage = " string_test"
@@ -16,7 +14,7 @@ class SCTest {
16
14
17
15
18
16
@Test
19
- fun `gradle build ` () {
17
+ fun `gradlew signingReport ` () {
20
18
val signingReport = Executor .execute(
21
19
"""
22
20
rm -rf KotlinSample &&
@@ -30,48 +28,4 @@ class SCTest {
30
28
assert (signingReport.contains(" SHA1" ) && signingReport.contains(" BUILD SUCCESSFUL" ))
31
29
}
32
30
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
-
77
31
}
0 commit comments