Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 134 for initialisation (3.42 sec)

  1. src/test/java/org/codelibs/fess/query/QueryCommandTest.java

    public class QueryCommandTest extends UnitFessTestCase {
        private QueryCommand queryCommand;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            // Setup FessConfig with proper initialization
            FessConfig.SimpleImpl fessConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            // Test complete lifecycle
            assertFalse(channelManager.isUseMultiChannel());
    
            try {
                channelManager.initializeMultiChannel();
                // Should not throw exception even if initialization fails
            } catch (Exception e) {
                // Expected in test environment without proper server setup
            }
    
            assertDoesNotThrow(() -> channelManager.shutdown());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

        public void tearDown() throws Exception {
            if (originalFessConfig != null) {
                ComponentUtil.setFessConfig(originalFessConfig);
            }
            super.tearDown();
        }
    
        // Test provider initialization
        public void test_providerInitialization() {
            assertNotNull(cookieResourceProvider);
        }
    
        // Test default path
        public void test_provideDefaultPath() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmContext.java

         * @param offset offset into the token array
         * @param len length of token data
         * @return the output token bytes
         * @throws SmbException if an error occurs during context initialization
         */
        public byte[] initSecContext(byte[] token, final int offset, final int len) throws SmbException {
            switch (state) {
            case 1:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

        @BeforeEach
        public void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        public void testConstructorInitializesFields() {
            // Test constructor initialization with proper expectations
            String pipeName = "\\\\pipe\\testPipe";
            TransWaitNamedPipe pipe = new TransWaitNamedPipe(pipeName);
    
            // Verify the name is set correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

        public void tearDown() throws Exception {
            if (originalFessConfig != null) {
                ComponentUtil.setFessConfig(originalFessConfig);
            }
            super.tearDown();
        }
    
        // Test basic initialization
        public void test_hookInitialization() {
            assertNotNull(apiFailureHook);
        }
    
        // Test API result status codes
        public void test_apiResultStatusCodes() {
            // Test OK status
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            assertTrue(result2.startsWith("FessUserTimeZoneProcessProvider:{"));
    
            // But different hash codes
            assertFalse(result1.equals(result2));
        }
    
        // Test static field initialization
        public void test_centralTimeZone_initialization() {
            // Verify that centralTimeZone is properly initialized
            assertNotNull(FessUserTimeZoneProcessProvider.centralTimeZone);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("DOMAIN", "user", "password");
            byte[] challenge = { 1, 2, 3, 4, 5, 6, 7, 8 };
    
            // Behavior is determined by static initialization, not runtime config
            byte[] unicodeHash = auth.getUnicodeHash(challenge);
            byte[] ansiHash = auth.getAnsiHash(challenge);
    
            // Unicode hash returns empty array due to static LM_COMPATIBILITY=3
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/log/Logger.java

        /** Map of loggers keyed by class */
        protected static final Map<Class<?>, Logger> loggers = newHashMap();
    
        /** Flag indicating initialization is complete. */
        private static boolean initialized;
    
        /** Logger adapter. */
        private final LoggerAdapter log;
    
        /**
         * Returns a {@link Logger}.
         *
         * @param clazz
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

     */
    @ExtendWith(MockitoExtension.class)
    public class SmbFileTest {
    
        @Mock
        private NtlmPasswordAuthentication mockAuth;
    
        @BeforeEach
        public void setUp() {
            // Static mocks or initializations can be done here if necessary
            // For now, we rely on instance mocks provided by MockitoExtension
        }
    
        @Nested
        class ConstructorTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top