Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 2,486 for test$ (0.02 seconds)

  1. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

         * @throws Exception
         */
        @Test
        public void testToDate_Null() throws Exception {
            assertThat(toDate(null), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_EmptyString() throws Exception {
            assertThat(toDate(""), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSizeTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code size()} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapSizeTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code size()} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link AbstractMultiset}.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     */
    @SuppressWarnings("serial") // No serialization is used in this test
    @GwtCompatible
    @NullMarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

      }
    
      @Test fun setInstant() {
        val expected = Instant.ofEpochMilli(1000L)
        val headers =
          Headers
            .Builder()
            .add("Test-Instant", Instant.ofEpochMilli(0L))
            .set("Test-Instant", expected)
            .build()
        assertThat(headers["Test-Instant"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT")
        assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected)
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            tags = PrunedTag.parse("a#test-a");
            assertEquals(1, tags.length);
            assertEquals("PrunedTag [tag=a, id=test-a, css=null, attrName=null, attrValue=null]", tags[0].toString());
    
            tags = PrunedTag.parse("a.test-a");
            assertEquals(1, tags.length);
            assertEquals("PrunedTag [tag=a, id=null, css=test-a, attrName=null, attrValue=null]", tags[0].toString());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        }
      }
    
      @Test
      fun failOnBadResponse() {
        server.enqueue(dnsResponse("00"))
        try {
          dns.lookup("google.com")
          fail<Any>()
        } catch (ioe: IOException) {
          assertThat(ioe).hasMessage("google.com")
          assertThat(ioe.cause!!).isInstanceOf<EOFException>()
        }
      }
    
      // TODO GET preferred order - with tests to confirm this
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.io.TempDir
    
    class RequestBodyTest {
      private lateinit var filePath: okio.Path
    
      @BeforeEach
      fun setup(
        @TempDir tempDir: Path,
      ) {
        filePath = tempDir.toOkioPath() / "file.txt"
      }
    
      @Test
      fun testFileDescriptor() {
        assertOnFileDescriptor { fd ->
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 3.8K bytes
    - Click Count (1)
  9. src/test/java/org/codelibs/fess/it/admin/StatsTests.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    
    import io.restassured.path.json.JsonPath;
    
    /**
     * Integration Tests for /api/admin/stats
     */
    @Tag("it")
    public class StatsTests extends CrudTestBase {
        private static final Logger logger = LogManager.getLogger(StatsTests.class);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        // Test #keys()
        assertMultisetIsUnmodifiable(multimap.keys(), sampleKey);
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Test #keySet()
        assertSetIsUnmodifiable(multimap.keySet(), sampleKey);
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Test #get()
        if (!multimap.isEmpty()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.9K bytes
    - Click Count (0)
Back to Top