Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 1,048 for best (0.04 sec)

  1. src/test/java/org/codelibs/core/collection/MapsTest.java

    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import java.util.Map;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class MapsTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$();
            assertThat(map.size(), is(3));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/platform/Jdk8WithJettyBootPlatformTest.kt

    import org.junit.jupiter.api.Assumptions.assumeFalse
    import org.junit.jupiter.api.Assumptions.assumeTrue
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class Jdk8WithJettyBootPlatformTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @Test
      fun testBuildsWithJettyBoot() {
        assumeTrue(System.getProperty("java.specification.version") == "1.8")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/main/resources/fess_env_web.properties

    mail.send.mock = false
    
    # SMTP server settings for main: host:port
    mail.smtp.server.main.host.and.port = localhost:25
    
    # The prefix of subject to show test environment or not
    mail.subject.test.prefix = 
    
    # The common return path of all mail
    mail.return.path = root@localhost
    
    # ========================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        setDelays();
      }
    
      /**
       * Extra checks that get done for all test cases.
       *
       * <p>Triggers test case failure if any thread assertions have failed, by rethrowing, in the test
       * harness thread, any exception recorded earlier by threadRecordFailure.
       *
       * <p>Triggers test case failure if interrupt status is set in the main thread.
       */
      @Override
      public void tearDown() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_header_params/test_tutorial001_an.py

        [
            ("/items", None, 200, {"User-Agent": "testclient"}),
            ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}),
            ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}),
        ],
    )
    def test(path, headers, expected_status, expected_response):
        response = client.get(path, headers=headers)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt

     */
    package okhttp.regression.compare
    
    import androidx.test.ext.junit.runners.AndroidJUnit4
    import org.apache.hc.client5.http.classic.methods.HttpGet
    import org.apache.hc.client5.http.impl.classic.HttpClients
    import org.apache.hc.core5.http.HttpVersion
    import org.junit.After
    import org.junit.Assert.assertEquals
    import org.junit.Test
    import org.junit.runner.RunWith
    
    /**
     * Apache HttpClient 5.x.
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.ListFeature;
    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Test suite covering {@link Shorts#asList(short[])}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class ShortArrayAsListTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.ListFeature;
    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Test suite covering {@link Chars#asList(char[])}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class CharArrayAsListTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.ListFeature;
    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Test suite covering {@link Shorts#asList(short[])}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class ShortArrayAsListTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.ListFeature;
    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Test suite covering {@link Longs#asList(long[])}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class LongArrayAsListTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top