Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 3,933 for avoid (0.02 sec)

  1. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

     */
    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class InvalidAccessTokenExceptionTest extends UnitFessTestCase {
    
        public void test_constructor_withTypeAndMessage() {
            // Test constructor with type and message
            String type = "Bearer";
            String message = "Invalid access token provided";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

        public void test_constructor_withMessage() {
            // Test constructor with message only
            String message = "SSO authentication failed";
            SsoProcessException exception = new SsoProcessException(message);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withMessageAndCause() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        @Mock
        private CreateContextRequest mockCreateContext;
    
        private Smb2CreateRequest request;
    
        @BeforeEach
        void setUp() {
            // Setup will be done in individual tests when needed
        }
    
        @Test
        @DisplayName("Test constructor with path initialization")
        void testConstructor() {
            // Test with normal path
            request = new Smb2CreateRequest(mockConfig, "test\\file.txt");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/NetbiosNameTest.java

        void testVariousNameTypes(int nameType) {
            // Given
            when(mockNetbiosName.getNameType()).thenReturn(nameType);
    
            // When
            int result = mockNetbiosName.getNameType();
    
            // Then
            assertEquals(nameType, result);
        }
    
        @Test
        @DisplayName("Should handle null name")
        void testNullName() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

         * Test basic initialization with session ID
         */
        public void test_init_withSessionId() {
            String sessionId = "test-session-001";
            urlFilter.init(sessionId);
            // Initialization should complete without errors
            assertNotNull(urlFilter);
        }
    
        /**
         * Test initialization with null session ID
         */
        public void test_init_withNullSessionId() {
            urlFilter.init(null);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        private static final int TEST_INFO_LEVEL = FileInformation.FILE_BASIC_INFO;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        void testConstructor() {
            // Test constructor initializes all fields correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

            void testCreateResponse() {
                Smb2EchoResponse response = echoRequest.createResponse(mockContext, echoRequest);
    
                assertNotNull(response);
                assertInstanceOf(Smb2EchoResponse.class, response);
            }
    
            @Test
            @DisplayName("Should create response with correct configuration")
            void testCreateResponseConfiguration() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

        }
    
        public void test_constructor_withNullName() {
            // Test with null name
            String[] values = { "value1" };
            RequestParameter param = new RequestParameter(null, values);
    
            assertNull(param.getName());
            assertNotNull(param.getValues());
            assertEquals(1, param.getValues().length);
        }
    
        public void test_constructor_withEmptyName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/util/MimeMapTest.java

    class MimeMapTest {
    
        private MimeMap mimeMap;
    
        @BeforeEach
        void setUp() throws IOException {
            mimeMap = new MimeMap();
        }
    
        @Nested
        @DisplayName("getMimeType with extension only")
        class GetMimeTypeWithExtension {
    
            @Test
            @DisplayName("Should return correct mime type for known extensions")
            void testKnownExtensions() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            // Create provider
            provider = new FessTimeResourceProvider(mockConfig);
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        // Test constructor
        public void test_constructor() {
            FessTimeResourceProvider testProvider = new FessTimeResourceProvider(mockConfig);
            assertNotNull(testProvider);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
Back to top