Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for isInherited (1.7 sec)

  1. src/test/java/jcifs/config/PropertyConfigurationTest.java

            // Then
            assertEquals("childuser", testConfig.getDefaultUsername()); // Overridden
            assertEquals("parentdomain", testConfig.getDefaultDomain()); // Inherited
        }
    
        @Test
        @DisplayName("Should validate configuration consistency")
        void testConfigurationValidation() throws CIFSException {
            // Given
            Properties props = new Properties();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                // Arrange
                SamrPolicyHandle ph = createMockPolicyHandle();
                MsrpcSamrConnect2 msg = new MsrpcSamrConnect2("\\\\server", 0x000F0000, ph);
    
                // Act & Assert - getOpnum is inherited from SamrConnect2
                assertDoesNotThrow(() -> msg.getOpnum());
                assertEquals(0x39, msg.getOpnum(), "getOpnum should return 0x39 as defined in SamrConnect2");
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. pom.xml

    					</execution>
    				</executions>
    				<configuration>
    					<failOnError>false</failOnError>
    					<ignored>
    						<difference>
    							<!-- seems to be a clirr bug that it cannot handle the different inherited 
    								return types -->
    							<className>**</className>
    							<differenceType>7006</differenceType>
    							<method>*</method>
    							<from>*</from>
    							<to>*</to>
    						</difference>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.smb1.Config;
    
    /**
     * Tests for {@link NtlmMessage}. Since {@code NtlmMessage} is abstract we
     * create a lightweight concrete subclass only to exercise the inherited
     * behaviour. The tests cover flag manipulation, byte‑buffer operations and
     * static helpers. Edge cases such as null or short arrays and negative
     * values are verified to ensure proper exception handling and byte
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // Given
            String filename = "\\\\server\\share\\file.txt";
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename);
    
            // Set path field (inherited from parent)
            Field pathField = trans2GetDfsReferral.getClass().getSuperclass().getSuperclass().getDeclaredField("path");
            pathField.setAccessible(true);
            pathField.set(trans2GetDfsReferral, filename);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/AllocInfoTest.java

            @DisplayName("Should inherit getFileSystemInformationClass from FileSystemInformation")
            void shouldInheritGetFileSystemInformationClass() throws NoSuchMethodException {
                // Verify method is inherited
                assertNotNull(AllocInfo.class.getMethod("getFileSystemInformationClass"));
                assertEquals(byte.class, AllocInfo.class.getMethod("getFileSystemInformationClass").getReturnType());
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

        }
    
        @Test
        public void nextElement_firstCall_flipsIsPrimary() {
            DummyResponse d = new DummyResponse();
            // Initially isPrimary is true (inherited constructor)
            SmbComTransactionResponse r1 = (SmbComTransactionResponse) d.nextElement();
            assertSame(d, r1, "nextElement should return the same instance");
            // After first call isPrimary should be false
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            assertThrows(Exception.class, () -> {
                response.readParametersWireFormat(emptyBuffer, 0, 0);
            });
        }
    
        @Test
        @DisplayName("Test inherited behavior from parent class")
        void testInheritedBehavior() {
            // Test that response inherits from SmbComTransactionResponse
            assertTrue(response.hasMoreElements());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            assertEquals(0, response.readParametersWireFormat(buffer, beyondIndex, 10));
            assertEquals(0, response.readDataWireFormat(buffer, beyondIndex, 10));
        }
    
        @Test
        @DisplayName("Test inherited behavior from parent class")
        void testInheritedBehavior() {
            // Test that response inherits from SmbComTransactionResponse
            assertTrue(response.hasMoreElements());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                // Verify that the response inherits from ServerMessageBlock2Response
                assertTrue(response instanceof jcifs.internal.smb2.ServerMessageBlock2Response);
    
                // Test some inherited methods
                assertFalse(response.isReceived());
                assertFalse(response.isError());
                assertNull(response.getExpiration());
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top