- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for notPublic (0.12 sec)
-
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
public void failsToCheckNull(String s) {} } private static class NoPublicStaticMethods { @SuppressWarnings("unused") // To test non-public factory isn't used. static String notPublic() { return ""; } } @interface MyAnnotation {}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 36.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/ProjectSchemaTest.kt
projectSchema.extension("buildScan").type, equalTo(accessible(type)) ) } } @Test fun `private type is represented as Inaccessible because NonPublic`() { val typeString = "non.visible.Type" val classPath = classPathWithPrivateType(typeString) classLoaderFor(classPath).useToRun { val type = schemaTypeFor(typeString)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 7.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/TypeAccessibilityProviderTest.kt
@Test fun `internal Kotlin type is inaccessible because NonPublic`() { val internalType = SchemaType.of<InternalType>() assertThat( accessibilityFor( internalType, classPath = jarClassPathWith(InternalType::class) ), equalTo(inaccessible(internalType, InaccessibilityReason.NonPublic(internalType.kotlinString))) ) } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorsClassPath.kt
sealed class InaccessibilityReason { data class NonPublic(val type: String) : InaccessibilityReason() data class NonAvailable(val type: String) : InaccessibilityReason() data class Synthetic(val type: String) : InaccessibilityReason() data class TypeErasure(val type: String) : InaccessibilityReason() val explanation get() = when (this) { is NonPublic -> "`$type` is not public"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 20:25:05 UTC 2024 - 22K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeDeclarationIntegrationTest.groovy
testSoftwareType { nonPublic = "foo" } """ fails(":printTestSoftwareTypeExtensionImplConfiguration") then: failure.assertThatCause(Matchers.containsString("Failed to interpret the declarative DSL file")) failure.assertThatCause(Matchers.containsString("unresolved reference 'nonPublic'")) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 19 16:59:01 UTC 2024 - 11K bytes - Viewed (0)