- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 2,989 for Shouldn (0.04 sec)
-
src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java
assertNotNull("Allow-Origin header should be set", responseHeaders.get("Access-Control-Allow-Origin")); assertNotNull("Allow-Methods header should be set", responseHeaders.get("Access-Control-Allow-Methods")); assertNotNull("Allow-Headers header should be set", responseHeaders.get("Access-Control-Allow-Headers")); assertNotNull("Max-Age header should be set", responseHeaders.get("Access-Control-Max-Age"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
// First call (odd) should succeed String result1 = aggregateLogJob.execute(); assertEquals("", result1); // Second call (even) should fail String result2 = aggregateLogJob.execute(); assertTrue(result2.contains("Even call error")); // Third call (odd) should succeed String result3 = aggregateLogJob.execute();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
assertNull( "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3())); expectAdded(e3()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_supportedPresent() { assertEquals( "putIfAbsent(present, value) should return existing value", v0(), getMap().putIfAbsent(k0(), v3()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java
AvChannelBindings avChannelBindings = new AvChannelBindings(testHash); assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings"); assertArrayEquals(testHash, avChannelBindings.getRaw(), "Value should match the provided hash"); } /** * Test that the constructor handles a null channel binding hash. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
assertNotNull(chunk); } @ParameterizedTest @DisplayName("Should create instance with various offset values") @CsvSource({ "0, 0, 1024", "1024, 2048, 4096", "9223372036854775807, 9223372036854775807, 2147483647", // Max long values "-1, -1, -1", // Negative values (should still create instance) "0, 9223372036854775807, 0" // Edge cases })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeResourceTest.java
assertEquals(SmbConstants.O_RDONLY, SmbPipeResource.PIPE_TYPE_RDONLY, "PIPE_TYPE_RDONLY should match SmbConstants.O_RDONLY"); } /** * Test if the PIPE_TYPE_WRONLY constant has the correct value. */ @Test void testPipeTypeWronly() { assertEquals(SmbConstants.O_WRONLY, SmbPipeResource.PIPE_TYPE_WRONLY, "PIPE_TYPE_WRONLY should match SmbConstants.O_WRONLY"); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
tests/scopes_test.go
if len(users1) != 2 { t.Errorf("Should found two users's name in 1, 2, but got %v", len(users1)) } DB.Scopes(NameIn1And2, NameIn2And3).Find(&users2) if len(users2) != 1 { t.Errorf("Should found one user's name is 2, but got %v", len(users2)) } DB.Scopes(NameIn([]string{users[0].Name, users[2].Name})).Find(&users3) if len(users3) != 2 { t.Errorf("Should found two users's name in 1, 3, but got %v", len(users3))
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
// Check if fields were added (they should be added by the store method) assertNotNull("ID should be set", dataMap.get("id")); assertNotNull("Doc ID should be set", dataMap.get("doc_id")); assertNotNull("Click count should be set", dataMap.get("click_count")); assertNotNull("Favorite count should be set", dataMap.get("favorite_count"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/CIFSExceptionTest.java
} @Test @DisplayName("Should handle null message") void testNullMessage() { // When/Then assertDoesNotThrow(() -> { CIFSException exception = new CIFSException((String) null); assertNotNull(exception); }); } @Test @DisplayName("Should handle null cause") void testNullCause() { // When/Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/CredentialsTest.java
*/ @DisplayName("Credentials Interface Tests") class CredentialsTest extends BaseTest { @Mock private Credentials mockCredentials; @Test @DisplayName("Should define interface methods") void testCredentialsInterface() { // Verify interface methods exist assertDoesNotThrow(() -> { mockCredentials.unwrap(Credentials.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0)