- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 2,907 for _shouldn (0.09 sec)
-
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
class GetterMethodsTests { @Test @DisplayName("getCloseFlags should return initial value of 0") void testGetCloseFlags() { assertEquals(0, response.getCloseFlags()); } @Test @DisplayName("getCreationTime should return initial value of 0") void testGetCreationTime() { assertEquals(0, response.getCreationTime());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.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/smb/SmbCopyUtilTest.java
int attrs = SmbConstants.ATTR_NORMAL; // Act SmbFileHandleImpl result = SmbCopyUtil.openCopyTargetFile(dest, attrs, alsoRead); // Assert assertSame(handle, result, "Should return handle from dest.openUnshared"); ArgumentCaptor<Integer> accessCaptor = ArgumentCaptor.forClass(Integer.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
caughtSpecific = true; } catch (RuntimeException e) { caughtRuntime = true; } assertTrue("Should have caught DictionaryExpiredException", caughtSpecific); assertFalse("Should not have caught as RuntimeException", caughtRuntime); } public void test_rethrow() { // Test rethrowing the exception
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java
assertEquals(testMessage, exception.getMessage(), "The exception message should match the input message."); } /** * Test the NO_NULL_REF static field. * Ensures that the static field holds the expected string value. */ @Test void testNoNullRefConstant() { assertNotNull(NdrException.NO_NULL_REF, "NO_NULL_REF constant should not be null.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
// Verify customData part (should be truncated) byte[] expectedCustomData = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; byte[] actualCustomData = new byte[8]; System.arraycopy(value, 8, actualCustomData, 0, 8); assertArrayEquals(expectedCustomData, actualCustomData); // Verify machineId part (should be truncated) byte[] expectedMachineId = new byte[32];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K 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/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)