Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for for_tests (0.22 sec)

  1. src/cmd/go/testdata/script/toolexec.txt

    #
    #    test/main                        - the regular non-test package
    #    test/main.test                   - the generated test program
    #    test/main [test/main.test]       - the test package for foo_test.go
    #    test/main_test [test/main.test]  - the test package for foo_separate_test.go
    #
    # As such, TOOLEXEC_IMPORTPATH must see the same strings, to be able to uniquely
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/goflags.txt

    go test -tags=magic -c -o $devnull
    go vet -tags=magic
    
    # GOFLAGS uses the same quoting rules (quoted.Split) as the rest of
    # the go command env variables
    env GOFLAGS='"-tags=magic wizardry"'
    go list
    
    -- foo_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 16:47:27 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_test_pkgselect.txt

    -- go.mod --
    module example
    
    go 1.18
    
    -- foo/foo.go --
    package foo
    
    func FooFunc() int {
    	return 42
    }
    func FooFunc2() int {
    	return 42
    }
    
    -- foo/foo_test.go --
    package foo
    
    import "testing"
    
    func TestFoo(t *testing.T) {
    	if FooFunc() != 42 {
    		t.Fatalf("bad")
    	}
    }
    
    -- bar/bar.go --
    package bar
    
    import "example/foo"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. cmd/import-boss/main_test.go

    		expect: false,
    	}, {
    		input:  []string{"foo.go", "bar.go"},
    		expect: false,
    	}, {
    		input:  []string{"foo_test.go"},
    		expect: true,
    	}, {
    		input:  []string{"foo.go", "foo_test.go"},
    		expect: true,
    	}, {
    		input:  []string{"foo.go", "foo_test.go", "bar.go", "bar_test.go"},
    		expect: true,
    	}}
    
    	for _, tc := range cases {
    		ret := hasTestFiles(tc.input)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/idea/IdeaIntegrationTest/canCreateAndDeleteMetaData/expectedFiles/webservice/webservice.iml.xml

          <excludeFolder url="file://$MODULE_DIR$/.gradle"/>
          <excludeFolder url="file://$MODULE_DIR$/build"/>
        </content>
        <orderEntry type="sourceFolder" forTests="false"/>
        <orderEntry type="module" module-name="api"/>
        <orderEntry type="module-library" scope="PROVIDED">
          <library>
            <CLASSES>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. src/internal/fmtsort/sort_test.go

    				}
    			}
    		}
    	}
    }
    
    type sortTest struct {
    	data  any    // Always a map.
    	print string // Printed result using our custom printer.
    }
    
    var sortTests = []sortTest{
    	{
    		map[int]string{7: "bar", -3: "foo"},
    		"-3:foo 7:bar",
    	},
    	{
    		map[uint8]string{7: "bar", 3: "foo"},
    		"3:foo 7:bar",
    	},
    	{
    		map[string]string{"7": "bar", "3": "foo"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    //   when launching the sub-process.  This means that the user must
    //   invoke the test program via a path that contains at least one
    //   path separator (e.g. path/to/foo_test and
    //   /absolute/path/to/bar_test are fine, but foo_test is not).  This
    //   is rarely a problem as people usually don't put the test binary
    //   directory in PATH.
    //
    // TODO(******@****.***): make thread-safe death tests search the PATH.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    //   when launching the sub-process.  This means that the user must
    //   invoke the test program via a path that contains at least one
    //   path separator (e.g. path/to/foo_test and
    //   /absolute/path/to/bar_test are fine, but foo_test is not).  This
    //   is rarely a problem as people usually don't put the test binary
    //   directory in PATH.
    //
    // TODO(******@****.***): make thread-safe death tests search the PATH.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/composite/composite.go

    		return true
    	case *types.Pointer:
    		return isLocalType(pass, x.Elem())
    	case interface{ Obj() *types.TypeName }: // *Named or *TypeParam (aliases were removed already)
    		// names in package foo are local to foo_test too
    		return strings.TrimSuffix(x.Obj().Pkg().Path(), "_test") == strings.TrimSuffix(pass.Pkg.Path(), "_test")
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. cmd/import-boss/main.go

    		if isDirect[imp] {
    			return "->"
    		}
    		return "-->"
    	}
    
    	var errs []error
    	for _, imp := range uniq(direct, indirect) {
    		if unmassage(imp) == realPkgPath {
    			// Tests in package "foo_test" depend on the test package for
    			// "foo" (if both exist in a giver directory).
    			continue
    		}
    		klog.V(4).Infof("considering import %q %s %q", pkg.PkgPath, relate(imp), imp)
    		matched := false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top