- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,147 for correctly (0.12 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
Properties props = new Properties(); config = new PropertyConfiguration(props); } @Test void testConstructor() { // Test constructor initializes all fields correctly trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE); assertNotNull(trans2FindNext2);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java
assertEquals(2, lsarSidArrayX.sids.length, "sids array length should match"); assertEquals(sidT1, lsarSidArrayX.sids[0].sid, "First SID should be unwrapped correctly"); assertEquals(sidT2, lsarSidArrayX.sids[1].sid, "Second SID should be unwrapped correctly"); } @Test void testConstructorWithJcifsSIDArrayDirectAssignment() { // Create mock SID objects SID mockSid1 = mock(SID.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
} catch (Exception e) { throw new RuntimeException("Failed to access field " + fieldName, e); } } /** * Test that the constructor initializes all fields correctly */ @Test public void testConstructor() { // Arrange int fid = 0x1234; int offset = 100; int remaining = 50; byte[] buffer = new byte[100];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
Type2Message.NTLMSSP_NEGOTIATE_NTLM | Type2Message.NTLMSSP_NEGOTIATE_VERSION | Type2Message.NTLMSSP_NEGOTIATE_UNICODE; assertEquals(expectedFlags, message.getFlags(), "Default flags should be set correctly"); assertNull(message.getChallenge(), "Challenge should initially be null"); assertNull(message.getTarget(), "Target should initially be null");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
} /* * This is somewhat of a weak test; we verify that all of the methods are * correct, but not that they're actually forwarding correctly. We also rely * on the other tests (e.g., SynchronizedSetTest) to verify that the * collection views are synchronized correctly. */ public void testSize() { int unused = create().size(); } public void testIsEmpty() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 14:47:20 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
// Assert assertEquals(4, bytesWritten); assertEquals(SmbComTransaction.TRANS_PEEK_NAMED_PIPE, buffer[offset]); assertEquals((byte) 0x00, buffer[offset + 1]); // Verify FID is written correctly (little-endian) int writtenFid = SMBUtil.readInt2(buffer, offset + 2); assertEquals(TEST_FID, writtenFid); } @Test @DisplayName("writeSetupWireFormat should handle buffer boundary")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
SmbFilenameFilter filter = (dir, n) -> n != null && n.toLowerCase().endsWith(".txt"); boolean result = filter.accept(mockDir, name); assertEquals(expected, result, "Filter should evaluate .txt suffix correctly"); verifyNoInteractions(mockDir); } /** * Invalid/null inputs: ensure filters can handle null name and dir. */ @ParameterizedTest
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
assertNotNull(response); assertTrue(response instanceof SmbComTransactionResponse); assertEquals(0, response.getAvailable()); } @Test @DisplayName("Should verify status constants are correctly defined") void testStatusConstants() { // Assert assertEquals(1, TransPeekNamedPipeResponse.STATUS_DISCONNECTED); assertEquals(2, TransPeekNamedPipeResponse.STATUS_LISTENING);
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/pac/PacSidAttributesTest.java
} /** * Test method for {@link jcifs.pac.PacSidAttributes#getAttributes()}. */ @Test void testGetAttributes() { // Test the getAttributes method assertEquals(attributes, pacSidAttributes.getAttributes(), "getAttributes should return the correct attributes."); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedInteger.java
* primitive conversion from {@code int} to {@code float}, and correctly rounded. */ @Override public float floatValue() { return longValue(); } /** * Returns the value of this {@code UnsignedInteger} as a {@code double}, analogous to a widening * primitive conversion from {@code int} to {@code double}, and correctly rounded. */ @Override public double doubleValue() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0)