Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,106 for texts (0.14 sec)

  1. internal/bucket/object/lock/lock_test.go

    }
    
    func TestParseLegalHoldStatus(t *testing.T) {
    	tests := []struct {
    		value          string
    		expectedStatus LegalHoldStatus
    	}{
    		{
    			value:          "ON",
    			expectedStatus: LegalHoldOn,
    		},
    		{
    			value:          "Off",
    			expectedStatus: LegalHoldOff,
    		},
    		{
    			value:          "x",
    			expectedStatus: "",
    		},
    	}
    
    	for _, tt := range tests {
    		actualStatus := parseLegalHoldStatus(tt.value)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  2. tests/callbacks_test.go

    		}
    
    		if len(data.err) > 0 && err == nil {
    			t.Errorf("callbacks tests #%v should got error %v, but not", idx+1, data.err)
    		} else if len(data.err) == 0 && err != nil {
    			t.Errorf("callbacks tests #%v should not got error, but got %v", idx+1, err)
    		}
    
    		if ok, msg := assertCallbacks(callbacks.Create(), data.results); !ok {
    			t.Errorf("callbacks tests #%v failed, got %v", idx+1, msg)
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. Makefile

    check: test
    test: verifiers build build-debugging ## builds minio, runs linters, tests
    	@echo "Running unit tests"
    	@MINIO_API_REQUESTS_MAX=10000 CGO_ENABLED=0 go test -v -tags kqueue ./...
    
    test-root-disable: install-race
    	@echo "Running minio root lockdown tests"
    	@env bash $(PWD)/buildscripts/disable-root.sh
    
    test-ilm: install-race
    	@echo "Running ILM tests"
    	@env bash $(PWD)/docs/bucket/replication/setup_ilm_expiry_replication.sh
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  4. android/guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for Optional
      public void testOr_T_present() {
        assertEquals("a", Optional.of("a").or("default"));
      }
    
      public void testOr_T_absent() {
        assertEquals("default", Optional.absent().or("default"));
      }
    
      @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for Optional
      public void testOr_supplier_present() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. .github/workflows/test.yml

              key: ${{ runner.os }}-python-${{ env.pythonLocation }}-pydantic-v2-${{ hashFiles('pyproject.toml', 'requirements-tests.txt', 'requirements-docs-tests.txt') }}-test-v08
          - name: Install Dependencies
            if: steps.cache.outputs.cache-hit != 'true'
            run: pip install -r requirements-tests.txt
          - name: Install Pydantic v2
            run: pip install "pydantic>=2.0.2,<3.0.0"
          - name: Lint
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.4K bytes
    - Viewed (1)
  6. tests/test_tutorial/test_security/test_tutorial005.py

        assert response.status_code == 200, response.text
        content = response.json()
        assert "access_token" in content
        assert content["token_type"] == "bearer"
    
    
    def test_login_incorrect_password():
        response = client.post(
            "/token", data={"username": "johndoe", "password": "incorrect"}
        )
        assert response.status_code == 400, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. CODEOWNERS

    /tests/integration/telemetry/                                    @istio/wg-policies-and-telemetry-maintainers
    /tests/integration/pilot/                                        @istio/wg-networking-maintainers
    /tests/integration/qualification/                                @istio/wg-test-and-release-maintainers
    /tests/integration/security/                                     @istio/wg-security-maintainers
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 19:22:33 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java

        public NearestConflictResolverTest() throws Exception {
            super("nearest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
         * </pre>
         */
        @Test
        void testDepth() {
            ResolutionNode a1n = createResolutionNode(a1);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java

        public FarthestConflictResolverTest() throws Exception {
            super("farthest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
         * </pre>
         */
        @Test
        void testDepth() {
            ResolutionNode a1n = createResolutionNode(a1);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

    /**
     * A generic JUnit test which tests {@code listIterator} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top