| 1 | #include "CppUTest/TestHarness.h" |
| 2 | #include "ProjectBuildTime.h" |
| 3 | |
| 4 | TEST_GROUP(ProjectBuildTime) |
| 5 | { |
| 6 | ProjectBuildTime* projectBuildTime; |
| 7 | |
| 8 | void setup() |
| 9 | { |
| 10 | projectBuildTime = new ProjectBuildTime(); |
| 11 | } |
| 12 | void teardown() |
| 13 | { |
| 14 | delete projectBuildTime; |
| 15 | } |
| 16 | }; |
| 17 | |
| 18 | TEST(ProjectBuildTime, Create) |
| 19 | { |
| 20 | CHECK(0 != projectBuildTime->GetDateTime()); |
| 21 | } |
| 22 |