Go to the documentation of this file.00001
00002
00003
00005
00007
00008 #if !defined(MAKEFILE) || ( defined(LIVE_TEST) && ( defined(LR200_TEST) || defined(ZR300_TEST) ) )
00009
00010 #include "unit-tests-live-ds-common.h"
00011
00012 #include <climits>
00013 #include <sstream>
00014
00015 TEST_CASE("Streams COLOR HD 1920X1080 Raw16 30FPS", "[live] [lr200] [one-camera]")
00016 {
00017
00018 safe_context ctx;
00019 const int device_count = rs_get_device_count(ctx, require_no_error());
00020 REQUIRE(device_count == 1);
00021
00022 rs_device * dev = rs_get_device(ctx, 0, require_no_error());
00023 REQUIRE(dev != nullptr);
00024 REQUIRE(std::any_of(ds_names.begin(), ds_names.end(), [&](std::string const& s) {return s == rs_get_device_name(dev, require_no_error()); }));
00025
00026 test_ds_device_streaming({ {RS_STREAM_COLOR, 1920, 1080, RS_FORMAT_RAW16, 30} });
00027 }
00028
00029
00030
00031
00032
00033
00034
00035 #endif