Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 497 for testF (0.07 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/named_certificates_test.go

    						names: []string{"a.test.com", "test.com"},
    					},
    					explicitNames: []string{"*.test.com", "test.com"},
    				},
    				{
    					testCertSpec: testCertSpec{
    						host:  "b",
    						names: []string{"b.test.com", "test.com"},
    					},
    					explicitNames: []string{"dev.test.com", "test.com"},
    				}},
    			expected: map[string]int{
    				"test.com":     0,
    				"*.test.com":   0,
    				"dev.test.com": 1,
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 20 08:42:09 UTC 2021
    - 8K bytes
    - Viewed (0)
  2. istioctl/pkg/authz/analyzer_test.go

    	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    )
    
    func TestNewAnalyzer(t *testing.T) {
    	tests := []struct {
    		name    string
    		input   *configdump.Wrapper
    		wantErr error
    	}{
    		{
    			name: "Test1",
    			input: &configdump.Wrapper{
    				ConfigDump: &envoy_admin.ConfigDump{
    					Configs: []*anypb.Any{
    						{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/cleanup/DefaultBuildOutputCleanupRegistryTest.groovy

        def "can register files, directories and file collections"() {
            given:
            def dir1 = file('dir1')
            File file1 = file('someDir/test1.txt')
            File outputFile = file('someDir/test2.txt')
            def outputFiles = TestFiles.fixed(outputFile)
    
    
            when:
            registry.registerOutputs(dir1)
            registry.registerOutputs(file1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 29 20:47:06 UTC 2021
    - 3K bytes
    - Viewed (0)
  4. pkg/util/sets/set_test.go

    }
    
    func TestEquals(t *testing.T) {
    	tests := []struct {
    		name   string
    		first  Set[string]
    		second Set[string]
    		want   bool
    	}{
    		{
    			"both nil",
    			nil,
    			nil,
    			true,
    		},
    		{
    			"unequal length",
    			New("test"),
    			New("test", "test1"),
    			false,
    		},
    		{
    			"equal sets",
    			New("test", "test1"),
    			New("test", "test1"),
    			true,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. pkg/kube/controllers/example_test.go

    	// Wait for it to be ready
    	kube.WaitForCacheSync("test", stop, controller.HasSynced)
    
    	// In a test, we can also use a wrapped client that calls t.Fatal on errors
    	// pods := clienttest.Wrap(t, controller.pods)
    	_, _ = controller.pods.Create(&corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "test2"},
    		Status:     corev1.PodStatus{PodIP: "127.0.0.2"},
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/util/internal/DisconnectableInputStreamTest.groovy

            assertThat(nread, equalTo(-1))
    
            instr.close()
        }
    
        @Test
        void buffersDataReadFromSourceInputStream() {
            def instr = new DisconnectableInputStream(stream("test1test2end"), toActionExecuter(executorFactory))
    
            assertReads(instr, "test1")
            assertReads(instr, "test2")
            assertReads(instr, "end")
    
            def nread = instr.read(new byte[20])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 07 08:18:46 UTC 2021
    - 8.5K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/work_issue51204.txt

    go list -f '{{.Dir}}' example.com/test
    stdout '^'$PWD${/}test'$'
    
    -- go.work --
    go 1.18
    
    use (
    	./test2
    	./test2/sub
    )
    -- test/go.mod --
    module example.com/test
    
    go 1.18
    -- test/file.go --
    package test
    
    func DoSomething() {
    }
    -- test2/go.mod --
    module example.com/test2
    
    go 1.18
    
    replace example.com/test => ../test
    
    require example.com/test v0.0.0-00010101000000-000000000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 15 22:28:43 UTC 2022
    - 749 bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

                        assertTrue(url.contains("test/dir1") || url.contains("test/dir2") || url.contains("test/text1.txt")
                                || url.contains("test/text2.txt") || url.contains("test/text%203.txt"));
                    }
                }
            }
    
        }
    
        public void test_doGet_file() throws Exception {
            final File file = ResourceUtil.getResourceAsFile("test/text1.txt");
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. 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)
  10. .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)
Back to top