File tree 2 files changed +7
-6
lines changed
AndroidXCI/lib/src/main/kotlin/dev/androidx/ci/testRunner
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -354,10 +354,10 @@ interface TestRunnerService {
354
354
val resourceType : String
355
355
) {
356
356
companion object ResourceType {
357
- const val LOGCAT = " logcat "
358
- const val PNG = " png "
359
- const val TEXTPROTO = " textproto "
360
- const val PROTOBINARY = " pb "
357
+ const val LOGCAT = " LOGCAT "
358
+ const val PNG = " PNG "
359
+ const val TEXTPROTO = " TEXTPROTO "
360
+ const val PROTOBINARY = " PB "
361
361
}
362
362
}
363
363
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import dev.androidx.ci.testRunner.vo.DeviceSetup
30
30
import dev.androidx.ci.testRunner.vo.RemoteApk
31
31
import dev.androidx.ci.testRunner.vo.UploadedApk
32
32
import java.io.InputStream
33
+ import java.util.Locale
33
34
34
35
/* *
35
36
* Real implementation of [TestRunnerService].
@@ -208,7 +209,7 @@ internal class TestRunnerServiceImpl internal constructor(
208
209
getTestResultFiles(visitor).addTestCaseArtifact(
209
210
testIdentifier,
210
211
ResultFileResourceImpl (visitor),
211
- " logcat "
212
+ " LOGCAT "
212
213
)
213
214
}
214
215
}
@@ -261,7 +262,7 @@ internal class TestRunnerServiceImpl internal constructor(
261
262
}.add(
262
263
TestRunnerService .TestCaseArtifact (
263
264
ResultFileResourceImpl (visitor),
264
- visitor.fileName.substringAfterLast(" ." )
265
+ visitor.fileName.substringAfterLast(" ." ).uppercase( Locale . US )
265
266
)
266
267
)
267
268
}
You can’t perform that action at this time.
0 commit comments