Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for IsInterface (0.06 sec)

  1. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

        void testPublicInterfaceAndPackage() {
            // Arrange & Act
            Class<SessionSetupHandler> clazz = SessionSetupHandler.class;
    
            // 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");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. 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");
            assertEquals(0, c.getDeclaredMethods().length, "No declared methods expected");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                return value;
            }
            try {
                final Class<?> implType = getClassForImplementationHint(type, configuration, loader);
                if (null == value && implType.isInterface() && configuration.getChildCount() == 0) {
                    return null; // nothing to process
                }
                final Object bean = instantiateObject(implType);
                if (null == value) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 07:40:49 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

        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")
        void testConstantValuesRange() throws IllegalAccessException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

        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");
            assertTrue(Arrays.asList(clazz.getInterfaces()).contains(SmbResourceLocator.class), "Should extend SmbResourceLocator");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. 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");
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. 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)
  10. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          @SuppressWarnings("unchecked") // returns default for both F and T
          T defaultConverter = (T) defaultConverter(convertFromType, convertToType);
          return defaultConverter;
        }
        if (type.getRawType().isInterface()) {
          return newDefaultReturningProxy(type);
        }
        return null;
      }
    
      private <F, T> Converter<F, T> defaultConverter(
          TypeToken<F> convertFromType, TypeToken<T> convertToType) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top