Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 185 for testSqr (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/testing/tester.go

    	t.tester = t.tester.ClusterScope()
    	return t
    }
    
    func (t *Tester) Namer(namer func(int) string) *Tester {
    	t.tester = t.tester.Namer(namer)
    	return t
    }
    
    func (t *Tester) AllowCreateOnUpdate() *Tester {
    	t.tester = t.tester.AllowCreateOnUpdate()
    	return t
    }
    
    func (t *Tester) GeneratesName() *Tester {
    	t.tester = t.tester.GeneratesName()
    	return t
    }
    
    func (t *Tester) ReturnDeletedObject() *Tester {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 16:50:16 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileResolutionIntegrationTest.groovy

    def provider = project.provider { $expression }
    def f = files(provider)
    assert f.files as List == [file("testdir")]
    """
    
            expect:
            succeeds()
    
            where:
            expression                        | _
            "new File(projectDir, 'testdir')" | _
            "new File('testdir').toPath()"    | _
            "'testdir'"                       | _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 19:24:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

    public class DictionaryManagerTest extends UnitFessTestCase {
        private File testDir;
    
        private File file1;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            testDir = File.createTempFile("synonymtest", "_dir");
            testDir.delete();
            testDir.mkdirs();
            file1 = new File(testDir, "synonym.txt");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7SymlinkTest.groovy

            createWindowsJunction(new File(testDirectory, 'testDir'), testDirectory.createDir('symDir'))
    
            then:
            symlink.isSymlink(new File(testDirectory, 'testDir'))
    
            cleanup:
            // Need to delete the junction point manually because it's not supported by JDK
            // See: https://bugs.openjdk.java.net/browse/JDK-8069345
            new File(testDirectory, 'testDir').delete()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/UserInitScriptExecuterFixture.groovy

    abstract class UserInitScriptExecuterFixture implements MethodRule {
    
        GradleExecuter executer
        TestDirectoryProvider testDir
    
        UserInitScriptExecuterFixture(GradleExecuter executer, TestDirectoryProvider testDir) {
            this.executer = executer
            this.testDir = testDir
        }
    
        String initScriptContent() {
        }
    
        void afterBuild() {
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top