- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 473 for isInterface (0.2 sec)
-
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
// Assert assertTrue(clazz.isInterface(), "Should be an interface"); assertTrue(Modifier.isPublic(clazz.getModifiers()), "Interface should be public"); assertEquals("jcifs.smb", clazz.getPackageName(), "Package must match source"); assertEquals("SessionSetupHandler", clazz.getSimpleName(), "Simple name must match source"); } @Test @DisplayName("Interface declares no methods or fields")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoConstantsTest.java
} @Test @DisplayName("Interface structure is as expected") void interfaceStructure() { Class<?> c = SpnegoConstants.class; assertTrue(c.isInterface(), "SpnegoConstants must be an interface"); assertEquals(4, c.getDeclaredFields().length, "Unexpected number of fields");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/https/HandlerTest.java
// Then assertTrue(Modifier.isPublic(modifiers)); assertFalse(Modifier.isAbstract(modifiers)); assertFalse(Modifier.isInterface(modifiers)); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
} } @Test @DisplayName("Test SecurityInfo interface is public") void testInterfaceIsPublic() { int modifiers = SecurityInfo.class.getModifiers(); assertTrue(Modifier.isPublic(modifiers), "SecurityInfo interface should be public"); assertTrue(Modifier.isInterface(modifiers), "SecurityInfo should be an interface"); } @Test @DisplayName("Test constant values range")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
// Then assertTrue(Modifier.isPublic(modifiers)); assertFalse(Modifier.isAbstract(modifiers)); assertFalse(Modifier.isInterface(modifiers)); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
// Reflection-based API checks ensure the interface contract is as expected @Test @DisplayName("Type hierarchy and method signatures are correct") void typeAndSignatures() throws Exception { Class<?> clazz = SmbResourceLocatorInternal.class; // Assert it's an interface and extends the right superinterface assertTrue(clazz.isInterface(), "Should be an interface");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
} @Test @DisplayName("Should be a public interface") void shouldBePublicInterface() { assertTrue(SmbSession.class.isInterface(), "SmbSession should be an interface"); assertTrue(java.lang.reflect.Modifier.isPublic(SmbSession.class.getModifiers()), "SmbSession should be public"); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
assertNotNull(resource.getLocator(), "Should have resource locator for SMB addressing"); // Verify interface provides SMB-specific functionality assertTrue(SmbResource.class.isInterface(), "Should be an interface"); assertTrue(AutoCloseable.class.isAssignableFrom(SmbResource.class), "Should be closeable for resource management"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
@SuppressWarnings("unchecked") // ArbitraryInstances always returns generics-safe dummies. T value = (T) ArbitraryInstances.get(rawType); if (value != null) { return value; } if (rawType.isInterface()) { return new SerializableDummyProxy(this).newProxy(type); } return null; } private static <T> T createInstance(Invokable<?, ? extends T> factory, List<?> args)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
@SuppressWarnings("unchecked") // ArbitraryInstances always returns generics-safe dummies. T value = (T) ArbitraryInstances.get(rawType); if (value != null) { return value; } if (rawType.isInterface()) { return new SerializableDummyProxy(this).newProxy(type); } return null; } private static <T> T createInstance(Invokable<?, ? extends T> factory, List<?> args)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0)