1 #include "sample.h" 2 #include <gtest/gtest.h> 3 4 5 /* First sample Test */ 6 TEST(FactorialTest, Zero) { 7 EXPECT_EQ(1, Factorial(0)); 8 } 9 10 11 /* Building 1st Event Log */ 12 TEST(BuildingEventLog, one) { 13 EXPECT_EQ(1, 1); 14 } 15 16 17 /* Building 2nd Event Log */ 18 TEST(BuildingEventLog, two) { 19 EXPECT_EQ(1, 1); 20 } 21 22 23 /* Read Log 1 */ 24 TEST(ReadLog, one) { 25 EXPECT_EQ(1, 1); 26 } 27 28 29 /* Read Log 2 */ 30 TEST(ReadLog, two) { 31 EXPECT_EQ(1, 1); 32 } 33 34 35 /* Lets delete the earlier log, then create a new event manager 36 the latest_log_id should still be 2 */ 37 TEST(DeleteEarlierLog, one) { 38 EXPECT_EQ(1, 1); 39 } 40 41 42 /* Travese log list stuff */ 43 TEST(TraverseLogList, one) { 44 EXPECT_EQ(1, 1); 45 } 46 47 48 /* Testing the max limits for event logs */ 49 TEST(TestMaxLimitLogs, one) { 50 EXPECT_EQ(1, 1); 51 } 52 53 54 /* Testing the max limits for event logs */ 55 TEST(TestMaxLimitLogs, two) { 56 EXPECT_EQ(1, 1); 57 } 58 59 60 /* Create an abundence of logs, then restart with a limited set */ 61 /* You should not be able to create new logs until the log size */ 62 /* dips below the request number */ 63 TEST(CreateLogsRestartSet, one) { 64 EXPECT_EQ(1, 1); 65 } 66 67 68 /* Delete logs to dip below the requested limit */ 69 TEST(DeleteLogsBelowLimit, one) { 70 EXPECT_EQ(1, 1); 71 } 72 73 74 /* Create an abundence of logs, then restart with a limited set */ 75 /* You should not be able to create new logs until the log size */ 76 /* dips below the request number */ 77 TEST(CreateLogsRestartSet, two) { 78 EXPECT_EQ(1, 1); 79 } 80 81 82 //Run all the tests that were declared with TEST() 83 int main(int argc, char **argv) 84 { 85 testing::InitGoogleTest(&argc, argv); 86 return RUN_ALL_TESTS(); 87 } 88 89 90 91