- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 69 for testProg (0.28 sec)
-
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/ExtraPropertiesIntegrationTest.groovy
createDirs("a", "a/a1") settingsFile << "include ':a:a1'" buildFile << """ ext.testProp = 'rootValue' task checkTestProp { doLast { assert testProp == 'rootValue' } } """.stripIndent() ['a', 'b', 'a:a1'].each {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 2.9K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/os/env.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // General environment variables. package os import ( "internal/testlog" "syscall" ) // Expand replaces ${var} or $var in the string based on the mapping function. // For example, [os.ExpandEnv](s) is equivalent to [os.Expand](s, [os.Getenv]).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/dependencies/AbstractDependencyDescriptorFactoryInternalSpec.groovy
abstract class AbstractDependencyDescriptorFactoryInternalSpec extends Specification { static final TEST_DEP_CONF = "depconf1" static final TEST_EXCLUDE_RULE = new org.gradle.api.internal.artifacts.DefaultExcludeRule("testOrg", null) static final TEST_IVY_EXCLUDE_RULE = getTestExcludeRule() static final ARTIFACT = new DefaultDependencyArtifact("name", "type", "classifier", "ext", null)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 27 19:31:08 UTC 2024 - 4.9K bytes - Viewed (0) -
src/os/proc.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Process etc. package os import ( "internal/testlog" "runtime" "syscall" ) // Args hold the command-line arguments, starting with the program name. var Args []string func init() { if runtime.GOOS == "windows" { // Initialized in exec_windows.go.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 2.3K bytes - Viewed (0) -
clause/from_test.go
package clause_test import ( "fmt" "testing" "gorm.io/gorm/clause" ) func TestFrom(t *testing.T) { results := []struct { Clauses []clause.Interface Result string Vars []interface{} }{ { []clause.Interface{clause.Select{}, clause.From{}}, "SELECT * FROM `users`", nil, }, { []clause.Interface{ clause.Select{}, clause.From{ Tables: []clause.Table{{Name: "users"}},
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jul 15 02:25:10 UTC 2020 - 1.9K bytes - Viewed (0)