Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for equialgo (0.2 sec)

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

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.it.admin;
    
    import static org.hamcrest.Matchers.equalTo;
    
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.Tag;
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FluentIterableTest.java

        FluentIterable<String> iterable = FluentIterable.from(Lists.newArrayList("cool", "pants"));
        assertThat(iterable.firstMatch(Predicates.equalTo("cool"))).hasValue("cool");
        assertThat(iterable.firstMatch(Predicates.equalTo("pants"))).hasValue("pants");
        assertThat(iterable.firstMatch(Predicates.alwaysFalse())).isAbsent();
        assertThat(iterable.firstMatch(Predicates.alwaysTrue())).hasValue("cool");
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            map = null;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSize() throws Exception {
            assertThat(map.size(), equalTo(3));
            map.put("3", "test3");
            assertThat(map.size(), equalTo(4));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsEmpty() throws Exception {
            assertThat(map.isEmpty(), is(not(true)));
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                        multimap.put("foo", 16);
                        multimap =
                            Multimaps.filterKeys(multimap, Predicates.not(Predicates.equalTo("foo")));
                        return Multimaps.filterKeys(
                            multimap, Predicates.not(Predicates.equalTo("bar")));
                      }
                    })
                .named("Multimaps.filterKeys[Multimaps.filterKeys[ListMultimap], Predicate]")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals("cool", Iterators.find(iterator, Predicates.equalTo("cool")));
        assertEquals("pants", iterator.next());
      }
    
      public void testFind_lastElement() {
        Iterable<String> list = Lists.newArrayList("cool", "pants");
        Iterator<String> iterator = list.iterator();
        assertEquals("pants", Iterators.find(iterator, Predicates.equalTo("pants")));
        assertFalse(iterator.hasNext());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    static <T> Matcher<T> is(T value) A shortcut to the frequently used is(equalTo(x)). For example: assertThat(cheese, is(smelly)) instead of: assertThat(cheese, is(equalTo(smelly))) is public static <T> Matcher<T> is(Matcher<T> matcher) Decorates another Matcher, retaining its behaviour, but allowing tests to be slightly more expressive. For example: assertThat(cheese, is(equalTo(smelly))) instead of: assertThat(cheese, equalTo(smelly)) is public static <T> Matcher<T> is(java.lang.Class<T> type) Deprecated....
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 236.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        FluentIterable<String> iterable = FluentIterable.from(Lists.newArrayList("cool", "pants"));
        assertThat(iterable.firstMatch(Predicates.equalTo("cool"))).hasValue("cool");
        assertThat(iterable.firstMatch(Predicates.equalTo("pants"))).hasValue("pants");
        assertThat(iterable.firstMatch(Predicates.alwaysFalse())).isAbsent();
        assertThat(iterable.firstMatch(Predicates.alwaysTrue())).hasValue("cool");
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

        assertThat(findClassesToTest(ImmutableList.of(PublicFoo.class))).contains(PublicFoo.class);
      }
    
      public void testFindClassesToTest_ignoreClasses() {
        sanityTests.ignoreClasses(Predicates.<Object>equalTo(PublicFoo.class));
        assertThat(findClassesToTest(ImmutableList.of(PublicFoo.class))).isEmpty();
        assertThat(findClassesToTest(ImmutableList.of(Foo.class))).contains(Foo.class);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

        assertThat(findClassesToTest(ImmutableList.of(PublicFoo.class))).contains(PublicFoo.class);
      }
    
      public void testFindClassesToTest_ignoreClasses() {
        sanityTests.ignoreClasses(Predicates.<Object>equalTo(PublicFoo.class));
        assertThat(findClassesToTest(ImmutableList.of(PublicFoo.class))).isEmpty();
        assertThat(findClassesToTest(ImmutableList.of(Foo.class))).contains(Foo.class);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                        multimap.put("foo", 16);
                        multimap =
                            Multimaps.filterKeys(multimap, Predicates.not(Predicates.equalTo("foo")));
                        return Multimaps.filterKeys(
                            multimap, Predicates.not(Predicates.equalTo("bar")));
                      }
                    })
                .named("Multimaps.filterKeys[Multimaps.filterKeys[ListMultimap], Predicate]")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 29.7K bytes
    - Viewed (0)
Back to top