Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,780 for test2 (0.17 sec)

  1. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test2() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
            DisposableUtil.add(new TestDisposable("b"));
            assertThat(DisposableUtil.disposables.size(), is(2));
            DisposableUtil.dispose();
            assertThat(count, is(2));
            assertThat(names, is("ba"));
            assertThat(DisposableUtil.disposables.size(), is(0));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            value = "${\\$}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            System.setProperty("test.dir", "c:\\test1\\test2");
    
            value = "${test.dir}";
            assertEquals("c:\\test1\\test2", ResourceUtil.resolve(value));
    
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

              RangeMap<Integer, Integer> test = TreeRangeMap.create();
              RangeMap<Integer, Integer> test2 = TreeRangeMap.create();
              // put range2 and range3 into test2, and then put test2 into test
              test.put(range1, 1);
              test2.put(range2, 2);
              test2.put(range3, 3);
              test.putAll(test2);
              verify(model, test);
            }
          }
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 28K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.getAt(0), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPut() throws Exception {
            assertThat(map.put("1", "test3"), is("test"));
            assertThat(map.get("1"), is("test3"));
            assertThat(map.getAt(1), is("test3"));
            map.put(null, "test4");
            map.put(null, "test5");
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

        }
    
        public void test_calculateDocumentSize() {
            assertEquals(0, indexingHelper.calculateDocumentSize(Collections.emptyMap()));
            assertEquals(118, indexingHelper.calculateDocumentSize(Map.of("id", "test")));
            assertEquals(249, indexingHelper.calculateDocumentSize(Map.of("id", "test", "url", "http://test.com/")));
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

              RangeMap<Integer, Integer> test = TreeRangeMap.create();
              RangeMap<Integer, Integer> test2 = TreeRangeMap.create();
              // put range2 and range3 into test2, and then put test2 into test
              test.put(range1, 1);
              test2.put(range2, 2);
              test2.put(range3, 3);
              test.putAll(test2);
              verify(model, test);
            }
          }
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            assertNull(System.getProperty("fess." + now));
            assertNull(System.getProperty("test." + now));
            appValue.set("=abc\nfess." + now + "=test1\ntest." + now + "=test2");
            helper.updateSystemProperties();
            assertEquals("test1", System.getProperty("fess." + now));
            assertEquals("test2", System.getProperty("test." + now));
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

      // Intentionally duplicate the Predicate interface to test that it won't cause
      // exceptions
      private interface IntegerStringFunction
          extends IntegerSupplier, Predicate<List<String>>, StringListPredicate {}
    
      public void testGenericInterface() {
        // test the 1st generic interface on the class
        Type fType = Supplier.class.getTypeParameters()[0];
        assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

      // Intentionally duplicate the Predicate interface to test that it won't cause
      // exceptions
      private interface IntegerStringFunction
          extends IntegerSupplier, Predicate<List<String>>, StringListPredicate {}
    
      public void testGenericInterface() {
        // test the 1st generic interface on the class
        Type fType = Supplier.class.getTypeParameters()[0];
        assertEquals(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/symbolDeclarationRenderer/Fe10IdeNormalAnalysisSourceModuleRendererTestGenerated.java

    import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisApiTestConfigurator;
    import org.jetbrains.kotlin.analysis.test.framework.test.configurators.TestModuleKind;
    import org.jetbrains.kotlin.analysis.test.framework.test.configurators.FrontendKind;
    import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisSessionMode;
    import org.jetbrains.kotlin.analysis.test.framework.test.configurators.AnalysisApiMode;
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 18:26:10 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top