Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for testOk (0.13 sec)

  1. src/encoding/xml/marshal_test.go

    func TestMarshalErrors(t *testing.T) {
    	for idx, test := range marshalErrorTests {
    		data, err := Marshal(test.Value)
    		if err == nil {
    			t.Errorf("#%d: marshal(%#v) = [success] %q, want error %v", idx, test.Value, data, test.Err)
    			continue
    		}
    		if err.Error() != test.Err {
    			t.Errorf("#%d: marshal(%#v) = [error] %v, want %v", idx, test.Value, err, test.Err)
    		}
    		if test.Kind != reflect.Invalid {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  2. src/testing/testing.go

    // For example, using "matching" to mean "whose name contains":
    //
    //	go test -run ''        # Run all tests.
    //	go test -run Foo       # Run top-level tests matching "Foo", such as "TestFooBar".
    //	go test -run Foo/A=    # For top-level tests matching "Foo", run subtests matching "A=".
    //	go test -run /A=1      # For all top-level tests, run subtests matching "A=1".
    //	go test -fuzz FuzzFoo  # Fuzz the target matching "FuzzFoo"
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ProjectDependencyResolveIntegrationTest.groovy

            then:
            executedAndNotSkipped ":b:jar", ":c:jar"
            resolve.expectGraph {
                root(":a", "test:a:") {
                    project(":b", "test:b:") {
                        project(":c", "test:c:") {
                            project(":a", "test:a:")
                        }
                    }
                }
            }
        }
    
        @NotYetImplemented
        @Issue('GRADLE-3280')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvedArtifactOrderingIntegrationTest.groovy

            when:
            def modD = mavenRepo.module("org.test", "D").publish()
            def modC = mavenRepo.module("org.test", "C").dependsOn(modD).publish()
            def modB = mavenRepo.module("org.test", "B").dependsOn(modD).publish()
            def modA = mavenRepo.module("org.test", "A").dependsOn(modB).dependsOn(modC).publish()
    
            then:
            checkOrdered([modA, modB, modC, modD])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/test/test.go

    test ./...', and even 'go test .'). In this mode, go test compiles
    and tests each of the packages listed on the command line. If a
    package test passes, go test prints only the final 'ok' summary
    line. If a package test fails, go test prints the full test output.
    If invoked with the -bench or -v flag, go test prints the full
    output even for passing package tests, in order to display the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  6. src/testing/fstest/testfs.go

    // The contents of fsys must not change concurrently with TestFS.
    //
    // If TestFS finds any misbehaviors, it returns either the first error or a
    // list of errors. Use [errors.Is] or [errors.As] to inspect.
    //
    // Typical usage inside a test is:
    //
    //	if err := fstest.TestFS(myFS, "file/that/should/be/present"); err != nil {
    //		t.Fatal(err)
    //	}
    func TestFS(fsys fs.FS, expected ...string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. docs/tr/docs/python-types.md

    Bunu yaparak, düzenleyicinizin listedeki öğeleri işlerken bile destek sağlamasını sağlayabilirsiniz:
    
    <img src="/img/python-types/image05.png">
    
    Tip belirteçleri olmadan, bunu başarmak neredeyse imkansızdır.
    
    `item` değişkeninin `items` listesindeki öğelerden biri olduğuna dikkat edin.
    
    Ve yine, editör bunun bir `str` ​​olduğunu biliyor ve bunun için destek sağlıyor.
    
    #### `Tuple` ve `Set`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. .github/workflows/tests.yml

            with:
              path: ~/go/pkg/mod
              key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('tests/go.mod') }}
    
          - name: Tests
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:24:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. tests/integration/tests.mk

    # Generate integration test targets for kubernetes environment.
    test.integration.%.kube: | $(JUNIT_REPORT) check-go-tag
    	$(call run-test,./tests/integration/$(subst .,/,$*)/...)
    
    # Generate integration fuzz test targets for kubernetes environment.
    test.integration-fuzz.%.kube: | $(JUNIT_REPORT) check-go-tag
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

        }
    
        @Test
        void testBadDependencyScope() throws Exception {
            SimpleProblemCollector result = validate("bad-dependency-scope.xml");
    
            assertViolations(result, 0, 0, 2);
    
            assertTrue(result.getWarnings().get(0).contains("test:f"));
    
            assertTrue(result.getWarnings().get(1).contains("test:g"));
        }
    
        @Test
        void testBadDependencyManagementScope() throws Exception {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 13:13:07 UTC 2024
    - 32.8K bytes
    - Viewed (0)
Back to top