Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 4,785 for new (0.09 sec)

  1. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            FileUtil.writeBytes(propFile.getAbsolutePath(), "".getBytes());
            ComponentUtil.register(new DynamicProperties(propFile), "systemProperties");
            crawlingConfigHelper = new CrawlingConfigHelper();
            crawlingConfigHelper.init();
            ComponentUtil.register(crawlingConfigHelper, "crawlingConfigHelper");
            ComponentUtil.register(new WebConfigService() {
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

            private Server server;
    
            public TestApiExtractorServer(final int port) {
                server = new Server(port);
    
                final RequestHandlerImpl request_handler = new RequestHandlerImpl();
                final HandlerList handlers = new HandlerList();
                handlers.setHandlers(new Handler[] { request_handler, new DefaultHandler() });
                server.setHandler(handlers);
            }
    
            public void start() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        final Runnable[] manualExecutorTask = new Runnable[1];
        Executor manualExecutor =
            new Executor() {
              @Override
              public void execute(Runnable task) {
                manualExecutorTask[0] = task;
              }
            };
    
        results.add(serializer.submit(Callables.returning(null), manualExecutor));
        final Future<?>[] thingToCancel = new Future<?>[1];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        @Nullable String string;
      }
    
      public void testBuilder_withMutableEntry() {
        ImmutableMap.Builder<String, Integer> builder = new Builder<>();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertEquals(expected, new String(buf));
        assertFullyRead(reader);
    
        // read in chunks to fixed array
        reader = new CharSequenceReader(charSequence);
        buf = new char[5];
        StringBuilder builder = new StringBuilder();
        int read;
        while ((read = reader.read(buf, 0, buf.length)) != -1) {
          builder.append(buf, 0, read);
        }
        assertEquals(expected, builder.toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        MockCallback callback = new MockCallback(e);
        addCallback(f, callback, directExecutor());
      }
    
      public void testOnSuccessThrowsRuntimeException() throws Exception {
        RuntimeException exception = new RuntimeException();
        String result = "result";
        SettableFuture<String> future = SettableFuture.create();
        int[] successCalls = new int[1];
        int[] failureCalls = new int[1];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/repository/MavenArtifactRepositoryTest.java

                return id;
            }
        }
    
        @Test
        void testHashCodeEquals() {
            MavenArtifactRepositorySubclass r1 = new MavenArtifactRepositorySubclass("foo");
            MavenArtifactRepositorySubclass r2 = new MavenArtifactRepositorySubclass("foo");
            MavenArtifactRepositorySubclass r3 = new MavenArtifactRepositorySubclass("bar");
    
            assertTrue(r1.hashCode() == r2.hashCode());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            languageHelper = new LanguageHelper();
            languageHelper.langFields = new String[] { "title", "content" };
        }
    
        public void test_createScript() {
            Map<String, Object> doc = new HashMap<>();
            assertEquals("aaa", languageHelper.createScript(doc, "aaa").getIdOrCode());
    
            doc.put("lang", "ja");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  protected List<String> create(final String[] elements) {
                    // For this test we trust ArrayList works
                    final List<String> list = new ArrayList<>();
                    Collections.addAll(list, elements);
                    return new AbstractSequentialList<String>() {
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForMapsInJavaUtil {
    
      public static Test suite() {
        return new TestsForMapsInJavaUtil().allTests();
      }
    
      public Test allTests() {
        TestSuite suite = new TestSuite("java.util Maps");
        suite.addTest(testsForCheckedMap());
        suite.addTest(testsForCheckedNavigableMap());
        suite.addTest(testsForCheckedSortedMap());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top