#include "catch.h"#include "usb/usb-enumerator.h"#include "usb/usb-device.h"#include "hw-monitor.h"#include "librealsense2/h/rs_option.h"#include <map>
Go to the source code of this file.
Macros | |
| #define | USB_SUBCLASS_CONTROL 1 |
Functions | |
| std::vector< uint8_t > | create_gvd_request_buffer (bool is_sr300) |
| std::vector< usb_device_info > | get_devices_info () |
| void | read_gvd (const rs_usb_device &dev) |
| std::string | req_to_string (int req) |
| TEST_CASE ("query_devices","[live][usb]") | |
| TEST_CASE ("first_endpoints_direction","[live][usb]") | |
| TEST_CASE ("query_controls","[live][usb]") | |
| TEST_CASE ("read_gvd","[live][usb]") | |
| TEST_CASE ("query_devices_info_duration","[live][usb]") | |
| TEST_CASE ("create_device_duration","[live][usb]") | |
Variables | |
| static std::map< std::string, int > | pu_controls |
| static std::map< std::string, int > | uvc_req_code |
| #define USB_SUBCLASS_CONTROL 1 |
Definition at line 13 of file internal-tests-usb.cpp.
| std::vector<uint8_t> create_gvd_request_buffer | ( | bool | is_sr300 | ) |
Definition at line 211 of file internal-tests-usb.cpp.
| std::vector<usb_device_info> get_devices_info | ( | ) |
Definition at line 64 of file internal-tests-usb.cpp.
| void read_gvd | ( | const rs_usb_device & | dev | ) |
Definition at line 228 of file internal-tests-usb.cpp.
| std::string req_to_string | ( | int | req | ) |
Definition at line 29 of file internal-tests-usb.cpp.
| TEST_CASE | ( | "query_devices" | , |
| "" | [live][usb] | ||
| ) |
Definition at line 76 of file internal-tests-usb.cpp.
| TEST_CASE | ( | "first_endpoints_direction" | , |
| "" | [live][usb] | ||
| ) |
Definition at line 95 of file internal-tests-usb.cpp.
| TEST_CASE | ( | "query_controls" | , |
| "" | [live][usb] | ||
| ) |
Definition at line 123 of file internal-tests-usb.cpp.
| TEST_CASE | ( | "read_gvd" | , |
| "" | [live][usb] | ||
| ) |
Definition at line 253 of file internal-tests-usb.cpp.
| TEST_CASE | ( | "query_devices_info_duration" | , |
| "" | [live][usb] | ||
| ) |
Definition at line 273 of file internal-tests-usb.cpp.
| TEST_CASE | ( | "create_device_duration" | , |
| "" | [live][usb] | ||
| ) |
Definition at line 283 of file internal-tests-usb.cpp.
|
static |
Definition at line 40 of file internal-tests-usb.cpp.
|
static |
Definition at line 15 of file internal-tests-usb.cpp.