• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//[example_output
2# Example run 1
3> runtime_configuration2 --log_level=all  -- --some-wrong-random-string mock_device
4Running 1 test case...
5Entering test module "runtime_configuration2"
6test.cpp:46: info: check framework::master_test_suite().argc == 3 has passed
7test.cpp:47: fatal error: in "runtime_configuration2": critical check framework::master_test_suite().argv[1] == "--device-name" has failed [--some-wrong-random-string != --device-name]
8Leaving test module "runtime_configuration2"
9
10*** The test module "runtime_configuration2" was aborted; see standard output for details
11*** 1 failure is detected in the test module "runtime_configuration2"
12
13# Example run 2
14> runtime_configuration2 --log_level=all -- --device-name mock_device
15Running 1 test case...
16Entering test module "runtime_configuration2"
17test.cpp:46: info: check framework::master_test_suite().argc == 3 has passed
18test.cpp:47: info: check framework::master_test_suite().argv[1] == "--device-name" has passed
19test.cpp:53: info: check 'Cannot create the device mock_device' has passed
20test.cpp:56: info: check 'Cannot initialize the device mock_device' has passed
21test.cpp:72: Entering test case "check_device_has_meaningful_name"
22test.cpp:74: info: check CommandLineDeviceInit::device->get_device_name() != "" has passed
23test.cpp:72: Leaving test case "check_device_has_meaningful_name"; testing time: 127us
24test.cpp:62: info: check 'Cannot tear-down the device mock_device' has passed
25Leaving test module "runtime_configuration2"; testing time: 177us
26
27*** No errors detected
28//]
29