File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
AndroidXCI/lib/src/main/kotlin/dev/androidx/ci/testRunner Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -354,10 +354,10 @@ interface TestRunnerService {
354354 val resourceType : String
355355 ) {
356356 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 "
361361 }
362362 }
363363
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import dev.androidx.ci.testRunner.vo.DeviceSetup
3030import dev.androidx.ci.testRunner.vo.RemoteApk
3131import dev.androidx.ci.testRunner.vo.UploadedApk
3232import java.io.InputStream
33+ import java.util.Locale
3334
3435/* *
3536 * Real implementation of [TestRunnerService].
@@ -208,7 +209,7 @@ internal class TestRunnerServiceImpl internal constructor(
208209 getTestResultFiles(visitor).addTestCaseArtifact(
209210 testIdentifier,
210211 ResultFileResourceImpl (visitor),
211- " logcat "
212+ " LOGCAT "
212213 )
213214 }
214215 }
@@ -261,7 +262,7 @@ internal class TestRunnerServiceImpl internal constructor(
261262 }.add(
262263 TestRunnerService .TestCaseArtifact (
263264 ResultFileResourceImpl (visitor),
264- visitor.fileName.substringAfterLast(" ." )
265+ visitor.fileName.substringAfterLast(" ." ).uppercase( Locale . US )
265266 )
266267 )
267268 }
You can’t perform that action at this time.
0 commit comments