- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 495 for isInterface (0.86 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/https/HandlerTest.java
// Then assertTrue(Modifier.isPublic(modifiers)); assertFalse(Modifier.isAbstract(modifiers)); assertFalse(Modifier.isInterface(modifiers)); } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassIterator.java
*/ public ClassIterator(final Class<?> clazz, final boolean includeObject) { assertArgumentNotNull("clazz", clazz); assertArgument("clazz", !clazz.isInterface(), MessageFormatter.getSimpleMessage("ECL0103", clazz)); this.clazz = clazz; this.includeObject = includeObject; } @Override public boolean hasNext() {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.9K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
*/ protected void setupFieldDescs() { if (beanClass.isInterface()) { setupFieldDescsByInterface(beanClass); } else { setupFieldDescsByClass(beanClass); } } /** * Prepares the fields defined in the interface. * * @param interfaceClass * the target interface */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 25.8K bytes - Viewed (1) -
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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
this.rdmaCapable = false; } /** * Get the interface index * * @return interface index */ public int getInterfaceIndex() { return interfaceIndex; } /** * Set the interface index * * @param interfaceIndex interface index */ public void setInterfaceIndex(int interfaceIndex) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0)