Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 124 for testF (0.04 sec)

  1. tests/test_tutorial/test_request_files/test_tutorial002.py

    def test_post_files(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. .github/workflows/tests.yml

        - name: Tests
          run: GITHUB_ACTION=true GORM_DIALECT=postgres GORM_DSN="user=gorm password=gorm dbname=gorm host=localhost port=9920 sslmode=disable TimeZone=Asia/Shanghai" ./tests/tests_all.sh
    
      sqlserver:
        strategy:
          matrix:
            go: ['1.22', '1.21', '1.20']
            platform: [ubuntu-latest] # can not run test in macOS and windows
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:24:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. tests/integration/tests.mk

    # Generate integration test targets for kubernetes environment.
    test.integration.%.kube: | $(JUNIT_REPORT) check-go-tag
    	$(call run-test,./tests/integration/$(subst .,/,$*)/...)
    
    # Generate integration fuzz test targets for kubernetes environment.
    test.integration-fuzz.%.kube: | $(JUNIT_REPORT) check-go-tag
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    			ok = false
    		}
    	}
    	return ok
    }
    
    func isTestingType(typ types.Type, testingType string) bool {
    	// No Unalias here: I doubt "go test" recognizes
    	// "type A = *testing.T; func Test(A) {}" as a test.
    	ptr, ok := typ.(*types.Pointer)
    	if !ok {
    		return false
    	}
    	return analysisutil.IsNamedType(ptr.Elem(), "testing", testingType)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_pods_test.go

    	for _, test := range tests {
    		statusInfo := append(test.pod.Status.InitContainerStatuses[:], test.pod.Status.ContainerStatuses[:]...)
    		status := getPhase(test.pod, statusInfo, test.podIsTerminal)
    		assert.Equal(t, test.status, status, "[test %s]", test.test)
    	}
    }
    
    func TestPodPhaseWithRestartNever(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/SelfResolvingDependencyIntegrationTest.groovy

            outputContains("resolve-transitive: [lib.jar]")
        }
    
        // This test documents existing behaviour rather than desired behaviour
        @ToBeFixedForConfigurationCache(because = "Task uses the Configuration API")
        def "can query project dependency for its files"() {
            mavenRepo.module("group", "test1", "1.0").publish()
            mavenRepo.module("group", "test2", "1.0").publish()
    
            createDirs("child1", "child2", "child3")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. testing/performance/src/templates/project-with-source/Test.java

    package ${packageName};
    
    import static org.junit.Assert.*;
    
    public class ${testClassName} {
        private final ${productionClassName} production = new ${productionClassName}("value");
    
        @org.junit.Test
        public void test() {
            assertEquals(production.getProperty(), "value");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 294 bytes
    - Viewed (0)
  8. testing/performance/src/templates/with-junit/Test.java

        private final ${productionClassName} production = new ${productionClassName}("value");
    
    <% (binding.hasVariable("testMethodCount") ? testMethodCount : 20).times { index ->  %>
        @org.junit.Test
        public void test${index}() {
            assertEquals(production.getProperty(), "value");
        }
    <% } %>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 399 bytes
    - Viewed (0)
  9. testing/integ-test/src/integTest/groovy/org/gradle/integtests/BuildScriptClasspathIntegrationTest.java

                    "public class OnDemandImportedClass { }"
            );
            builder.buildJar(testFile("repo/test-1.3.jar"));
    
            testFile("build.gradle").writelns(
                    "import org.gradle.test.ImportedClass",
                    "import static org.gradle.test.StaticImportedClass.*",
                    "import static org.gradle.test.StaticImportedFieldClass.anotherValue",
                    "import org.gradle.test2.*",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. testing/performance/src/templates/with-testng/Test.java

    import static org.testng.Assert.*;
    
    public class ${testClassName} {
        private final ${productionClassName} production = new ${productionClassName}("value");
    
    <% 20.times { index -> %>
        @Test
        public void test${index}() {
            assertEquals(production.getProperty(), "value");
        }
    <% } %>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 360 bytes
    - Viewed (0)
Back to top