Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for test_date (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

      @Test fun setDate() {
        val expected = Date(1000)
        val headers =
          Headers
            .Builder()
            .add("testDate", Date(0L))
            .set("testDate", expected)
            .build()
        assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT")
        assertThat(headers.getDate("testDate")).isEqualTo(expected)
      }
    
      @Test fun setInstant() {
        val expected = Instant.ofEpochMilli(1000L)
        val headers =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt

      @ParameterizedTest
      fun httpUrl(testData: WebPlatformUrlTestData) {
        if (!testData.scheme.isEmpty() && !HTTP_URL_SCHEMES.contains(testData.scheme)) {
          System.err.println("Ignoring unsupported scheme ${testData.scheme}")
          return
        }
    
        if (!testData.base!!.startsWith("https:") &&
          !testData.base!!.startsWith("http:") &&
          testData.base != "about:blank"
        ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            final Integer testData = Integer.valueOf(123);
            FieldUtil.set(field, this, testData);
            assertThat((Integer) FieldUtil.get(field, this), is(testData));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetIntField() throws Exception {
            final Field field = getClass().getField("intField");
            final int testData = 1234567890;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/SearchListTests.java

            final Map<String, Object> updateMap = new HashMap<>();
            //        updateMap.put("click_count", 100);
            return updateMap;
        }
    
        @Override
        protected void testUpdate() {
    
            // Test: update settings api
            final Map<String, Object> updateMap = getUpdateMap();
            final Map<String, Object> searchBody = createSearchBody(SEARCH_ALL_NUM);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 12 02:18:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ResourcesTest.java

      public void testToString() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertEquals(I18N, Resources.toString(resource, UTF_8));
        assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/IoTestCase.java

        }
    
        URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt");
        if (testFileUrl == null) {
          throw new RuntimeException("unable to locate testdata directory");
        }
    
        if (testFileUrl.getProtocol().equals("file")) {
          try {
            File testFile = new File(testFileUrl.toURI());
            testDir = testFile.getParentFile(); // the testdata directory
          } catch (Exception ignore) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/SchedulerTests.java

            updateMap.put("target", "new_target");
            return updateMap;
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
            testDelete();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/UserTests.java

            updateMap.put("name", NAME_PREFIX + "new");
            return updateMap;
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
            testDelete();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/FileConfigTests.java

            updateMap.put("paths", "file:///new/path");
            return updateMap;
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
            testDelete();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/test/resources/before_script.sh

        echo "Fess is not available."
        cat ${temp_log_file} ./fess-*/logs/*.log
        exit 1
      fi
      sleep 1
    done
    
    pushd /tmp >/dev/null
    git clone https://github.com/codelibs/fess-testdata.git
    popd >/dev/null
    
    cat ${temp_log_file} ./fess-*/logs/*.log
    curl -s "http://localhost:9201/_cat/indices?v"
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Feb 10 03:25:34 UTC 2024
    - 863 bytes
    - Viewed (0)
Back to top