- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 3,084 for shouldn (0.04 sec)
-
src/test/java/jcifs/smb/BufferCacheImplTest.java
byte[] first = impl.getBuffer(); // should return slot 0 -> a byte[] second = impl.getBuffer(); // then slot 1 -> c byte[] third = impl.getBuffer(); // cache empty -> new with size 3 assertSame(a, first, "First get should return first cached buffer"); assertSame(c, second, "Second get should return second cached buffer"); assertNotSame(d, third, "Third get should allocate a new buffer (not the dropped one)");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
long decoded = Encdec.dec_uint64le(buffer, 0); // Then assertEquals(currentDate.getTime(), decoded, "Encoded and decoded time should match"); } @Test @DisplayName("Should encode and decode UUIDs") void testUUIDOperations() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
class ConstructorTests { @Test @DisplayName("Should create response with configuration") void testConstructor() { Smb2EchoResponse response = new Smb2EchoResponse(mockConfig); assertNotNull(response); assertEquals(mockConfig, response.getConfig()); } @Test @DisplayName("Should extend ServerMessageBlock2Response") void testInheritance() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosConstantsTest.java
assertEquals("5", KerberosConstants.KERBEROS_VERSION, "KERBEROS_VERSION should have the correct value."); assertEquals(23, KerberosConstants.RC4_ENC_TYPE, "RC4_ENC_TYPE should have the correct value."); assertEquals("HmacMD5", KerberosConstants.HMAC_ALGORITHM, "HMAC_ALGORITHM should have the correct value."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.1K bytes - Viewed (0) -
cmd/xl-storage_test.go
} } } func TestXLStorageIsDirEmpty(t *testing.T) { tmp := t.TempDir() // Should give false on non-existent directory. dir1 := slashpath.Join(tmp, "non-existent-directory") if isDirEmpty(dir1, true) { t.Error("expected false for non-existent directory, got true") } // Should give false for not-a-directory. dir2 := slashpath.Join(tmp, "file") err := os.WriteFile(dir2, []byte("hello"), 0o777)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 66K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/UnicodeString.java
* @param zterm * whether the string should be zero terminated */ public UnicodeString(final boolean zterm) { this.zterm = zterm; } /** * Constructs a UnicodeString by wrapping an existing unicode_string. * * @param rus * wrapped string * @param zterm * whether the string should be zero terminated */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
// Should match with same values assertTrue(fileInfo.matches(1024L, 1000L, 0x20)); // Should not match with different size assertFalse(fileInfo.matches(2048L, 1000L, 0x20)); // Should not match with different last modified assertFalse(fileInfo.matches(1024L, 2000L, 0x20)); // Should not match with different attributes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
assertEquals("Should be able to peek() at first element", "A", peekingIterator.peek()); assertEquals( "Should be able to peek() first element multiple times", "A", peekingIterator.peek()); assertEquals( "next() should still return first element after peeking", "A", peekingIterator.next()); assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0) -
tests/joins_test.go
t.Fatalf("joins NamedPet and Account should not empty:%v", user1) } // Account should empty DB.Delete(&user1.Account) var user2 User DB.Model(&User{}).Joins("NamedPet").Joins("Account").First(&user2, user.ID) if user2.NamedPet == nil || user2.Account.ID != 0 { t.Fatalf("joins Account should not empty:%v", user2) } // NamedPet should empty DB.Delete(&user1.NamedPet)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 15K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComBlankResponseTest.java
/** * Test for the writeParameterWordsWireFormat method. * It should always return 0. */ @Test void testWriteParameterWordsWireFormat() { assertEquals(0, response.writeParameterWordsWireFormat(buffer, 0), "writeParameterWordsWireFormat should return 0"); } /** * Test for the writeBytesWireFormat method. * It should always return 0. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0)