Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 111 for testable (0.36 seconds)

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

  1. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)
            // We can't directly assert these values on the superclass fields without reflection or a testable superclass.
            // For 100% coverage, we'd need to ensure the superclass constructor is indeed called with these values.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformerTest.java

            assertEquals("long", Constants.MAPPING_TYPE_LONG);
            assertEquals("double", Constants.MAPPING_TYPE_DOUBLE);
            assertEquals("date", Constants.MAPPING_TYPE_DATE);
        }
    
        /**
         * Testable implementation of AbstractFessFileTransformer for unit testing.
         */
        private static class TestableAbstractFessFileTransformer extends AbstractFessFileTransformer {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            // This is complex due to the class structure. A better approach would be
            // to refactor SmbFile to be more testable (e.g., dependency injection).
            // For now, we test methods that don't require deep mocks.
            return new SmbFile(url, auth);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top