- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,130 for contains (0.13 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
public void testContains_yes() { assertTrue("contains(present) should return true", collection.contains(e0())); } public void testContains_no() { assertFalse("contains(notPresent) should return false", collection.contains(e3())); } @CollectionFeature.Require(ALLOWS_NULL_QUERIES) public void testContains_nullNotContainedButQueriesSupported() { assertFalse("contains(null) should return false", collection.contains(null));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
// Then assertTrue(exception.getMessage().toLowerCase().contains("sharing") || exception.getMessage().toLowerCase().contains("violation") || exception.getMessage().toLowerCase().contains("used") || exception.getMessage().toLowerCase().contains("being used") || exception.getMessage().toLowerCase().contains("process")); } @Test @DisplayName("Should handle DOS error codes")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
public void testContains_yes() { assertTrue("contains(present) should return true", collection.contains(e0())); } public void testContains_no() { assertFalse("contains(notPresent) should return false", collection.contains(e3())); } @CollectionFeature.Require(ALLOWS_NULL_QUERIES) public void testContains_nullNotContainedButQueriesSupported() { assertFalse("contains(null) should return false", collection.contains(null));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/LruHashSet.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 3.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/PingResponseTest.java
assertTrue(mockConfig.getApiPingEsFieldSet().contains("active_shards")); assertTrue(mockConfig.getApiPingEsFieldSet().contains("relocating_shards")); assertTrue(mockConfig.getApiPingEsFieldSet().contains("initializing_shards")); assertTrue(mockConfig.getApiPingEsFieldSet().contains("unassigned_shards")); assertTrue(mockConfig.getApiPingEsFieldSet().contains("delayed_unassigned_shards"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 7.7K bytes - Click Count (0) -
container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt
import org.mockserver.proxyconfiguration.ProxyConfiguration import org.mockserver.socket.tls.KeyStoreFactory import org.testcontainers.containers.MockServerContainer import org.testcontainers.junit.jupiter.Container import org.testcontainers.junit.jupiter.Testcontainers @Testcontainers class BasicProxyTest { @Container val mockServer: MockServerContainer = MockServerContainer(MOCKSERVER_IMAGE) .withNetworkAliases("mockserver")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.2K bytes - Click Count (1) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java
assertTrue( "multiset.entrySet.remove(presentEntry) returned false", getMultiset().entrySet().remove(Multisets.immutableEntry(e0(), 1))); assertFalse("multiset contains element after removing its entry", getMultiset().contains(e0())); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(SUPPORTS_REMOVE) public void testEntrySet_removeAbsent() { assertFalse(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 9.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/outside/DeepInterfaceTest.java
} public void testAnnotatedIn1() { assertThat(getSubscriber().annotatedIn1Events).contains(EVENT); } public void testAnnotatedIn2() { assertThat(getSubscriber().annotatedIn2Events).contains(EVENT); } public void testAnnotatedIn1And2() { assertThat(getSubscriber().annotatedIn1And2Events).contains(EVENT); } public void testAnnotatedIn1And2AndClass() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java
assertEquals(servletException, runtimeException.getCause()); // Verify that the message is preserved from the cause assertTrue(runtimeException.getMessage().contains(ServletException.class.getName())); assertTrue(runtimeException.getMessage().contains(errorMessage)); } @Test public void test_constructor_withServletExceptionWithCause() { // Create a root cause exception
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableAsList.java
* backing collection. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible @SuppressWarnings("serial") abstract class ImmutableAsList<E> extends ImmutableList<E> { abstract ImmutableCollection<E> delegateCollection(); @Override public boolean contains(@Nullable Object target) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 2.5K bytes - Click Count (0)