- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 3,008 for SHOULD (0.05 sec)
-
src/test/java/jcifs/util/transport/RequestTest.java
assertTrue(mockRequest.isCancel(), "isCancel should return true when mocked to do so."); verify(mockRequest, times(1)).isCancel(); } @Test void testIsCancelFalse() { // Test case for isCancel method when it returns false when(mockRequest.isCancel()).thenReturn(false); assertFalse(mockRequest.isCancel(), "isCancel should return false when mocked to do so.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
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"); assertNull(message.getTargetInformation(), "Target information should be null when no target is set"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
tests/postgres_test.go
if err := DB.Create(&yasuo).Error; err != nil { t.Fatalf("should be able to create data, but got %v", err) } if yasuo.ID == "" { t.Fatal("should be able to has ID, but got zero value") } var result Yasuo if err := DB.First(&result, "id = ?", yasuo.ID).Error; err != nil || yasuo.Name != "jinzhu" { t.Errorf("No error should happen, but got %v", err) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sat Oct 08 09:16:32 UTC 2022 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
} @Test @DisplayName("Should preserve stack trace information") void testStackTracePreservation() { // When SmbException exception = new SmbException("Test exception"); // Then assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Should contain this test method in stack trace
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/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java
assertNotNull("Mapping option should not be null", mappingOption); OptionalThing<JsonFieldNaming> fieldNamingOpt = mappingOption.getFieldNaming(); assertTrue("Field naming should be present", fieldNamingOpt.isPresent()); assertEquals("Field naming should be CAMEL_TO_LOWER_SNAKE", JsonFieldNaming.CAMEL_TO_LOWER_SNAKE, fieldNamingOpt.get()); } public void test_instanceCreation() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
import jcifs.CIFSException; class NbtExceptionTest { /** * Test the constructor of NbtException. * It should correctly set errorClass and errorCode, and the message should be derived from getErrorString. */ @Test @DisplayName("NbtException constructor should correctly set error class, error code, and message") void testConstructor() { int errorClass = NbtException.ERR_NAM_SRVC;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
assertEquals(64, newHash.length); // SHA-512 produces 64 bytes assertNotEquals(oldHash, newHash); // Should be different instance } /** * Test pre-auth integrity with non-SMB3.1.1 should throw exception */ @Test @DisplayName("Pre-auth integrity should fail with non-SMB3.1.1") void testPreauthWithNonSmb311() throws Exception { // Setup SMB3.0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSidAttributesTest.java
// Verify that the id and attributes are correctly set by the constructor assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor."); assertEquals(attributes, pacSidAttributes.getAttributes(), "The attributes should match the ones provided in the constructor."); } /** * Test method for {@link jcifs.pac.PacSidAttributes#getId()}. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
@Nullable Strength keyStrength; @Nullable Strength valueStrength; @SuppressWarnings("GoodTime") // should be a Duration long expireAfterWriteNanos = UNSET_INT; @SuppressWarnings("GoodTime") // should be a Duration long expireAfterAccessNanos = UNSET_INT; @SuppressWarnings("GoodTime") // should be a Duration long refreshNanos = UNSET_INT; @Nullable Equivalence<Object> keyEquivalence;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
class InterfaceImplementationTests { @Test @DisplayName("Should implement AllocInfo interface") void shouldImplementAllocInfo() { assertTrue(AllocInfo.class.isAssignableFrom(FileFsFullSizeInformation.class)); } @Test @DisplayName("Should implement FileSystemInformation interface") void shouldImplementFileSystemInformation() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0)