- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 2,154 for _shouldn (0.04 sec)
-
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 traceRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/https/HandlerTest.java
class ConstructorTests { @Test @DisplayName("Should create handler with null context") void testConstructorWithNullContext() { // When Handler testHandler = new Handler(null); // Then assertNotNull(testHandler); } @Test @DisplayName("Should extend jcifs.http.Handler") void testInheritance() { // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
// Should still not be expired assertFalse(auth.isExpired()); // Wait for original TTL to pass Thread.sleep(600); // Should still not be expired because we reset assertFalse(auth.isExpired()); // Wait for the full TTL since reset Thread.sleep(500); // Now it should be expired assertTrue(auth.isExpired());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testComputeIfAbsent_supportedAbsent() { assertEquals( "computeIfAbsent(notPresent, function) should return new value", v3(), getMap() .computeIfAbsent( k3(), k -> { assertEquals(k3(), k); return v3();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java
// Test the constructor with no arguments RequestTimeoutException exception = new RequestTimeoutException(); assertNull(exception.getMessage(), "Message should be null for no-arg constructor"); assertNull(exception.getCause(), "Cause should be null for no-arg constructor"); } @Test void testMessageConstructor() { // Test the constructor with a message argumentRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
assertNotNull(authorizations, "The authorizations list should not be null."); assertEquals(2, authorizations.size(), "The authorizations list should contain two elements."); assertTrue(authorizations.contains(mockAuthData1), "The list should contain the first mocked auth data."); assertTrue(authorizations.contains(mockAuthData2), "The list should contain the second mocked auth data."); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
@Test public void testGetAttributes() { // Initially, attributes should be 0. assertEquals(0, response.getAttributes()); } /** * Test of getCreateTime method, of class SmbComQueryInformationResponse. */ @Test public void testGetCreateTime() { // Initially, lastWriteTime is 0, so createTime should be just the offset. assertEquals(serverTimeZoneOffset, response.getCreateTime());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
@Test @DisplayName("Should create SpnegoException with default constructor") void testDefaultConstructor() { // When SpnegoException ex = new SpnegoException(); // Then assertNotNull(ex, "Exception should be created"); assertNull(ex.getMessage(), "Default message should be null"); assertNull(ex.getCause(), "Default cause should be null");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
String sessionId = "test-session-001"; urlFilter.init(sessionId); // Initialization should complete without errors assertNotNull(urlFilter); } /** * Test initialization with null session ID */ public void test_init_withNullSessionId() { urlFilter.init(null); // Should handle null session ID gracefully assertNotNull(urlFilter); } /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0)