Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 285 for test_2 (0.11 sec)

  1. internal/bucket/lifecycle/lifecycle_test.go

    		tc := tc
    		t.Run(fmt.Sprintf("Test_%d", i+1), func(t *testing.T) {
    			lc, err := ParseLifecycleConfig(bytes.NewReader([]byte(tc.inputConfig)))
    			if err != nil {
    				t.Fatalf("Got unexpected error: %v", err)
    			}
    			// To ensure input lifecycle configurations are valid
    			if err := lc.Validate(lock.Retention{}); err != nil {
    				t.Fatalf("Invalid test case: %d %v", i+1, err)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/settings.md

    ///
    
    ```Python hl_lines="16  18-20"
    {!> ../../docs_src/settings/app02/main.py!}
    ```
    
    ////
    
    ### Configurações e testes
    
    Então seria muito fácil fornecer uma configuração diferente durante a execução dos testes sobrescrevendo a dependência de `get_settings`:
    
    ```Python hl_lines="9-10  13  21"
    {!../../docs_src/settings/app02/test_main.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        return this;
      }
    
      /**
       * Ignore {@code method} in the tests that follow. Returns this object.
       *
       * @since 13.0
       */
      @CanIgnoreReturnValue
      public NullPointerTester ignore(Method method) {
        ignoredMembers.add(checkNotNull(method));
        return this;
      }
    
      /**
       * Ignore {@code constructor} in the tests that follow. Returns this object.
       *
       * @since 22.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. internal/bucket/replication/replication_test.go

    			prefix:         "testdir/",
    			expectedNonRec: true,
    			expectedRec:    true,
    		},
    	}
    
    	for i, tc := range testCases {
    		tc := tc
    		t.Run(fmt.Sprintf("Test_%d", i+1), func(t *testing.T) {
    			cfg, err := ParseConfig(bytes.NewReader([]byte(tc.inputConfig)))
    			if err != nil {
    				t.Fatalf("Got unexpected error: %v", err)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertFalse(changed);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Iterators.class);
      }
    
      @GwtIncompatible // Only used by @GwtIncompatible code
      private abstract static class EmptyIteratorTester extends IteratorTester<Integer> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        return this;
      }
    
      /**
       * Ignore {@code method} in the tests that follow. Returns this object.
       *
       * @since 13.0
       */
      @CanIgnoreReturnValue
      public NullPointerTester ignore(Method method) {
        ignoredMembers.add(checkNotNull(method));
        return this;
      }
    
      /**
       * Ignore {@code constructor} in the tests that follow. Returns this object.
       *
       * @since 22.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. docs/pt/docs/alternatives.md

    * Suporte a GraphQL.
    * Tarefas de processamento interno por trás dos panos.
    * Eventos de inicialização e encerramento.
    * Cliente de testes construído com HTTPX.
    * Respostas CORS, GZip, Arquivos Estáticos, Streaming.
    * Suporte para Sessão e Cookie.
    * 100% coberto por testes.
    * Código base 100% anotado com tipagem.
    * Dependências complexas Zero.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. src/bufio/bufio_test.go

    	var wr = NewWriter(writeErrorOnlyWriter{})
    	s := "test1"
    	wantBuffered := len(s)
    	if _, err := wr.WriteString(s); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if err := wr.Flush(); err == nil {
    		t.Error("expected flush error, got nil")
    	}
    	if _, err := wr.ReadFrom(strings.NewReader("test2")); err == nil {
    		t.Fatal("expected error, got nil")
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. doc/godebug.md

    `}}
    
    Only differences from the base Go toolchain defaults are reported.
    
    When testing a package, `//go:debug` lines in the `*_test.go`
    files are treated as directives for the test's main package.
    In any other context, `//go:debug` lines are ignored by the toolchain;
    `go` `vet` reports such lines as misplaced.
    
    ## GODEBUG History {#history}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 28 14:46:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. cmd/object-api-listobjects_test.go

    		result ListObjectsInfo
    		err    error
    		// Flag indicating whether the test is expected to pass or not.
    		shouldPass bool
    	}{
    		// Test cases with invalid bucket names ( Test number 1-4 ).
    		{".test", "", "", "", 0, ListObjectsInfo{}, BucketNameInvalid{Bucket: ".test"}, false},
    		{"Test", "", "", "", 0, ListObjectsInfo{}, BucketNameInvalid{Bucket: "Test"}, false},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
Back to top