Skip to content

Commit 3fe7b45

Browse files
committed
test change
1 parent 860c478 commit 3fe7b45

File tree

1 file changed

+0
-85
lines changed

1 file changed

+0
-85
lines changed

src/test/kotlin/AssetsTest.kt

Lines changed: 0 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -127,89 +127,4 @@ class AssetsTest {
127127
}
128128
}
129129

130-
/*
131-
132-
@Test
133-
fun `12 - (ANDROID COMPILATION) obfuscate xml and build (not real workflow)`() {
134-
val temp = tempPath()
135-
signingReportTask(temp).runCommand { _, report ->
136-
println(report)
137-
val files = locateFiles("$temp${File.separator}$testProjectName", configuration)
138-
files.forEach { file ->
139-
val entities = parseXML(file.file)
140-
assert(entities.isNotEmpty())
141-
modifyXML(
142-
file.file,
143-
"$temp${File.separator}$mainModuleTest",
144-
report.extractFingerprint(),
145-
true
146-
)
147-
}
148-
val filesObfuscated = locateFiles(
149-
"$temp${File.separator}$testProjectName",
150-
configuration
151-
)
152-
filesObfuscated.forEach { file ->
153-
val entities = parseXML(file.file)
154-
assert(entities.isEmpty())
155-
}
156-
}
157-
}
158-
159-
@Test
160-
fun `13 - (PLUGIN COMPILATION) plugin with no test`() {
161-
pluginBuildTask().runCommand { _, report ->
162-
assert(report.contains("BUILD SUCCESSFUL"))
163-
println(report)
164-
}
165-
}
166-
167-
@Test
168-
fun `14 - (ANDROID COMPILATION) plugin running on Android`() {
169-
pluginBuildTask().runCommand { _, report ->
170-
assert(report.contains("BUILD SUCCESSFUL"))
171-
}
172-
val temp = tempPath()
173-
prepareTask(temp).runCommand { _, _ ->
174-
modifyForTest(temp, testProjectName)
175-
buildTask("$temp${File.separator}$testProjectName").runCommand { _, androidReport ->
176-
assert(androidReport.contains("BUILD SUCCESSFUL"))
177-
println(androidReport)
178-
}
179-
}
180-
}
181-
182-
@Test
183-
fun `15 - (GRADLE TASK) stringcarePreview`() {
184-
pluginBuildTask().runCommand { _, report ->
185-
assert(report.contains("BUILD SUCCESSFUL"))
186-
}
187-
val temp = tempPath()
188-
prepareTask(temp).runCommand { _, _ ->
189-
modifyForTest(temp, testProjectName)
190-
basicGradleTask("$temp${File.separator}$testProjectName").runCommand { _, androidReport ->
191-
assert(androidReport.contains("END REPORT"))
192-
println(androidReport)
193-
}
194-
195-
}
196-
}
197-
198-
@Test
199-
fun `16 - (GRADLE TASK) stringcareTestObfuscate`() {
200-
pluginBuildTask().runCommand { _, report ->
201-
assert(report.contains("BUILD SUCCESSFUL"))
202-
}
203-
val temp = tempPath()
204-
prepareTask(temp).runCommand { _, _ ->
205-
modifyForTest(temp, testProjectName)
206-
obfuscationTestGradleTask("$temp${File.separator}$testProjectName").runCommand { _, androidReport ->
207-
assert(androidReport.contains("END OBFUSCATION"))
208-
println(androidReport)
209-
}
210-
211-
}
212-
}
213-
*/
214-
215130
}

0 commit comments

Comments
 (0)