Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 1,844 for test2 (0.03 sec)

  1. test-site/app/Global.java

        }
    
        private void createComponents() {
            try {
                ComponentsUtil.contentIndexName = "test-content";
                ComponentsUtil.contentTypeName = "test";
                ComponentsUtil.suggester = Suggester.builder().build(ComponentsUtil.runner.client(), "test");
                ComponentsUtil.suggester.createIndexIfNothing();
            } catch (Exception e) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Feb 23 14:02:03 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    import org.codelibs.core.beans.ParameterizedClassDesc;
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class ParameterizedClassDescFactoryTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testFieldType() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithImports.groovy

    package org.gradle.test
    
    import org.gradle.test.sub.*;
    
    class GroovyClassWithImports extends SubGroovyClass implements SubJavaInterface, GroovyInterface {
        void close() {
        }
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 228 bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

        setToTest =
            InvalidatableSet.of(wrappedSet, () -> wrappedSet.contains(1), () -> 1 + "is not present");
      }
    
      @Test
      @SuppressWarnings("TruthSelfEquals")
      public void testEquals() {
        // sanity check on construction of copyOfWrappedSet
        assertThat(wrappedSet).isEqualTo(copyOfWrappedSet);
    
        // test that setToTest is still valid
        assertThat(setToTest).isEqualTo(wrappedSet);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_header_params/test_tutorial001.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. tests/test_tutorial/test_header_params/test_tutorial002.py

            (
                "/items",
                {"strange_header": "FastAPI test"},
                200,
                {"strange_header": "FastAPI test"},
            ),
            (
                "/items",
                {"strange-header": "Not really underscore"},
                200,
                {"strange_header": None},
            ),
        ],
    )
    def test(path, headers, expected_status, expected_response):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

       * UTCTime or GeneralizedTime.
       */
      @Test fun `can read GENERALIZED_TIME before 2050`() {
        val generalizedTimeDer = "180f32303439313233313233353935395a".decodeHex()
    
        val decoded = CertificateAdapters.time.fromDer(generalizedTimeDer)
        assertThat(decoded).isEqualTo(date("2049-12-31T23:59:59.000+0000").time)
      }
    
      @Test fun `time before 1950 uses GENERALIZED_TIME`() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/lang/ObjectUtilTest.java

    import static org.junit.Assert.assertSame;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class ObjectUtilTest {
    
        /**
         * Test method for
         * {@link org.codelibs.core.lang.ObjectUtil#equals(java.lang.Object, java.lang.Object)}
         * .
         */
        @Test
        public void testEqualsObjectObject() {
            assertThat(ObjectUtil.equals(null, null), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/LoomTest.kt

      }
    
      @Test
      fun testRequest() {
        server.enqueue(MockResponse())
    
        val request = Request(server.url("/"))
    
        client.newCall(request).execute().use {
          assertThat(it.code).isEqualTo(200)
        }
      }
    
      @Test
      fun testIfSupported() {
        assertThat(platform.isLoom()).isTrue()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/util/BeanMapTest.java

    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
     * @author higa
     */
    public class BeanMapTest {
    
        /**
         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top