Macros | Enumerations | Functions
unit-tests-live-ivcam-common.cpp File Reference
#include "catch/catch.hpp"
#include "unit-tests-common.h"
#include <climits>
#include <sstream>
Include dependency graph for unit-tests-live-ivcam-common.cpp:

Go to the source code of this file.

Macros

#define CATCH_CONFIG_MAIN
 

Enumerations

enum  { BEFORE_START_DEVICE = 1, AFTER_START_DEVICE = 2 }
 

Functions

 TEST_CASE ("R200 metadata enumerates correctly","[live] [r200]")
 
 TEST_CASE ("R200 devices support all required options","[live] [r200]")
 
 TEST_CASE ("R200 device extrinsics are within expected parameters","[live] [r200]")
 
 TEST_CASE ("R200 infrared2 streaming modes exactly match infrared streaming modes","[live] [r200]")
 
 TEST_CASE ("R200 streams 480x360 depth","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 628x468 depth","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 320x240 depth","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams HD color","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams VGA color","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 480x360 depth and HD color","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 628x468 depth and HD color","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 320x240 depth and HD color","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 480x360 depth and VGA color","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 628x468 depth and VGA color","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 320x240 depth and VGA color","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams HD Raw10","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 480x360 depth, VGA color, and 492x372 infrared","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 628x468 depth, VGA color, and 640x480 infrared","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 320x240 depth, VGA color, and 332x252 infrared","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 640x480 depth and infrared","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 628x468 depth and infrared","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 492x372 depth and infrared","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 480x360 depth and infrared","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 332x252 depth and infrared","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 streams 320x240 depth and infrared","[live] [r200] [one-camera]")
 
 TEST_CASE ("R200 supports RS_OPTION_R200_LR_AUTO_EXPOSURE_ENABLED","[live] [r200]")
 
 TEST_CASE ("R200 supports RS_OPTION_R200_LR_GAIN","[live] [r200]")
 
 TEST_CASE ("R200 supports RS_OPTION_R200_LR_EXPOSURE","[live] [r200]")
 
 TEST_CASE ("R200 emitter defaults to off if depth is not enabled/streamed","[live] [r200]")
 
 TEST_CASE ("R200 emitter defaults to on if depth is enabled/streamed","[live] [r200]")
 
 TEST_CASE ("R200 emitter can be enabled even if depth is not enabled/streamed","[live] [r200]")
 
 TEST_CASE ("R200 emitter can be turned off even if depth is enabled/streamed","[live] [r200]")
 
 TEST_CASE ("R200 emitter can be turned on and off after streaming has begun","[live] [r200]")
 
 TEST_CASE ("R200 supports RS_OPTION_R200_DEPTH_UNITS","[live] [r200]")
 
 TEST_CASE ("R200 supports RS_OPTION_R200_DEPTH_CLAMP_MIN","[live] [r200]")
 
 TEST_CASE ("R200 supports RS_OPTION_R200_DEPTH_CLAMP_MAX","[live] [r200]")
 
 TEST_CASE ("a single R200 can stream a variety of reasonable streaming mode combinations","[live] [r200] [one-camera]")
 
 TEST_CASE ("streaming five configurations sequentionally","[live] [r200] [one-camera]")
 
void test_r200_option (rs_option option, std::initializer_list< int > values, int when)
 
void test_r200_streaming (std::initializer_list< stream_mode > modes)
 

Macro Definition Documentation

#define CATCH_CONFIG_MAIN

Definition at line 10 of file unit-tests-live-ivcam-common.cpp.

Enumeration Type Documentation

anonymous enum
Enumerator
BEFORE_START_DEVICE 
AFTER_START_DEVICE 

Definition at line 475 of file unit-tests-live-ivcam-common.cpp.

Function Documentation

TEST_CASE ( "R200 metadata enumerates correctly"  ,
" "  [live][r200] 
)

Definition at line 18 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 devices support all required options"  ,
" "  [live][r200] 
)

Definition at line 46 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 device extrinsics are within expected parameters"  ,
" "  [live][r200] 
)

Definition at line 123 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 infrared2 streaming modes exactly match infrared streaming modes"  ,
" "  [live][r200] 
)

Definition at line 172 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 480x360 depth"  ,
" "  [live][r200][one-camera] 
)

