New unit testing skeleton
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
2017-11-10 master
|
2017-12-19 master
|
||||||
- Enhancements:
|
- Enhancements:
|
||||||
- Added Spanish translation (contributed by Vicmz)
|
- Added Spanish translation (contributed by Vicmz)
|
||||||
- Executor: updated tooltip documentation (issue #676)
|
- Executor: updated tooltip documentation (issue #676)
|
||||||
- Systray: warn on duplicate config option systray_name_filter (issue #652)
|
- Systray: warn on duplicate config option systray_name_filter (issue #652)
|
||||||
|
- Changed standard from C99 to C11 to support generic printing for unit tests
|
||||||
|
|
||||||
2017-11-05 15.3
|
2017-11-05 15.3
|
||||||
- Fixes:
|
- Fixes:
|
||||||
|
|||||||
@@ -146,8 +146,8 @@ void run_all_tests()
|
|||||||
fprintf(stdout, BLUE "tint2: " RED "%lu" BLUE " out of %lu tests " RED "failed." RESET "\n", failed, count);
|
fprintf(stdout, BLUE "tint2: " RED "%lu" BLUE " out of %lu tests " RED "failed." RESET "\n", failed, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(dummy_bad) {
|
TEST(dummy) {
|
||||||
int x = 2;
|
int x = 2;
|
||||||
int y = 3;
|
int y = 2;
|
||||||
ASSERT_EQUAL(x, y);
|
ASSERT_EQUAL(x, y);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user