Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,340 for valueOf (0.17 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java

            // Add metadata
            data.addMetaData("key1", "value1");
            data.addMetaData("key2", 123);
            data.addMetaData("key3", true);
    
            Map<String, Object> metaDataMap = data.getMetaDataMap();
            assertNotNull(metaDataMap);
            assertEquals(3, metaDataMap.size());
    
            assertEquals("value1", metaDataMap.get("key1"));
            assertEquals(123, metaDataMap.get("key2"));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      /**
       * Sets two distinct values for {@code type}. These values can be used for both null pointer
       * testing and equals testing.
       *
       * @since 17.0
       */
      protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) {
        tester.setDistinctValues(type, value1, value2);
      }
    
      /** Specifies that classes that satisfy the given predicate aren't tested for sanity. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      /**
       * Sets two distinct values for {@code type}. These values can be used for both null pointer
       * testing and equals testing.
       *
       * @since 17.0
       */
      protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) {
        tester.setDistinctValues(type, value1, value2);
      }
    
      /** Specifies that classes that satisfy the given predicate aren't tested for sanity. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

        Exception cause = new Exception();
        AtomicReference<Object> valueRef = new AtomicReference<>();
        LoadingCache<Object, Object> cache =
            new AbstractLoadingCache<Object, Object>() {
              @Override
              public Object get(Object key) throws ExecutionException {
                Object v = valueRef.get();
                if (v == null) {
                  throw new ExecutionException(cause);
                }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

    public class StreamUtilTest extends TestCase {
    
        public void test_ofValues() {
            String[] values = { "value1", "value2" };
            StreamUtil.stream(values[0], values[1]).of(s -> {
                Object[] array = s.toArray();
                for (int i = 0; i < 2; i++) {
                    assertEquals(values[i], array[i]);
                }
            });
        }
    
        public void test_ofNull() {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt

          headersOf("header1", "valué1")
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Unexpected char 0xe9 at 4 in header1 value: valué1")
        }
      }
    
      @Test fun mapFactoryRejectsUnicodeInHeaderName() {
        assertFailsWith<IllegalArgumentException> {
          mapOf("héader1" to "value1").toHeaders()
        }.also { expected ->
          assertThat(expected.message)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. internal/s3select/json/reader.go

    		// This is a JSON object type (that preserves key
    		// order)
    		kvs, _ = v.Value.(jstream.KVS)
    	} else {
    		// To be AWS S3 compatible Select for JSON needs to
    		// output non-object JSON as single column value
    		// i.e. a map with `_1` as key and value as the
    		// non-object.
    		kvs = jstream.KVS{jstream.KV{Key: "_1", Value: v.Value}}
    	}
    
    	dstRec, ok := dst.(*Record)
    	if !ok {
    		dstRec = &Record{}
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

        private static final String RESULT3 = COMMENT + LINE_SEPARATOR + COMMENT + LINE_SEPARATOR + KEY1A + " = " + VALUE1
                + "\\" + LINE_SEPARATOR + VALUE1 + LINE_SEPARATOR;
    
        @Test
        public void testSaveComment3() throws Exception {
            properties.put(KEY1, List.of(new String[] {COMMENT, COMMENT}), List.of(new String[] {VALUE1, VALUE1}));
            StringWriter sw = new StringWriter();
            properties.save(sw);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        @Test
        public void testDeleteByQuery() {
            // Create test data
            client.prepareIndex().setIndex(TEST_INDEX).setId("1").setSource("field", "value1").execute().actionGet();
            client.prepareIndex().setIndex(TEST_INDEX).setId("2").setSource("field", "value2").execute().actionGet();
            client.admin().indices().prepareRefresh(TEST_INDEX).execute().actionGet();
    
            // Delete by query
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/CurlRequestTest.java

        }
    
        @Test
        public void testParamMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            CurlRequest result = request.param("key1", "value1").param("key2", "value2");
    
            assertSame(request, result); // Fluent API
        }
    
        @Test
        public void testParamWithNullValue() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top