- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 2,907 for Shouldn (0.03 sec)
-
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
@Test @DisplayName("DOS_ERROR_CODES is non‑null and non‑empty") void testCodesArrayExistence() { assertNotNull(DosError.DOS_ERROR_CODES, "DOS_ERROR_CODES should be non‑null"); assertTrue(DosError.DOS_ERROR_CODES.length > 0, "DOS_ERROR_CODES should contain at least one mapping"); } @Test @DisplayName("Each error code mapping contains exactly two ints") void testEachPairLength() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairTest.java
assertNull(avPair3.getRaw(), "Raw data should be null if constructor argument was null."); } @Test void testConstants() { assertEquals(0x0, AvPair.MsvAvEOL, "MsvAvEOL constant should be 0x0."); assertEquals(0x6, AvPair.MsvAvFlags, "MsvAvFlags constant should be 0x6.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
@Test @DisplayName("Should implement FileSystemInformation interface") void shouldImplementFileSystemInformation() { // Verify that AllocInfo extends FileSystemInformation assertTrue(FileSystemInformation.class.isAssignableFrom(AllocInfo.class)); } @Test @DisplayName("Should implement Decodable interface through FileSystemInformation")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
} @Test @DisplayName("Should return the credentials provided in the constructor") void testGetCredentials() { assertEquals(mockCredentials, wrapper.getCredentials(), "getCredentials should return the initially set credentials"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbFileHandleTest.java
assertEquals(smbTreeHandle, result, "getTree should return the mocked SmbTreeHandle."); verify(smbFileHandle, times(1)).getTree(); } /** * Test isValid() when the handle is valid. */ @Test void testIsValid_whenValid() { when(smbFileHandle.isValid()).thenReturn(true); assertTrue(smbFileHandle.isValid(), "isValid should return true when the handle is valid.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
assertFalse( "removeAll(emptyCollection) should return false", collection.removeAll(MinimalCollection.of())); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemoveAll_nonePresent() { assertFalse( "removeAll(disjointCollection) should return false", collection.removeAll(MinimalCollection.of(e3()))); expectUnchanged();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
NdrShort ns = new NdrShort(original); buf.reset(); ns.encode(buf); // should not throw // After encoding, check how many bytes were used int bytesUsed = buf.getIndex(); // Should be 2 bytes for the short value (alignment may add padding) assertTrue(bytesUsed >= 2, "Should use at least 2 bytes for short"); // Reset index to read back buf.reset();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
getMethodName() + "(firstElement) should return 0", 0, find(getOrderedElements().get(0))); } public void testFind_no() { assertEquals(getMethodName() + "(notPresent) should return -1", -1, find(e3())); } @CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testFind_nullNotContainedButSupported() { assertEquals(getMethodName() + "(nullNotPresent) should return -1", -1, find(null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
assertTrue("contains(present) should return true", collection.contains(e0())); } public void testContains_no() { assertFalse("contains(notPresent) should return false", collection.contains(e3())); } @CollectionFeature.Require(ALLOWS_NULL_QUERIES) public void testContains_nullNotContainedButQueriesSupported() { assertFalse("contains(null) should return false", collection.contains(null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
@Test @DisplayName("Should construct with config only") void testConstructorWithConfig() { TestServerMessageBlock2Response resp = new TestServerMessageBlock2Response(mockConfig); assertNotNull(resp); assertSame(mockConfig, resp.getConfig()); } @Test @DisplayName("Should construct with config and command")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0)