Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 91 for testFoo (0.19 sec)

  1. src/testing/internal/testdeps/deps.go

    func (TestDeps) ImportPath() string {
    	return ImportPath
    }
    
    // testLog implements testlog.Interface, logging actions by package os.
    type testLog struct {
    	mu  sync.Mutex
    	w   *bufio.Writer
    	set bool
    }
    
    func (l *testLog) Getenv(key string) {
    	l.add("getenv", key)
    }
    
    func (l *testLog) Open(name string) {
    	l.add("open", name)
    }
    
    func (l *testLog) Stat(name string) {
    	l.add("stat", name)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/AbstractSourceDependencyMultiprojectIntegrationTest.groovy

                    }
                }
            """
        }
    
        @ToBeFixedForConfigurationCache
        def "can resolve subproject of multi-project source dependency"() {
            mappingFor(repo, "org.test:foo")
            buildFile << """
                dependencies {
                    conf 'org.test:foo:latest.integration'
                }
            """
            expect:
            repo.expectListVersions()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. pkg/cmd/flag_test.go

    func TestInitializeBoolFlag(t *testing.T) {
    	cmd := &cobra.Command{}
    	var testBool bool
    	flag.BoolVar(&testBool, "testbool", defaultBool, "test bool flag")
    	AddFlags(cmd)
    
    	testName := "Initialize bool Flag"
    	if !flag.Parsed() {
    		t.Errorf("%s: flag.Parsed() returns false, should be true", testName)
    	}
    
    	cmd.Flags().VisitAll(func(f *pflag.Flag) {
    		if f.Name != "testbool" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_chatty_parallel_success_run.txt

    	close(afterSubTest)
    	<-afterSecondLog // Delay the "PASS: TestInterruptor" line until after "CONT  TestLog".
    }
    
    func TestLog(t *testing.T) {
    	t.Parallel()
    
    	t.Logf("this is the first TestLog log")
    	close(afterFirstLog)
    	<-afterSubTest
    	t.Logf("this is the second TestLog log")
    	close(afterSecondLog)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 1K bytes
    - Viewed (0)
  5. src/os/stat.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package os
    
    import "internal/testlog"
    
    // Stat returns a [FileInfo] describing the named file.
    // If there is an error, it will be of type [*PathError].
    func Stat(name string) (FileInfo, error) {
    	testlog.Stat(name)
    	return statNolog(name)
    }
    
    // Lstat returns a [FileInfo] describing the named file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 973 bytes
    - Viewed (0)
  6. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishResolvedVersionsJavaIntegTest.groovy

            javaLibrary.parsedModuleMetadata.variant("apiElements") {
                dependency("org.test:foo:1.0") {
                    exists()
                }
                noMoreDependencies()
            }
            javaLibrary.parsedModuleMetadata.variant("runtimeElements") {
                dependency("org.test:foo:1.0") {
                    exists()
                }
                dependency("org.test:bar:1.1") {
                    exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 18:52:27 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. src/internal/testlog/log.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package testlog provides a back-channel communication path
    // between tests and package os, so that cmd/go can see which
    // environment variables and files a test consults.
    package testlog
    
    import "sync/atomic"
    
    // Interface is the interface required of test loggers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 19:08:32 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  8. pkg/kubelet/logs/container_log_manager_test.go

    	testFile.Close()
    
    	testLog := testFile.Name()
    	c := &containerLogManager{osInterface: container.RealOS{}}
    	require.NoError(t, c.compressLog(testLog))
    	_, err = os.Stat(testLog + compressSuffix)
    	assert.NoError(t, err, "log should be compressed")
    	_, err = os.Stat(testLog + tmpSuffix)
    	assert.Error(t, err, "temporary log should be renamed")
    	_, err = os.Stat(testLog)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/internal/testlog/exit.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package testlog
    
    import (
    	"sync"
    	_ "unsafe" // for linkname
    )
    
    // PanicOnExit0 reports whether to panic on a call to os.Exit(0).
    // This is in the testlog package because, like other definitions in
    // package testlog, it is a hook between the testing package and the
    // os package. This is used to ensure that an early call to os.Exit(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/tests/tac-filter.mlir

    // expected-remark@below {{Tac filter (1) specified but not applied to any op}}
    // expected-remark@below {{Tac filter (2): filter type: op filter, filter_pattern: "^test_op"}}
    // expected-remark@below {{Tac filter (2) specified but not applied to any op}}
    module {
      // CHECK-LABEL: testFunctionSkiped
      // expected-remark@+1 {{filtered by tac filter (0)}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 24 01:08:29 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top