Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for test_execute_success (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        public void test_getExecuteType() {
            assertEquals(Constants.EXECUTE_TYPE_PYTHON, pythonJob.getExecuteType());
        }
    
        // Test execute method with successful execution
        @Test
        public void test_execute_success() {
            pythonJob.filename("test.py");
            pythonJob.args("arg1", "arg2");
    
            testProcessHelper.exitValue = 0;
            testProcessHelper.processOutput = "Python script executed successfully";
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            new File(tempDir, "WEB-INF/env/suggest/lib").mkdirs();
            new File(tempDir, "WEB-INF/plugin").mkdirs();
        }
    
        // Test execute method with successful execution
        @Test
        public void test_execute_success() {
            createRequiredDirectories();
    
            // Setup successful process execution
            mockProcessHelper.setExitValue(0);
            mockProcessHelper.setOutput("Suggest creation successful");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
Back to Top