Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1561 - 1570 of 4,151 for text (0.09 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/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)
  3. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

        }
    
        @Test
        @DisplayName("Test constants are properly defined")
        void testConstants() {
            // Verify the NT transaction function constants
            assertEquals(0x6, SmbComNtTransaction.NT_TRANSACT_QUERY_SECURITY_DESC);
            assertEquals(0x4, SmbComNtTransaction.NT_TRANSACT_NOTIFY_CHANGE);
        }
    
        @Test
        @DisplayName("Test inheritance from SmbComTransaction")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. 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)
  5. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

    import javax.security.auth.login.LoginException;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockedConstruction;
    import org.mockito.Mockito;
    import org.mockito.MockitoAnnotations;
    
    /**
     * Test class for KerberosCredentials.
     */
    class KerberosCredentialsTest {
    
        @Mock
        private LoginContext loginContext;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            assertEquals(1024, info.length());
        }
    
        @Test
        void testSmbFindFileBothDirectoryInfo_ToString() {
            Trans2FindFirst2Response.SmbFindFileBothDirectoryInfo info = response.new SmbFindFileBothDirectoryInfo();
            info.filename = "test.txt";
            info.shortName = "TEST.TXT";
            info.nextEntryOffset = 1;
            info.fileIndex = 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

        }
    
        public void test_toString_withSpecialCharacters() {
            // Test toString with special characters
            String name = "special[]param";
            String[] values = { "[value]", ",comma,", "quote\"test" };
            RequestParameter param = new RequestParameter(name, values);
    
            String expected = "[special[]param, [[value], ,comma,, quote\"test]]";
            assertEquals(expected, param.toString());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

        }
    
        /**
         * Test a successful NTLM authentication handshake.
         * This is a simplified test that verifies the basic flow without full NTLM protocol simulation.
         * @throws IOException
         * @throws SecurityException
         */
        @Test
        void testSuccessfulHandshake() throws IOException, SecurityException {
            // This test is simplified to verify basic handshake behavior
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. .github/workflows/iam-integrations.yaml

              go run docs/iam/access-manager-plugin.go &
              make test-iam
          - name: Test MinIO Old Version data to IAM import current version
            if: matrix.ldap == 'ldaphost:389'
            env:
              _MINIO_LDAP_TEST_SERVER: ${{ matrix.ldap }}
            run: |
              make test-iam-ldap-upgrade-import
          - name: Test LDAP for automatic site replication
            if: matrix.ldap == 'localhost:389'
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

        public void test_stackTrace() {
            // Test that stack trace is generated properly
            LdapConfigurationException exception = new LdapConfigurationException("Stack trace test");
    
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // The first element should be from this test method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top