Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 746 for execute (0.06 sec)

  1. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

        }
    
        // Test execute() method with successful processing
        public void test_execute_success() {
            String result = updateLabelJob.execute();
            assertNotNull(result);
            assertTrue(result.contains("3 docs")); // 3 documents processed
            assertFalse(result.contains("exception"));
        }
    
        // Test execute() method with query builder
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          final Executor executor;
    
          RunnableExecutorPair(Runnable runnable, Executor executor) {
            this.runnable = runnable;
            this.executor = executor;
          }
    
          void execute() {
            try {
              executor.execute(runnable);
            } catch (RuntimeException e) {
              log.log(
                  Level.SEVERE,
                  "RuntimeException while executing runnable "
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            // Test execute method with null query
            QueryContext context = new QueryContext("*:*", false);
            float boost = 1.0f;
    
            QueryBuilder result = matchAllQueryCommand.execute(context, null, boost);
    
            assertNotNull(result);
            assertTrue(result instanceof MatchAllQueryBuilder);
        }
    
        public void test_execute_withZeroBoost() {
            // Test execute method with zero boost
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            String result1 = aggregateLogJob.execute();
            assertEquals("", result1);
    
            // Second call (even) should fail
            String result2 = aggregateLogJob.execute();
            assertTrue(result2.contains("Even call error"));
    
            // Third call (odd) should succeed
            String result3 = aggregateLogJob.execute();
            assertEquals("", result3);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            // Execute the job
            String result = purgeDocJob.execute();
    
            // Assert error message is in the result
            assertTrue(result.contains("Invalid argument provided"));
        }
    
        public void test_execute_queryBuilderCreation() {
            // Execute the job
            purgeDocJob.execute();
    
            // Verify the query builder was created correctly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

                    return paramMap.size();
                }
            });
    
            // Execute first time
            Object result1 = scriptExecutor.execute("modifyEngine", "script1");
            assertEquals(2, result1); // executor + newKey
    
            // Execute second time - params should be fresh
            Object result2 = scriptExecutor.execute("modifyEngine", "script2");
            assertEquals(2, result2); // Should still be 2, not accumulating
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ExecutionList.java

     * guaranteed to execute. There is no guarantee, however, that listeners will be executed in the
     * order that they are added.
     *
     * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
     * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            Object result = jobExecutor.execute("javascript", "console.log('test')");
            assertEquals("Executed: javascript console.log('test')", result);
    
            result = jobExecutor.execute("python", "print('test')");
            assertEquals("Executed: python print('test')", result);
    
            result = jobExecutor.execute("groovy", "println 'test'");
            assertEquals("Executed: groovy println 'test'", result);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. cmd/bucket-handlers_test.go

    	if err != nil {
    		t.Fatalf("Test %s: Failed to create HTTP request for RemoveBucketHandler: <ERROR> %v", instanceType, err)
    	}
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    	switch rec.Code {
    	case http.StatusOK, http.StatusCreated, http.StatusAccepted, http.StatusNoContent:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            corsHandlerFactory.add(specificOrigin, specificHandler);
            corsHandlerFactory.add("*", wildcardHandler);
    
            // Execute & Verify - specific origin should return specific handler
            assertEquals(specificHandler, corsHandlerFactory.get(specificOrigin));
    
            // Execute & Verify - unknown origin should return wildcard handler
            assertEquals(wildcardHandler, corsHandlerFactory.get("https://unknown.com"));
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top