- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 2,990 for Shouldn (0.04 sec)
-
src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java
Field flagsField = DcerpcMessage.class.getDeclaredField("flags"); flagsField.setAccessible(true); int flagsValue = (int) flagsField.get(request); int expectedFlags = DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
// Assert: type is named pipe and pipe type preserved assertEquals(SmbConstants.TYPE_NAMED_PIPE, pipe.getType(), "Type should be TYPE_NAMED_PIPE"); assertEquals(SmbPipeResource.PIPE_TYPE_RDWR, pipe.getPipeType(), "Pipe type should match constructor"); } @ParameterizedTest @DisplayName("Rejects non-IPC$ URLs")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
// Verify assertEquals(14 + nameBytes.length, bytesEncoded); // Check timeout (should be 0) assertEquals(0L, SMBUtil.readInt8(buffer, 0)); // Check name length assertEquals(nameBytes.length, SMBUtil.readInt4(buffer, 8)); // Check timeout specified flag (should be 0) assertEquals(0x0, buffer[12]); // Check padding assertEquals(0x0, buffer[13]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
public void testContainsAll_empty() { assertTrue( "containsAll(empty) should return true", collection.containsAll(MinimalCollection.of())); } @CollectionSize.Require(absent = ZERO) public void testContainsAll_subset() { assertTrue( "containsAll(subset) should return true", collection.containsAll(MinimalCollection.of(e0()))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
assertFalse( "A List should not equal another List containing different elements.", getList().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherListContainingNull() { List<E> other = new ArrayList<>(getSampleElements()); other.set(other.size() / 2, null); assertFalse(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java
// Then // Verify that the 'sam' field is set correctly assertEquals(mockSamArray, msrpc.sam, "The 'sam' field should be initialized with the provided SamrSamArray."); // Verify that the 'ptype' field is set to 0 assertEquals(0, msrpc.getPtype(), "The 'ptype' field should be initialized to 0."); // Verify that the 'flags' field is set to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
assertTrue(it.hasNext(), "Iterator should have first element"); assertSame(fe1, it.next(), "First element must match first page"); assertTrue(it.hasNext(), "Iterator should have second element"); assertSame(fe2, it.next(), "Second element must match first page"); // Next page fetched via fetchMore() assertTrue(it.hasNext(), "Iterator should have third element after fetchMore");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
NtlmChallenge nc = new NtlmChallenge(challenge, dc); String result = nc.toString(); // Should contain hex representation of 0-15 assertTrue(result.contains("0x")); assertTrue(result.contains("dc=LARGEDC")); // The hex string should be 32 chars long (16 bytes * 2) String hexPart = result.substring(result.indexOf("0x") + 2, result.indexOf(",dc="));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertSame(ndrBuffer.deferred, derivedBuffer.deferred); // Deferred should be the same as original // Ensure changes to derived buffer don't affect original's index/start derivedBuffer.advance(5); assertEquals(15, derivedBuffer.index); assertEquals(50, ndrBuffer.index); // Original index should be unchanged } @Test void testReset() { ndrBuffer.advance(100);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
Configuration cfg = Mockito.mock(Configuration.class); // Act Smb2LogoffResponse resp = new Smb2LogoffResponse(cfg); // Assert assertNotNull(resp, "Response instance should be created"); } @Nested @DisplayName("writeBytesWireFormat") class WriteBytesWireFormat { @ParameterizedTest @ValueSource(ints = { -10, -1, 0, 1, 42 })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.7K bytes - Viewed (0)