Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for testOf2 (0.03 sec)

  1. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

      public void testOf0() {
        assertThat(ImmutableLongArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableLongArray.of(0).asList()).containsExactly(0L);
      }
    
      public void testOf2() {
        assertThat(ImmutableLongArray.of(0, 1).asList()).containsExactly(0L, 1L).inOrder();
      }
    
      public void testOf3() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public void testOf0() {
        assertThat(ImmutableDoubleArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0);
      }
    
      public void testOf2() {
        assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder();
      }
    
      public void testOf3() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

      public void testOf0() {
        assertThat(ImmutableIntArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableIntArray.of(0).asList()).containsExactly(0);
      }
    
      public void testOf2() {
        assertThat(ImmutableIntArray.of(0, 1).asList()).containsExactly(0, 1).inOrder();
      }
    
      public void testOf3() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public void testOf0() {
        assertThat(ImmutableDoubleArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0);
      }
    
      public void testOf2() {
        assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder();
      }
    
      public void testOf3() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            // Add second document - should trigger indexing again
            Map<String, Object> dataMap2 = new HashMap<>();
            dataMap2.put("url", "http://example.com/test2");
            indexUpdateCallback.store(paramMap, dataMap2);
            assertEquals(2, indexingHelper.sendDocumentsCalled);
        }
    
        public void test_store_triggersIndexing_whenRequestSizeExceeded() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertTrue(cmdList.contains("-D" + Constants.FESS_CONFIG_PREFIX + "test2=value2"));
    
            // Clean up
            System.clearProperty(Constants.FESS_CONFIG_PREFIX + "test1");
            System.clearProperty(Constants.FESS_CONFIG_PREFIX + "test2");
            System.clearProperty("non.fess.property");
        }
    
        // Test addFessSystemProperties method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

        }
    
        public void test_constructor_withUrlMessageExceptionAndAbortTrue() {
            // Test with URL, message, exception, and abort set to true
            String url = "http://example.com/test2";
            String message = "Critical error message";
            Exception cause = new IllegalStateException("Critical error");
            boolean abort = true;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> builder.build());
        assertThat(expected).hasMessageThat().contains("one");
      }
    
      public void testOf() {
        assertMapEquals(ImmutableBiMap.of("one", 1), "one", 1);
        assertMapEquals(ImmutableBiMap.of("one", 1).inverse(), 1, "one");
        assertMapEquals(ImmutableBiMap.of("one", 1, "two", 2), "one", 1, "two", 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

                    .build())
            .addEqualityGroup(
                ImmutableListMultimap.<String, Integer>builder().put("bar", 2).put("foo", 3).build())
            .testEquals();
      }
    
      public void testOf() {
        assertMultimapEquals(ImmutableListMultimap.of("one", 1), "one", 1);
        assertMultimapEquals(ImmutableListMultimap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMultimapEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

                .put("one", 1)
                .put("one", 2); // throwing on this line would be even better
    
        assertThrows(IllegalArgumentException.class, () -> builder.build());
      }
    
      public void testOf() {
        assertMapEquals(ImmutableSortedMap.of("one", 1), "one", 1);
        assertMapEquals(ImmutableSortedMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
Back to top