- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 2,154 for _shouldn (0.07 sec)
-
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
final Client result = fesenClient.filterWithHeader(headers); assertSame(fesenClient, result); // Should return this assertSame(mockNewClient, fesenClient.client); // Internal client should be updated verify(mockClient).filterWithHeader(headers); } /** * Test: deleteByQuery with new signature (without type parameter)Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:44:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
SmbPipeOutputStream out = newStream(); when(handle.isOpen()).thenReturn(state); // Act boolean result = out.isOpen(); // Assert assertEquals(state, result, "isOpen should reflect handle state"); verify(handle, times(1)).isOpen(); } @Test @DisplayName("ensureTreeConnected delegates and returns the tree handle")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
@MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testCompute_absentToPresent() { assertEquals( "Map.compute(absent, functionReturningValue) should return value", v3(), getMap() .compute( k3(), (k, v) -> { assertEquals(k3(), k); assertNull(v);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 7.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
@MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testCompute_absentToPresent() { assertEquals( "Map.compute(absent, functionReturningValue) should return value", v3(), getMap() .compute( k3(), (k, v) -> { assertEquals(k3(), k); assertNull(v);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java
// Verify that ptype and flags are set correctly using reflection try { java.lang.reflect.Field ptypeField = jcifs.dcerpc.DcerpcMessage.class.getDeclaredField("ptype"); ptypeField.setAccessible(true); assertEquals(0, ptypeField.get(msrpcSamrOpenAlias), "ptype should be initialized to 0");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlTest.java
} assertTrue("GET method should exist", hasGet); assertTrue("POST method should exist", hasPost); assertTrue("PUT method should exist", hasPut); assertTrue("DELETE method should exist", hasDelete); assertTrue("HEAD method should exist", hasHead); assertTrue("OPTIONS method should exist", hasOptions); assertTrue("TRACE method should exist", hasTrace);Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
byte[] data = "Hello, World!".getBytes(); ContentCache cache = new ContentCache(data); // Memory-based cache close should not throw exception cache.close(); // Should still be able to get input stream after close for memory cache try (InputStream stream = cache.getInputStream()) { assertNotNull(stream); } }
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
void testAs_Object_Failure() { // Test failed casting Object obj = 123; // Integer assertThrows(PACDecodingException.class, () -> { ASN1Util.as(String.class, obj); }, "Should throw PACDecodingException for incompatible types"); } // --- as(Class, Enumeration) --- @Test void testAs_Enumeration_Success() throws PACDecodingException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
assertErrorMessage( e, obj + " must not be Object#equals to an arbitrary object of another class"); return; } fail("Should get equal to incompatible class error"); } /** Test proper handling where an object is not equal to one the user has said should be equal */ public void testInvalidNotEqualsEqualObject() { equalsTester.addEqualityGroup(reference, notEqualObject1); try {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 13.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java
public void testOffer_supportedNotPresent() { assertTrue("offer(notPresent) should return true", getQueue().offer(e3())); expectAdded(e3()); } @CollectionFeature.Require({SUPPORTS_ADD, ALLOWS_NULL_VALUES}) public void testOffer_nullSupported() { assertTrue("offer(null) should return true", getQueue().offer(null)); expectAdded((E) null); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.3K bytes - Viewed (0)