- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 342 for testSqr (0.19 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskDestroyablesTest.groovy
taskDestroys.registeredFiles.singleFile == testDir.file("a") } def "can declare multiple files that a task destroys"() { when: taskDestroys.register("a", "b") then: taskDestroys.registeredFiles.files == [testDir.file("a"), testDir.file("b")] as Set } def "can declare a file collection that a task destroys"() { def files = [testDir.file('a'), testDir.file('b')] as Set
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 03 07:26:07 UTC 2020 - 2.7K bytes - Viewed (0) -
src/embed/internal/embedtest/embed_test.go
var testDirAll embed.FS func TestDir(t *testing.T) { all := testDirAll testFiles(t, all, "testdata/hello.txt", "hello, world\n") testFiles(t, all, "testdata/i/i18n.txt", "internationalization\n") testFiles(t, all, "testdata/i/j/k/k8s.txt", "kubernetes\n") testFiles(t, all, "testdata/ken.txt", "If a program is too slow, it must have a loop.\n") testDir(t, all, ".", "testdata/") testDir(t, all, "testdata/i", "i18n.txt", "j/")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 14 20:10:16 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/InstallTest.groovy
} void setup() { initConfiguration() testDir = temporaryFolder.testDirectory distributionDir = new TestFile(testDir, 'someDistPath') gradleHomeDir = new TestFile(distributionDir, 'gradle-0.9') zipStore = new File(testDir, 'zips') zipDestination = new TestFile(zipStore, zipFileName)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:12:34 UTC 2023 - 9.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ScopeIdsFixture.groovy
boolean disableConsistentWorkspaceIdCheck boolean disableConsistentUserIdCheck ScopeIdsFixture(GradleExecuter executer, TestDirectoryProvider testDir) { super(executer, testDir) } int getBuildCount() { idsOfBuildTrees.size() } List<ScopeIds> getIds() { idsOfBuildTrees.collect { it.get(":") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.2K bytes - Viewed (0) -
src/strconv/atoi_test.go
test := &parseInt32Tests[i] out, err := Atoi(test.in) var testErr error if test.err != nil { testErr = &NumError{"Atoi", test.in, test.err.(*NumError).Err} } if int(test.out) != out || !reflect.DeepEqual(testErr, err) { t.Errorf("Atoi(%q) = %v, %v want %v, %v", test.in, out, err, test.out, testErr) } } case 64: for i := range parseInt64Tests {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 21 05:09:21 UTC 2023 - 17.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/initialization/DefaultSettingsTest.groovy
} def 'can create project descriptor'() { String testName = "testname" File testDir = new File("testDir") when: DefaultProjectDescriptor projectDescriptor = settings.createProjectDescriptor(settings.getRootProject(), testName, testDir) then: settings.rootProject.is(projectDescriptor.parent)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 01 18:57:54 UTC 2023 - 5.9K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccToolChainTest.groovy
} def "resolves path entries"() { def testDir = tmpDirProvider.testDirectory when: toolChain.path "The Path" toolChain.path "Path1", "Path2" then: fileResolver.resolve("The Path") >> testDir.file("one") fileResolver.resolve("Path1") >> testDir.file("two") fileResolver.resolve("Path2") >> testDir.file("three") and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/SampleTestNGIntegrationTest.groovy
} @Test @UsesSample('testing/testng-suitexmlbuilder') void suiteXmlBuilder() { def testDir = sample.dir.file('groovy') executer.inDirectory(testDir).withTasks('clean', 'test').run() def result = new DefaultTestExecutionResult(testDir) result.assertTestClassesExecuted('org.gradle.testng.UserImplTest')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3K bytes - Viewed (0) -
pkg/kubelet/token/token_manager_test.go
req := requests[index] if req.shouldFail { testMgr.getToken = failGetToken } else { testMgr.getToken = successGetToken } testMgr.GetServiceAccountToken(req.namespace, req.name, &req.tr) } for _, uid := range c.deletePodUID { testMgr.DeleteServiceAccountToken(uid) } if len(c.expLeftIndex) != len(testMgr.cache) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 04 00:16:47 UTC 2022 - 16.2K bytes - Viewed (0) -
test/README.md
It includes black box tests, regression tests, and error output tests. They are run as part of all.bash. To run just these tests, execute: ../bin/go test cmd/internal/testdir To run just tests from specified files in this directory, execute: ../bin/go test cmd/internal/testdir -run='Test/(file1.go|file2.go|...)' Standard library tests should be written as regular Go tests in the appropriate package.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 17:18:08 UTC 2023 - 731 bytes - Viewed (0)