- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for Inherited (0.66 sec)
-
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) -
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 byteRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
// Inherited ACE: Allow Administrators 0x001F01FF int adminInheritedACE = 0x001F01FF; assertTrue((adminInheritedACE & ACE.FILE_READ_DATA) != 0, "Admin inherited ACE should allow FILE_READ_DATA"); assertTrue((adminInheritedACE & ACE.FILE_WRITE_DATA) != 0, "Admin inherited ACE should allow FILE_WRITE_DATA"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
// Hexdump.toHexString produces uppercase hex assertTrue(result.toLowerCase().contains("0x001f01ff")); // ACE.toString() outputs "Inherited " with 1 space assertTrue(result.contains("Inherited")); assertTrue(result.contains("This folder, subfolders and files")); } @Test @DisplayName("Test appendCol helper method") void testAppendCol() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
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) -
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) -
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 falseRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
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) -
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()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
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)