- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 342 for testSqr (0.12 sec)
-
pkg/env/var_test.go
} } func TestDesc(t *testing.T) { reset() _ = RegisterDurationVar(testVar+"5", 123*time.Second, "A duration") _ = RegisterStringVar(testVar+"1", "123", "A string") _ = RegisterIntVar(testVar+"2", 456, "An int") _ = RegisterBoolVar(testVar+"3", true, "A bool") _ = RegisterFloatVar(testVar+"4", 789.0, "A float") vars := VarDescriptions() if vars[0].Name != "TESTXYZ1" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 8.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy
given: def dir = testDir.file("thing.dir") classesDir(dir) def file = testDir.file("thing.jar") jar(file) def dir2 = testDir.file("thing2.dir") classesDir(dir2) def file2 = testDir.file("thing2.jar") jar(file2) def dir3 = testDir.file("thing3.dir") classesDir(dir3) def file3 = testDir.file("thing3.jar") jar(file3)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 20.8K bytes - Viewed (0) -
pkg/test/framework/resource/matcher_test.go
input: []string{"Foo"}, matches: []string{"TestFoo", "TestMyFooBar", "TestFoo/TestBar"}, nomatches: []string{"baz", "baz/foo", "TestBar/TestFoo"}, }, { name: "double", input: []string{"Foo/Bar"}, matches: []string{"TestFoo/TestBar", "TestFoo/TestBar/TestBaz"}, nomatches: []string{"TestFoo", "TestBar", "TestMyFooBar"}, }, { name: "space", input: []string{"TestFoo/with space"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 12 23:30:37 UTC 2021 - 2.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultSourceDirectorySetTest.groovy
dirs.files == [testDir.file('dir1'), testDir.file('dir2')] as Set when: set.srcDirs = [] then: dirs.files.empty } void containsFilesFromEachSourceDirectory() { File srcDir1 = new File(testDir, 'dir1') touch(new File(srcDir1, 'subdir/file1.txt')) touch(new File(srcDir1, 'subdir/file2.txt')) File srcDir2 = new File(testDir, 'dir2')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 28 15:32:09 UTC 2022 - 14.4K bytes - Viewed (0) -
tests/test_params_repr.py
from dirty_equals import IsOneOf from fastapi.params import Body, Cookie, Depends, Header, Param, Path, Query test_data: List[Any] = ["teststr", None, ..., 1, []] def get_user(): return {} # pragma: no cover def test_param_repr_str(): assert repr(Param("teststr")) == "Param(teststr)" def test_param_repr_none(): assert repr(Param(None)) == "Param(None)" def test_param_repr_ellipsis():
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 3.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
return [acceptedApiChanges: [:], publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'], apiChangesJsonFile: new File(testDir, 'test-api-changes.json').path, projectRootDir: testDir.path] } String replaceAsInternal(String name) { return name.replace('gradlebuild', 'gradlebuild.internal') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy
missingFile = testDir.file("missing.txt") existingDir = testDir.file("dir").createDir() missingDir = testDir.file("missing-dir") missingDir2 = testDir.file("missing-dir2") } FileResolver getFileResolver() { return project.fileResolver } FileCollectionFactory getFileCollectionFactory() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 38.8K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/visitor_test.go
testDir := t.TempDir() filePaths := []string{ filepath.Join(testDir, "0", "10.yaml"), filepath.Join(testDir, "0", "a", "10.yaml"), filepath.Join(testDir, "02.yaml"), filepath.Join(testDir, "10.yaml"), filepath.Join(testDir, "2.yaml"), filepath.Join(testDir, "AB.yaml"), filepath.Join(testDir, "a", "a.yaml"), filepath.Join(testDir, "a", "b.json"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 09:47:52 UTC 2023 - 9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/tasks/ant/AntTargetTest.java
public class AntTargetTest { @Rule public TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass()); private final Target antTarget = new Target(); private final File baseDir = testDir.getTestDirectory(); private final ProjectInternal project = TestUtil.create(testDir).rootProject(); private final AntTarget task = TestUtil.createTask(AntTarget.class, project); @Before
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 30 07:54:03 UTC 2020 - 2.6K bytes - Viewed (0) -
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/fixtures/StaleOutputJavaProject.groovy
this(testDir, buildDirName, null) } StaleOutputJavaProject(TestFile testDir, String buildDirName, String projectDir) { this.testDir = testDir this.projectDir = projectDir this.buildDirName = buildDirName this.projectPath = projectDir ? ":" + projectDir : "" mainSourceFile = writeJavaSourceFile('Main')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 4.2K bytes - Viewed (0)