Changeset 509738fd in mainline for uspace/lib/cpp/src/internal/test/test.cpp
- Timestamp:
- 2018-07-05T21:41:18Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d49bae9
- Parents:
- a6ca1bc
- git-author:
- Jaroslav Jindrak <dzejrou@…> (2017-11-02 17:59:05)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/src/internal/test/test.cpp
ra6ca1bc r509738fd 32 32 namespace std::test 33 33 { 34 35 34 void test_suite::report(bool result, const char* tname) 36 35 { … … 41 40 } 42 41 42 void test_suite::start() 43 { 44 std::printf("\n[TEST START][%s]\n", name()); 45 } 46 47 bool test_suite::end() 48 { 49 std::printf("[TEST END][%s][%lu OK][%lu FAIL]\n", 50 name(), succeeded_, failed_); 51 return ok_; 52 } 43 53 }
Note:
See TracChangeset
for help on using the changeset viewer.