Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for test32 (0.18 sec)

  1. pilot/pkg/networking/core/listener_test.go

    	// storing the services out of time order to test that it's being sorted properly.
    	testOutboundListenerConflict(t,
    		buildServiceWithPort("test1.com", 3306, protocol.HTTP, tnow.Add(1*time.Second)),
    		buildServiceWithPort("test2.com", 3306, protocol.MySQL, tnow))
    	testOutboundListenerConflict(t,
    		buildServiceWithPort("test1.com", 9999, protocol.HTTP, tnow.Add(1*time.Second)),
    		buildServiceWithPort("test2.com", 9999, protocol.MySQL, tnow))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  2. pilot/pkg/model/push_context_test.go

    					},
    				},
    			},
    		},
    	}
    
    	expectedns := []string{
    		"testns/super-high-priority", "testns/high-priority", "testns/default-priority", "testns/a-medium-priority",
    		"testns/b-medium-priority", "testns/b-low-priority", "testns/a-low-priority",
    	}
    
    	expectedns1 := []string{"testns-1/default-priority", "testns-1/a-medium-priority", "testns-1/b-medium-priority"}
    
    	for _, cfg := range envoyFilters {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers_test.go

    	}
    	for _, test := range tl {
    		if test.got != test.exp {
    			t.Errorf("On %v, expected '%v', but got '%v'",
    				test.name, test.exp, test.got)
    		}
    	}
    }
    
    func TestPrintDeployment(t *testing.T) {
    
    	testDeployment := apps.Deployment{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:              "test1",
    			CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  4. 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)
  5. tests/test_tutorial/test_request_files/test_tutorial002_py39.py

        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)),
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_files/test_tutorial002_an.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)
  7. tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py

        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.9K bytes
    - Viewed (0)
  8. tests/test_annotated.py

    def test_multiple_path():
        app = FastAPI()
    
        @app.get("/test1")
        @app.get("/test2")
        async def test(var: Annotated[str, Query()] = "bar"):
            return {"foo": var}
    
        client = TestClient(app)
        response = client.get("/test1")
        assert response.status_code == 200
        assert response.json() == {"foo": "bar"}
    
        response = client.get("/test1", params={"var": "baz"})
        assert response.status_code == 200
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomResolutionTest.kt

    import org.junit.jupiter.api.Test
    import kotlin.test.assertEquals
    
    
    object DomResolutionTest {
    
        @Test
        fun `resolves declarative document`() {
            val resolver = tracingCodeResolver()
    
            val topLevelBlock = parseAsTopLevelBlock(
                """
                addAndConfigure("test") {
                    number = 123
                }
                justAdd("test2")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/ops/gen/common/case_format_test.cc

          "THREE_N_TEST33_WORDS",
      });
    }
    
    TEST(CppOpGenCaseFormat, test_hyphen_delimiter) {
      TestAllVariations(
          Variations{
              "threeNTest33Words",
              "three-n-test33-words",
              "ThreeNTest33Words",
              "THREE-N-TEST33-WORDS",
          },
          '-');
    }
    
    TEST(CppOpGenCaseFormat, test_trailing_underscore) {
      TestAllVariations(Variations{
          "threeNTest33Words_",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top