Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 773 for equalTo (0.16 sec)

  1. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

        }
    
        @Test
        void testAvailable_ok() {
            checkGetMethod(Collections.emptyMap(), getAvailableEndpointSuffix() + "/").then().body("response.status", equalTo(0));
        }
    
        @Test
        void testInstall_ng() {
            checkPutMethod(Collections.emptyMap(), getInstallEndpointSuffix()).then().body("response.status", equalTo(1));
        }
    
        @Test
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 01 02:20:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(0, Iterables.indexOf(list, equalTo("mary")));
        assertEquals(1, Iterables.indexOf(list, equalTo("bob")));
        assertEquals(-1, Iterables.indexOf(list, equalTo("jack")));
      }
    
      public void testIndexOf_withDuplicates() {
        List<String> list = Lists.newArrayList("mary", "bob", "bob", "bob", "sam");
        assertEquals(0, Iterables.indexOf(list, equalTo("mary")));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            }
    
            fun assertHasAccepted(vararg accepted: String) {
                assertThat("Has accepted", richReport.accepted.map { it.message }, CoreMatchers.equalTo(accepted.toList()))
            }
    
            fun assertHasAccepted(vararg accepted: Pair<String, List<String>>) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

            Iterators.removeIf(
                list.iterator(),
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
                    return s.equals("b") || s.equals("d") || s.equals("f");
                  }
                }));
        assertEquals(newArrayList("a", "c", "e"), list);
        assertFalse(
            Iterators.removeIf(
                list.iterator(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                        multimap.put("foo", 17);
                        multimap.put("bar", 32);
                        multimap.put("foo", 16);
                        multimap = filterKeys(multimap, not(equalTo("foo")));
                        return filterKeys(multimap, not(equalTo("bar")));
                      }
                    })
                .named("Multimaps.filterKeys[Multimaps.filterKeys[ListMultimap], Predicate]")
                .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

            Iterators.removeIf(
                list.iterator(),
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
                    return s.equals("b") || s.equals("d") || s.equals("f");
                  }
                }));
        assertEquals(newArrayList("a", "c", "e"), list);
        assertFalse(
            Iterators.removeIf(
                list.iterator(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                        multimap.put("foo", 17);
                        multimap.put("bar", 32);
                        multimap.put("foo", 16);
                        multimap = filterKeys(multimap, not(equalTo("foo")));
                        return filterKeys(multimap, not(equalTo("bar")));
                      }
                    })
                .named("Multimaps.filterKeys[Multimaps.filterKeys[ListMultimap], Predicate]")
                .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertThat(iterable.firstMatch(equalTo("cool"))).hasValue("cool");
        assertThat(iterable.firstMatch(equalTo("pants"))).hasValue("pants");
        assertThat(iterable.firstMatch(Predicates.alwaysFalse())).isAbsent();
        assertThat(iterable.firstMatch(Predicates.alwaysTrue())).hasValue("cool");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

    import static java.util.Arrays.asList;
    import static org.apache.maven.cli.MavenCli.performProfileActivation;
    import static org.apache.maven.cli.MavenCli.performProjectActivation;
    import static org.hamcrest.CoreMatchers.equalTo;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.hamcrest.MatcherAssert.assertThat;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.base.Predicates.equalTo;
    import static com.google.common.base.Predicates.in;
    import static com.google.common.base.Predicates.instanceOf;
    import static com.google.common.base.Predicates.not;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top