Definition at line 247 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 628x468 depth"  ,
" "  [live][r200][one-camera] 
)

Definition at line 252 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 320x240 depth"  ,
" "  [live][r200][one-camera] 
)

Definition at line 257 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams HD color ,
" "  [live][r200][one-camera] 
)

Definition at line 296 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams VGA color ,
" "  [live][r200][one-camera] 
)

Definition at line 301 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 480x360 depth and HD color"  ,
" "  [live][r200][one-camera] 
)

Definition at line 311 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 628x468 depth and HD color"  ,
" "  [live][r200][one-camera] 
)

Definition at line 317 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 320x240 depth and HD color"  ,
" "  [live][r200][one-camera] 
)

Definition at line 323 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 480x360 depth and VGA color"  ,
" "  [live][r200][one-camera] 
)

Definition at line 329 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 628x468 depth and VGA color"  ,
" "  [live][r200][one-camera] 
)

Definition at line 335 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 320x240 depth and VGA color"  ,
" "  [live][r200][one-camera] 
)

Definition at line 341 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams HD Raw10"  ,
" "  [live][r200][one-camera] 
)

Definition at line 353 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 480x360  depth,
VGA  color,
and 492x372 infrared"  ,
" "  [live][r200][one-camera] 
)

Definition at line 401 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 628x468  depth,
VGA  color,
and 640x480 infrared"  ,
" "  [live][r200][one-camera] 
)

Definition at line 409 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 320x240  depth,
VGA  color,
and 332x252 infrared"  ,
" "  [live][r200][one-camera] 
)

Definition at line 417 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 640x480 depth and infrared"  ,
" "  [live][r200][one-camera] 
)

Definition at line 429 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 628x468 depth and infrared"  ,
" "  [live][r200][one-camera] 
)

Definition at line 436 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 492x372 depth and infrared"  ,
" "  [live][r200][one-camera] 
)

Definition at line 443 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 480x360 depth and infrared"  ,
" "  [live][r200][one-camera] 
)

Definition at line 450 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 332x252 depth and infrared"  ,
" "  [live][r200][one-camera] 
)

Definition at line 457 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 streams 320x240 depth and infrared"  ,
" "  [live][r200][one-camera] 
)

Definition at line 464 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 supports RS_OPTION_R200_LR_AUTO_EXPOSURE_ENABLED ,
" "  [live][r200] 
)

Definition at line 502 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 supports RS_OPTION_R200_LR_GAIN ,
" "  [live][r200] 
)

Definition at line 507 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 supports RS_OPTION_R200_LR_EXPOSURE ,
" "  [live][r200] 
)

Definition at line 512 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 emitter defaults to off if depth is not enabled/streamed"  ,
" "  [live][r200] 
)

Definition at line 521 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 emitter defaults to on if depth is enabled/streamed"  ,
" "  [live][r200] 
)

Definition at line 545 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 emitter can be enabled even if depth is not enabled/streamed"  ,
" "  [live][r200] 
)

Definition at line 567 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 emitter can be turned off even if depth is enabled/streamed"  ,
" "  [live][r200] 
)

Definition at line 595 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 emitter can be turned on and off after streaming has begun"  ,
" "  [live][r200] 
)

Definition at line 621 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 supports RS_OPTION_R200_DEPTH_UNITS ,
" "  [live][r200] 
)

Definition at line 645 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 supports RS_OPTION_R200_DEPTH_CLAMP_MIN ,
" "  [live][r200] 
)

Definition at line 667 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "R200 supports RS_OPTION_R200_DEPTH_CLAMP_MAX ,
" "  [live][r200] 
)

Definition at line 672 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "a single R200 can stream a variety of reasonable streaming mode combinations"  ,
" "  [live][r200][one-camera] 
)

Definition at line 681 of file unit-tests-live-ivcam-common.cpp.

TEST_CASE ( "streaming five configurations sequentionally"  ,
" "  [live][r200][one-camera] 
)

Definition at line 745 of file unit-tests-live-ivcam-common.cpp.

void test_r200_option ( rs_option  option,
std::initializer_list< int values,
int  when 
)
inline

Definition at line 476 of file unit-tests-live-ivcam-common.cpp.

void test_r200_streaming ( std::initializer_list< stream_mode modes)
inline

Definition at line 231 of file unit-tests-live-ivcam-common.cpp.



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:18