runtime-configuration_4.output 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. //[example_output
  2. # content of the file
  3. > more test_file.txt
  4. 10.2 30.4
  5. 10.3 30.2
  6. 15.987984 15.9992
  7. 15.997984 15.9962
  8. # Example run 1
  9. > runtime_configuration4 --log_level=all -- --test-file test_file.txt
  10. Running 2 test cases...
  11. Entering test module "runtime_configuration4"
  12. test.cpp:107: Entering test suite "command_line_test_file"
  13. test.cpp:107: Entering test case "_0"
  14. test.cpp:108: info: check input <= expected has passed
  15. Assertion occurred in a following context:
  16. input = 15.9879837; expected = 15.9991999;
  17. test.cpp:107: Leaving test case "_0"; testing time: 433us
  18. test.cpp:107: Entering test case "_1"
  19. test.cpp:108: error: in "command_line_test_file/_1": check input <= expected has failed [15.9979839 > 15.9961996]
  20. Failure occurred in a following context:
  21. input = 15.9979839; expected = 15.9961996;
  22. test.cpp:107: Leaving test case "_1"; testing time: 114us
  23. test.cpp:107: Leaving test suite "command_line_test_file"; testing time: 616us
  24. Leaving test module "runtime_configuration4"; testing time: 881us
  25. *** 1 failure is detected in the test module "runtime_configuration4"
  26. # Example run 2
  27. > runtime_configuration4 --log_level=all -- --test-file non-existant.txt
  28. Test setup error: Cannot open the file 'non-existant.txt'
  29. # Example run 3
  30. > runtime_configuration4 --log_level=all
  31. Test setup error: Incorrect number of arguments
  32. //]