Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 109 for test_fail (0.48 sec)

  1. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/XCTestTestFrameworkIntegrationTest.groovy

            }
        }
    
        @Override
        String getPassingTestCaseName() {
            return "testPass"
        }
    
        @Override
        String getFailingTestCaseName() {
            return "testFail"
        }
    
        @Override
        String testSuite(String testSuite) {
            return "AppTest.$testSuite"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/pjrt_tensor_buffer_util_test.cc

    #include "tensorflow/compiler/jit/pjrt_tensor_buffer_util.h"
    
    #include <cstdint>
    #include <optional>
    #include <utility>
    #include <vector>
    
    #include <gtest/gtest.h>
    #include "tensorflow/compiler/jit/test_util.h"
    #include "xla/pjrt/pjrt_client.h"
    #include "xla/shape.h"
    #include "xla/shape_util.h"
    #include "tensorflow/core/framework/allocator.h"
    #include "tensorflow/core/framework/device.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 14 18:14:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables_test_pass.cc

    // This pass is only available in the tf-opt binary for testing.
    class LiftVariablesTestPass
        : public impl::LiftVariablesTestPassBase<LiftVariablesTestPass> {
     public:
      LiftVariablesTestPass() { session_ = new TF::test_util::FakeSession(); }
    
      ~LiftVariablesTestPass() override { delete session_; }
    
      void runOnOperation() override {
        ModuleOp module = getOperation();
        if (failed(tf_saved_model::LiftVariables(module, session_)))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/tfcompile.bzl

        )
    
        if gen_test:
            test_name = name + "_test"
            test_file = test_name + ".cc"
    
            template_file = "//tensorflow/compiler/aot:test"
            template_file += if_oss("", "_google") + ".cc"
    
            # Rule to rewrite the template_file to produce the test_file.
            native.genrule(
                name = ("gen_" + test_name),
                testonly = 1,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 19:18:08 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/mark_initialized_variables_test_pass.cc

        return "tf-saved-model-mark-initialized-variables-test";
      }
    
      StringRef getDescription() const final {
        return "Mark variables as initialized or not.";
      }
    
      void runOnOperation() override {
        TF::test_util::FakeSession session;
        if (failed(mlir::tf_saved_model::MarkInitializedVariablesInFunction(
                getOperation(), &session)))
          return signalPassFailure();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/force_xla_constants_on_host_pass_test.cc

    #include "tensorflow/cc/ops/functional_ops.h"
    #include "tensorflow/cc/ops/standard_ops.h"
    #include "tensorflow/compiler/jit/compilability_check_util.h"
    #include "tensorflow/compiler/jit/defs.h"
    #include "tensorflow/compiler/jit/test_util.h"
    #include "tensorflow/core/common_runtime/function.h"
    #include "tensorflow/core/common_runtime/graph_constructor.h"
    #include "tensorflow/core/framework/function_testlib.h"
    #include "tensorflow/core/framework/node_def_util.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_websockets/test_tutorial002.py

    import pytest
    from fastapi.testclient import TestClient
    from fastapi.websockets import WebSocketDisconnect
    
    from docs_src.websockets.tutorial002 import app
    
    
    def test_main():
        client = TestClient(app)
        response = client.get("/")
        assert response.status_code == 200, response.text
        assert b"<!DOCTYPE html>" in response.content
    
    
    def test_websocket_with_cookie():
        client = TestClient(app, cookies={"session": "fakesession"})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Nov 13 14:26:09 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_websockets/test_tutorial002_an.py

    import pytest
    from fastapi.testclient import TestClient
    from fastapi.websockets import WebSocketDisconnect
    
    from docs_src.websockets.tutorial002_an import app
    
    
    def test_main():
        client = TestClient(app)
        response = client.get("/")
        assert response.status_code == 200, response.text
        assert b"<!DOCTYPE html>" in response.content
    
    
    def test_websocket_with_cookie():
        client = TestClient(app, cookies={"session": "fakesession"})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py

    from ...utils import needs_py39
    
    
    @pytest.fixture(name="app")
    def get_app():
        from docs_src.websockets.tutorial002_an_py39 import app
    
        return app
    
    
    @needs_py39
    def test_main(app: FastAPI):
        client = TestClient(app)
        response = client.get("/")
        assert response.status_code == 200, response.text
        assert b"<!DOCTYPE html>" in response.content
    
    
    @needs_py39
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_websockets/test_tutorial002_py310.py

    from ...utils import needs_py310
    
    
    @pytest.fixture(name="app")
    def get_app():
        from docs_src.websockets.tutorial002_py310 import app
    
        return app
    
    
    @needs_py310
    def test_main(app: FastAPI):
        client = TestClient(app)
        response = client.get("/")
        assert response.status_code == 200, response.text
        assert b"<!DOCTYPE html>" in response.content
    
    
    @needs_py310
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top