Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for equialgo (0.2 sec)

  1. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.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 static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/EventListenerTest.kt

          "Hello".toRequestBody("text/plain".toMediaType()),
          CoreMatchers.equalTo(5L),
          CoreMatchers.equalTo(19L),
        )
      }
    
      @Test
      fun requestBodySuccessHttp() {
        requestBodySuccess(
          "Hello".toRequestBody("text/plain".toMediaType()),
          CoreMatchers.equalTo(5L),
          CoreMatchers.equalTo(19L),
        )
      }
    
      @Test
      fun requestBodySuccessStreaming() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.message;
    
    import static org.hamcrest.CoreMatchers.equalTo;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.junit.Assert.assertThat;
    
    import java.util.Locale;
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java

         *
         */
        @Test
        public void testNext() {
            final ArrayIterator<String> itr = new ArrayIterator<String>("a", "b", "c");
            assertThat(itr.next(), equalTo("a"));
            assertThat(itr.next(), equalTo("b"));
            assertThat(itr.next(), equalTo("c"));
        }
    
        /**
         *
         */
        @Test
        public void testNoSuchElement() {
            exception.expect(NoSuchElementException.class);
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. 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>>) {
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/SearchListTests.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.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

        protected static void createJob(final Map<String, Object> requestBody) {
            checkMethodBase(requestBody).put("/api/admin/scheduler/setting").then().body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
        protected static void startJob(final String namePrefix) {
            for (int i = 0; i < 30; i++) {
                final Map<String, Object> requestBody = new HashMap<>();
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  8. 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 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(1, Iterables.indexOf(list, Predicates.equalTo("bob")));
        assertEquals(-1, Iterables.indexOf(list, Predicates.equalTo("jack")));
      }
    
      public void testIndexOf_withDuplicates() {
        List<String> list = Lists.newArrayList("mary", "bob", "bob", "bob", "sam");
        assertEquals(0, Iterables.indexOf(list, Predicates.equalTo("mary")));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    that are equal to each other (according to the above rules) <b>in the same * indexes</b>.</p> * <p/> * For example: * <pre> * assertThat("foo", equalTo("foo")); * assertThat(new String[] {"foo", "bar"}, equalTo(new String[] {"foo", "bar"})); * </pre> */ public static <T> org.hamcrest.Matcher<T> equalTo(T operand) { return org.hamcrest.core.IsEqual.<T>equalTo(operand); } /** * Creates a matcher that matches when the examined object is an instance of the specified <code>type</code>, * as determined by...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
Back to top