- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for es6class (0.48 sec)
-
native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt
val knownTestFile = File("src/main/resources/testlist.txt").absoluteFile knownTestFile.readLines().forEach { try { val testClass = access.findClassByName(it) if (testClass != null) { access.registerAsUsed(testClass) registerTest(access, testClass) } } catch (e: Exception) { // If you throw an exception here then native image building fails half way through
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.7K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt
val testSelector = DiscoverySelectors.selectPackage("okhttp3") val testClasses = findTests(listOf(testSelector)) .filter { it.isContainer } .mapNotNull { (it as? ClassBasedTestDescriptor)?.testClass?.name } .filterNot { it in avoidedTests } .sorted() .distinct() knownTestFile.writeText(testClasses.joinToString("\n"))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Viewed (0) -
native-image-tests/src/test/kotlin/okhttp3/nativeImage/NativeImageTestsTest.kt
val x = findTests(testSelector) x.find { it is ClassBasedTestDescriptor && it.testClass == SampleTest::class.java } } @Test fun testFindsModuleTests() { val testSelector = DiscoverySelectors.selectPackage("okhttp3") val x = findTests(listOf(testSelector)) x.find { it is ClassBasedTestDescriptor && it.testClass == SampleTest::class.java } } @Test fun testFindsProjectTests() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.8K bytes - Viewed (0)