Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 460 for logic (0.01 sec)

  1. cmd/bucket-policy-handlers_test.go

    		if err != nil {
    			t.Fatalf("Test %d: %s: Failed to create HTTP request for PutBucketPolicyHandler: <ERROR> %v", i+1, instanceType, err)
    		}
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    		// Call the ServeHTTP to execute the handler.
    		apiRouter.ServeHTTP(recV4, reqV4)
    		if recV4.Code != testCase.expectedRespStatus {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for {@link DosError}.  Since {@link DosError} only contains
     * constants, the tests exercise the data and small helper logic in this
     * test class.
     */
    public class DosErrorTest {
        private static Optional<Integer> findNtStatus(int dosErrorCode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

     * interaction with {@link SmbFile} instances. The tests make heavy use of
     * Mockito to guarantee that implementation classes do not inadvertently
     * bypass the filter logic.
     */
    public class SmbFileFilterTest {
    
        /**
         * A minimal implementation that accepts every {@link SmbFile}.
         */
        private final SmbFileFilter ALWAYSACTIVE = new SmbFileFilter() {
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java

         */
        public FessLoginAction() {
            super();
        }
    
        /**
         * Returns the appropriate HTML response for login handling.
         * If a user is already authenticated, redirects to the appropriate admin interface.
         * Otherwise, displays the login page.
         *
         * @return HTML response for login page or redirect to admin interface
         */
        protected HtmlResponse getHtmlResponse() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. cmd/signature-v4-utils_test.go

    		t.Fatal("no policies found")
    	}
    
    	if policies[0] != "consoleAdmin" {
    		t.Fatalf("expected 'consoleAdmin', %s", policies[0])
    	}
    }
    
    // TestSkipContentSha256Cksum - Test validate the logic which decides whether
    // to skip checksum validation based on the request header.
    func TestSkipContentSha256Cksum(t *testing.T) {
    	testCases := []struct {
    		inputHeaderKey   string
    		inputHeaderValue string
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/configurations/BuildLogicTest.kt

    import model.Stage
    
    class BuildLogicTest(
        model: CIBuildModel,
        stage: Stage,
    ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
            id(buildTypeId(model))
            name = "Build-logic test"
            description = "Run :build-logic:test"
    
            features {
                publishBuildStatusToGithub(model)
            }
    
            applyDefaults(
                model,
                this,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Aug 25 20:21:47 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosConstantsTest.java

        /**
         * This test primarily exists to ensure the constants interface can be loaded
         * and to provide a basic check of its values.
         * Since it's an interface with only static final fields, there is no complex logic to test.
         */
        @Test
        void testConstants() {
            // A simple assertion to verify that some of the constants have the expected values.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/HMACT64Test.java

            }
        }
    
        // 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
            // HMACT64 is a modified HMAC-MD5 where the key is truncated at 64 bytes
            // instead of being hashed when it exceeds the block size.
    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/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

                    outputFile.delete();
                }
            }
        }
    
        // Test variable replacement logic without triggering component dependencies
        public void test_variable_replacement_logic() throws Exception {
            // Test the variable replacement logic directly
            final List<String> commands =
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java

            assertEquals("Service", result[0]);
            assertEquals("ServiceImpl", result[1]);
            assertEquals("Facade", result[2]);
            assertEquals("FacadeImpl", result[3]);
            assertEquals("Logic", result[4]);
            assertEquals("LogicImpl", result[5]);
        }
    
        // Test toBeDisposable with null process
        public void test_toBeDisposable_nullProcess() {
            // Should not throw exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top