- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,447 for isInterface (0.09 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/org/codelibs/fess/mylasta/FessLastaDocTest.java
// ## Arrange ## String appWebPkg = ".app.web."; String actionSuffix = "Action"; // ## Act ## policeStoryOfJavaClassChase((srcFile, clazz) -> { if (clazz.isInterface() || Modifier.isAbstract(clazz.getModifiers())) { // e.g. BaseAction return; } final String className = clazz.getName();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.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/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: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.9K 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) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
* is. */ public <T> void testForwarding( Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) { checkNotNull(wrapperFunction); checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType); Method[] methods = getMostConcreteMethods(interfaceType); AccessibleObject.setAccessible(methods, true); for (Method method : methods) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
* is. */ public <T> void testForwarding( Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) { checkNotNull(wrapperFunction); checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType); Method[] methods = getMostConcreteMethods(interfaceType); AccessibleObject.setAccessible(methods, true); for (Method method : methods) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0)