Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for assignable (0.05 sec)

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

            assertNotNull(impl, "Implementation instance should not be null");
            assertTrue(SessionSetupHandler.class.isInstance(impl), "Instance should be assignable to interface");
            assertTrue(SessionSetupHandler.class.isAssignableFrom(impl.getClass()), "Type should be assignable");
        }
    
        @Test
        @DisplayName("Edge: null is not an instance of the interface")
        void testNullIsNotInstance() {
            // Assert
    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/smb/SmbTreeImplTest.java

            SmbTreeImpl unwrapped = tree.unwrap(SmbTreeImpl.class);
            assertEquals(tree, unwrapped);
            // Test unwrapping to a non-assignable type should fail
            assertThrows(ClassCastException.class, () -> {
                // Create a mock class that extends SmbTree but is not assignable from SmbTreeImpl
                class CustomSmbTree extends SmbTreeImpl {
                    CustomSmbTree() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java

                        isProperties = Properties.class.isAssignableFrom(Class.forName(param.getType()));
                    } catch (ClassNotFoundException e) {
                        // assume it is not assignable from Collection or Map
                    }
                }
    
                messageBuffer.append("Inside the definition for plugin '");
                messageBuffer.append(mojo.getPluginDescriptor().getArtifactId());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top