Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 67 for testable (0.12 seconds)

  1. src/test/java/org/codelibs/fess/app/job/ScriptExecutorJobTest.java

                    return "OK";
                }
            };
            ComponentUtil.register(jobExecutor, "scriptJobExecutor");
        }
    
        /**
         * Testable subclass that exposes the protected process() method.
         */
        private static class TestableScriptExecutorJob extends ScriptExecutorJob {
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                // and not crash the entire upgrade process
                assertTrue(result >= 0, "Should handle .mvn creation failure gracefully");
            }
        }
    
        /**
         * Testable subclass that exposes protected methods for testing.
         */
        private static class TestableAbstractUpgradeGoal extends AbstractUpgradeGoal {
    
            TestableAbstractUpgradeGoal(StrategyOrchestrator orchestrator) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  3. cmd/postpolicyform_test.go

    	pp.SetBucket("testbucket")
    	pp.SetContentType("image/jpeg")
    	pp.SetUserMetadata("uuid", "14365123651274")
    	pp.SetKeyStartsWith("user/user1/filename")
    	pp.SetContentLengthRange(100, 999999) // not testable from this layer, condition is checked in the API handler.
    	pp.SetSuccessStatusAction("201")
    	pp.SetCondition("eq", "X-Amz-Credential", "KVGKMDUQ23TCZXTLTHLP/20160727/us-east-1/s3/aws4_request")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/config/BaseConfigurationTest.java

            testConfig.disallowCompound = customDisallow;
    
            testConfig.initDefaults();
    
            assertEquals(customDisallow, testConfig.disallowCompound);
        }
    
        /**
         * Testable subclass that exposes the default constructor
         */
        private static class TestableBaseConfiguration extends BaseConfiguration {
            TestableBaseConfiguration() throws CIFSException {
                super(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

            // No interference should occur (just verify no critical errors)
            assertTrue("Multiple scheduled tasks should not interfere with each other", true);
        }
    
        /**
         * Testable subclass of EntraIdAuthenticator for testing purposes.
         */
        private static class TestableEntraIdAuthenticator extends EntraIdAuthenticator {
            AtomicBoolean scheduleParentGroupLookupCalled = new AtomicBoolean(false);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  6. CONTRIBUTING.md

        ```
    
        See
        [TensorFlow Builds](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/ci_build)
        for details.
    
    #### Running doctest for testable docstring
    
    There are two ways to test the code in the docstring locally:
    
    1.  If you are only changing the docstring of a class/function/method, then you
        can test it by passing that file's path to
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Jan 11 04:47:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java

        //                                                                    Helper Classes
        //                                                                    ================
    
        /**
         * Testable subclass that bypasses ComponentUtil dependencies.
         * This allows testing the filter logic without requiring the DI container.
         */
        private static class TestableLoadControlFilter extends LoadControlFilter {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

        public void test_getName_returnsGroovy() {
            final TestableGroovyEngine testEngine = new TestableGroovyEngine();
            assertEquals("groovy", testEngine.testGetName());
        }
    
        /**
         * Testable GroovyEngine subclass for testing protected methods
         */
        static class TestableGroovyEngine extends GroovyEngine {
            boolean logScriptExecutionCalled = false;
            String lastLoggedScript = null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            chatClient.resetSearchDocumentsCalled();
    
            final List<Map<String, Object>> result = chatClient.testSearchWithQuery("nonexistent");
            assertTrue(result.isEmpty());
        }
    
        // ========== Testable subclass ==========
    
        static class TestableChatClient extends ChatClient {
    
            private boolean searchDocumentsCalled = false;
            private final List<String> searchedQueries = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  10. migrator/migrator.go

    			return tx.Exec("DROP TABLE IF EXISTS ?", m.CurrentTable(stmt)).Error
    		}); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // HasTable returns table exists or not for value, value could be a struct or string
    func (m Migrator) HasTable(value interface{}) bool {
    	var count int64
    
    	m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		currentDatabase := m.DB.Migrator().CurrentDatabase()
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 29.8K bytes
    - Click Count (0)
Back to Top