diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-03-27 21:12:46 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-04-04 00:22:14 +0200 |
commit | 024b4ea514466983f853fbbd6f571070679cde46 (patch) | |
tree | 6dc6a85d29add3a05b06966df46a05ec783704e2 | |
parent | 8f08880082472c16a6fdb55c34b05386508d532d (diff) |
test: camera: Remove test for bad Stream IDs
In preparation of reworking how a default configuration is retrieved
from a camera remove test that stream IDs must be valid as the data type
passed to Camera::streamConfiguration() will change. This change is in
preparation for an invasive change.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
-rw-r--r-- | test/camera/configuration_default.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/camera/configuration_default.cpp b/test/camera/configuration_default.cpp index 53ee021d..856cd415 100644 --- a/test/camera/configuration_default.cpp +++ b/test/camera/configuration_default.cpp @@ -49,19 +49,6 @@ protected: return TestFail; } - /* - * Test that asking for configuration for an array of bad streams - * returns an empty list of configurations. - */ - Stream *stream_bad = reinterpret_cast<Stream *>(0xdeadbeef); - std::set<Stream *> streams_bad = { stream_bad }; - conf = camera_->streamConfiguration(streams_bad); - if (!conf.empty()) { - cout << "Failed to retrieve configuration for bad streams" - << endl; - return TestFail; - } - return TestPass; } }; |