Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 145 for test_app (0.16 sec)

  1. tests/test_default_response_class.py

    
    client = TestClient(app)
    
    orjson_type = "application/x-orjson"
    text_type = "text/plain; charset=utf-8"
    html_type = "text/html; charset=utf-8"
    override_type = "application/x-override"
    
    
    def test_app():
        with client:
            response = client.get("/")
        assert response.json() == {"msg": "Hello World"}
        assert response.headers["content-type"] == orjson_type
    
    
    def test_app_override():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Mar 01 20:49:20 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  2. tests/test_ws_router.py

        app.include_router(router)
        app.include_router(prefix_router, prefix="/prefix")
        app.include_router(native_prefix_route)
        return app
    
    
    app = make_app(app)
    
    
    def test_app():
        client = TestClient(app)
        with client.websocket_connect("/") as websocket:
            data = websocket.receive_text()
            assert data == "Hello, world!"
    
    
    def test_router():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy

                apply plugin: 'cpp-application'
                application.baseName = 'test_app'
             """
    
            expect:
            succeeds "assemble"
            result.assertTasksExecuted(tasks.debug.allToInstall, ':assemble')
    
            file("build/obj/main/debug").assertIsDir()
            executable("build/exe/main/debug/test_app").assertExists()
            installation("build/install/main/debug").exec().out == app.expectedOutput
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 19:11:01 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/TestApp.java

    import org.gradle.integtests.fixtures.SourceFile;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    
    public abstract class TestApp extends TestNativeComponent {
        public abstract SourceFile getMainSource();
        public abstract SourceFile getLibraryHeader();
        public abstract List<SourceFile> getLibrarySources();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/process/internal/TestApp.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.process.internal;
    
    import java.util.Arrays;
    
    public class TestApp {
        public static void main(String[] args) {
            System.out.print("output args: " + Arrays.asList(args));
            System.err.print("error args: " + Arrays.asList(args));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 09 05:01:31 UTC 2014
    - 886 bytes
    - Viewed (0)
  6. tensorflow/c/test_op.cc

    ==============================================================================*/
    
    #include "tensorflow/core/framework/op.h"
    #include "tensorflow/core/framework/op_kernel.h"
    
    namespace tensorflow {
    
    REGISTER_OP("TestCApi").Doc(R"doc(Used to test C API)doc");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 13 00:16:08 UTC 2016
    - 874 bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    @PlexusTest
    class TestApi {
    
        Session session;
    
        @Inject
        RepositorySystem repositorySystem;
    
        @Inject
        org.apache.maven.project.ProjectBuilder projectBuilder;
    
        @Inject
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 14:13:36 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    //
    // Example invocation:
    //  bazel test //tensorflow/c/experimental/filesystem:modular_filesystem_test \\
    //  --test_arg=--dso=/path/to/one.so --test_arg=--dso=/path/to/another.so \\
    //  --test_arg=--scheme= --test_arg=--scheme=file
    //
    // Note that to test the local filesystem we use an empty value.
    
    namespace tensorflow {
    namespace {
    
    using ::tensorflow::error::Code;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:25:58 UTC 2022
    - 71K bytes
    - Viewed (0)
  9. fess-crawler/src/test/resources/extractor/msoffice/test_as.xlsx

    Shinsuke Sugaya <******@****.***> 1444529815 +0900
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 9K bytes
    - Viewed (0)
  10. fess-crawler/src/test/resources/extractor/msoffice/test_as.doc

    Shinsuke Sugaya <******@****.***> 1444529815 +0900
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 25.5K bytes
    - Viewed (0)
Back to top