Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,073 for test (0.12 sec)

  1. tests/test_starlette_urlconvertors.py

        assert response.json() == {"float": 25.5}
        assert app.url_path_for("float_convertor", param=25.5) == "/float/25.5"  # type: ignore
    
    
    def test_route_converters_path():
        # Test path conversion
        response = client.get("/path/some/example")
        assert response.status_code == 200, response.text
        assert response.json() == {"path": "some/example"}
    
    
    def test_route_converters_query():
        # Test query conversion
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Nov 27 14:46:06 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertTrue;
    
    import java.io.File;
    import java.io.IOException;
    
    import org.codelibs.curl.Curl;
    import org.junit.Test;
    
    public class ContentOutputStreamTest {
    
        @Test
        public void inMemory() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4 });
    Registered: Sun Oct 27 04:35:21 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/admin/webconfig/admin_webconfig.jsp

                                                        <td class="text-center"><c:if
                                                                test="${data.available=='true'}">
    																	<span class="badge bg-primary"><la:message
                                                                                key="labels.enabled"/></span>
                                                        </c:if> <c:if test="${data.available=='false'}">
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Tue Mar 31 05:47:05 UTC 2020
    - 8.6K bytes
    - Viewed (0)
  4. internal/event/arn_test.go

    		data, err := xml.Marshal(testCase.arn)
    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    			t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr)
    		}
    
    		if !testCase.expectErr {
    			if !reflect.DeepEqual(data, testCase.expectedData) {
    				t.Fatalf("test %v: data: expected: %v, got: %v", i+1, string(testCase.expectedData), string(data))
    			}
    		}
    	}
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/dict/synonym/admin_dict_synonym.jsp

                                </div>
                                <%-- List --%>
                                <c:if test="${synonymPager.allRecordCount == 0}">
                                    <div class="row top10">
                                        <div class="col-sm-12">
                                            <em class="fa fa-info-circle text-primary">
                                            <la:message key="labels.list_could_not_find_crud_table"/>
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Tue Mar 24 13:43:18 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  6. cmd/object-api-putobject_test.go

    		inputDataSize int64
    		// expected error output.
    		expectedMd5   string
    		expectedError error
    	}{
    		// Cases with invalid bucket name.
    		0: {bucketName: ".test", objName: "obj", inputData: []byte(""), expectedError: BucketNameInvalid{Bucket: ".test"}},
    		1: {bucketName: "------", objName: "obj", inputData: []byte(""), expectedError: BucketNameInvalid{Bucket: "------"}},
    		2: {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

      TF_DeleteGraph(graph);
      TF_DeleteStatus(s);
    }
    
    TEST(CAPI, Session_Min_CPU) { RunMinTest(/*device=*/"", /*use_XLA=*/false); }
    
    TEST(CAPI, Session_Min_XLA_CPU) { RunMinTest(/*device=*/"", /*use_XLA=*/true); }
    
    TEST(CAPI, Session_Min_GPU) {
      const string gpu_device = GPUDeviceName();
      // Skip this test if no GPU is available.
      if (gpu_device.empty()) return;
    
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_request_files/test_tutorial002.py

                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
                ),
            )
        assert response.status_code == 200, response.text
        assert response.json() == {"filenames": ["test.txt", "test2.txt"]}
    
    
    def test_get_root():
        client = TestClient(app)
        response = client.get("/")
        assert response.status_code == 200, response.text
        assert b"<form" in response.content
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. internal/event/targetidset_test.go

    	for i, testCase := range testCases {
    		result := testCase.set.Clone()
    
    		if !reflect.DeepEqual(result, testCase.set) {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.set, result)
    		}
    
    		result.add(testCase.targetIDToAdd)
    		if reflect.DeepEqual(result, testCase.set) {
    			t.Fatalf("test %v: result: expected: not equal, got: equal", i+1)
    		}
    	}
    }
    
    func TestTargetIDSetUnion(t *testing.T) {
    	testCases := []struct {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  10. src/main/resources/mail/testmail.dfmail

    /*
     [Test Mail]
    */
    subject: [FESS] Test Mail: /*pmb.hostname:orElse('Unknown')*/
    >>>
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Feb 12 13:52:58 UTC 2016
    - 146 bytes
    - Viewed (0)
Back to top