- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 3,508 for should (0.03 sec)
-
src/test/java/jcifs/dcerpc/UUIDTest.java
assertEquals(TIME_LOW, uuid.time_low, "time_low should match"); assertEquals(TIME_MID, uuid.time_mid, "time_mid should match"); assertEquals(TIME_HI_AND_VERSION, uuid.time_hi_and_version, "time_hi_and_version should match"); assertEquals(CLOCK_SEQ_HI_AND_RESERVED, uuid.clock_seq_hi_and_reserved, "clock_seq_hi_and_reserved should match");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
tests/transaction_test.go
t.Fatalf("Should find saved record") } return nil }); err != nil { t.Fatalf("no error should return, but got %v", err) } if err := DB.First(&User{}, "name = ?", user.Name).Error; err != nil { t.Fatalf("Should find saved record") } if err := DB.First(&User{}, "name = ?", user1.Name).Error; err == nil { t.Fatalf("Should not find rollbacked record") }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 13.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
@Test @DisplayName("Should create with configuration only") void testConstructorWithConfig() { ServerMessageBlock2 msg = new TestServerMessageBlock2(mockConfig); assertNotNull(msg); assertEquals(mockConfig, msg.getConfig()); assertEquals(0, msg.getCommand()); } @Test @DisplayName("Should create with configuration and command")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
assertEquals(smbComNtTransaction.parameterOffset, SmbComTransaction.readInt4(dst, 23), "parameterOffset should be written correctly"); assertEquals(smbComNtTransaction.dataCount, SmbComTransaction.readInt4(dst, 27), "dataCount should be written correctly"); assertEquals(smbComNtTransaction.dataOffset, SmbComTransaction.readInt4(dst, 31), "dataOffset should be written correctly");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
assertNotNull(password, "Password char array should not be null"); assertArrayEquals(testPassword.toCharArray(), password, "Password should match"); // Verify it returns a clone, not the original password[0] = 'X'; char[] password2 = authenticator.getPasswordAsCharArray(); assertNotEquals(password[0], password2[0], "Should return a clone, not the original"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
@DisplayName("MonotonicClock singleton instance should always return the same instance") void testSingletonInstance() { MonotonicClock clock1 = MonotonicClock.get(); MonotonicClock clock2 = MonotonicClock.get(); assertSame(clock1, clock2, "Multiple calls to get() should return the same instance"); } @Test @DisplayName("MonotonicClock should always use UTC timezone") void testClockTimezone() {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
assertTrue(iterator.hasNext(), "Should have first element"); SmbResource first = iterator.next(); assertNotNull(first, "First element should not be null"); assertEquals("file1.txt", first.getName()); assertTrue(iterator.hasNext(), "Should have second element"); SmbResource second = iterator.next(); assertNotNull(second, "Second element should not be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
class InterfaceConstantsTests { @Test @DisplayName("Should have correct SMB_INFO_ALLOCATION constant value") void testSmbInfoAllocationConstant() { assertEquals((byte) -1, FileSystemInformation.SMB_INFO_ALLOCATION); } @Test @DisplayName("Should have correct FS_SIZE_INFO constant value") void testFsSizeInfoConstant() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
// Assert assertNotNull(blob.get(), "get() should never return null for default instance"); assertEquals(0, blob.get().length, "Internal array should be empty"); assertEquals(0, blob.length(), "length() should be 0 for empty"); assertEquals("", blob.toString(), "toString() of empty should be empty string"); assertTrue(blob.equals(blob), "Object should be equal to itself");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
assertNull(ex.getMessage(), "Default ctor should not set a message"); assertNull(ex.getCause(), "Default ctor should not set a cause"); assertTrue(ex instanceof SmbException, "Should be an SmbException subtype"); // SmbException default ctor leaves status 0, which equals NT_STATUS_SUCCESS assertEquals(NtStatus.NT_STATUS_SUCCESS, ex.getNtStatus(), "Default status should be success (0)"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0)