Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 2,907 for xtest (0.02 sec)

  1. cmd/bucket-handlers_test.go

    		secretKey          string
    		expectedRespStatus int
    	}{
    		// Test case - 1.
    		// Validate a good case request succeeds.
    		{
    			bucketName:         bucketName,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 2.
    		// Test case with invalid accessKey to produce and validate Signature Mismatch error.
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            }
    
            @Test
            @DisplayName("Should initialize DfsReferralResponseBuffer")
            void testDfsResponseBufferInitialization() {
                assertNotNull(response.getDfsResponse());
                assertTrue(response.getDfsResponse() instanceof DfsReferralResponseBuffer);
            }
    
            @Test
            @DisplayName("Should throw NullPointerException with null configuration")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            }
        }
    
        public void test_addCondition() {
            // Test adding conditions
            generator = new TestThumbnailGenerator();
    
            // Test adding single condition
            generator.addCondition("field1", "value1");
    
            // Test adding multiple conditions for same field
            generator.addCondition("field1", "value2");
    
            // Test adding conditions for different fields
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcErrorTest.java

    import java.util.Set;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    @DisplayName("DcerpcError Test")
    class DcerpcErrorTest {
    
        @Test
        @DisplayName("Should verify DCERPC_FAULT_OTHER constant value")
        void testDcerpcFaultOther() {
            assertEquals(0x00000001, DcerpcError.DCERPC_FAULT_OTHER);
        }
    
        @Test
        @DisplayName("Should verify DCERPC_FAULT_ACCESS_DENIED constant value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

            // Test constructor with message only
            String message = "Test scheduled job error";
            ScheduledJobException exception = new ScheduledJobException(message);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructorWithMessageAndCause() {
            // Test constructor with message and cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

        public void test_constructor_withMessage() {
            // Test constructor with message only
            String message = "SSO login failed";
            SsoLoginException exception = new SsoLoginException(message);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withMessageAndCause() {
            // Test constructor with message and cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            value = "${\\$}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            System.setProperty("test.dir", "c:\\test1\\test2");
    
            value = "${test.dir}";
            assertEquals("c:\\test1\\test2", ResourceUtil.resolve(value));
    
        }
    
        public void test_getAppType() {
            // Test default empty when no env var is set
            String originalAppType = System.getenv("FESS_APP_TYPE");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/HMACT64Test.java

                when(mockMd5.clone()).thenThrow(new CloneNotSupportedException("Test Clone Not Supported"));
    
                assertThrows(IllegalStateException.class, originalHmac::clone);
            }
        }
    
        // Integration test with actual MD5 to verify HMAC calculation logic
        @Test
        void testHMACT64WithActualMD5() throws NoSuchAlgorithmException {
            // This test uses a real MD5 instance to verify the HMAC calculation logic
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        }
    
        @Test
        @DisplayName("Should correctly identify DFS share based on flags")
        void testIsShareDfsWithFlags() throws SMBProtocolDecodingException {
            // Test with DFS flag only
            byte[] buffer = createValidResponseBuffer(0, 0x1, 0, 0);
            response.readBytesWireFormat(buffer, 0);
            assertTrue(response.isShareDfs());
    
            // Test with DFS_ROOT flag only
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            }
        }
    
        public void test_register() {
            // Test that register method properly registers the command with QueryProcessor
            BoostQueryCommand newCommand = new BoostQueryCommand();
            newCommand.register();
    
            // Create a test BoostQuery to verify registration
            Term term = new Term("test", "register");
            TermQuery termQuery = new TermQuery(term);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top