Lines Matching refs:TEST_ASSERT_EQUAL
39 TEST_ASSERT_EQUAL(0, kod_db_cnt); in test_ReadEmptyFile()
47 TEST_ASSERT_EQUAL(2, kod_db_cnt); in test_ReadCorrectFile()
51 TEST_ASSERT_EQUAL(1, search_entry("192.0.2.5", &res)); in test_ReadCorrectFile()
54 TEST_ASSERT_EQUAL(0x12345678, res->timestamp); in test_ReadCorrectFile()
56 TEST_ASSERT_EQUAL(1, search_entry("192.0.2.100", &res)); in test_ReadCorrectFile()
59 TEST_ASSERT_EQUAL(0xfff, res->timestamp); in test_ReadCorrectFile()
67 TEST_ASSERT_EQUAL(3, kod_db_cnt); in test_ReadFileWithBlankLines()
71 TEST_ASSERT_EQUAL(1, search_entry("192.0.2.5", &res)); in test_ReadFileWithBlankLines()
74 TEST_ASSERT_EQUAL(0x12345678, res->timestamp); in test_ReadFileWithBlankLines()
76 TEST_ASSERT_EQUAL(1, search_entry("192.0.2.100", &res)); in test_ReadFileWithBlankLines()
79 TEST_ASSERT_EQUAL(0xfff, res->timestamp); in test_ReadFileWithBlankLines()
81 TEST_ASSERT_EQUAL(1, search_entry("example.com", &res)); in test_ReadFileWithBlankLines()
84 TEST_ASSERT_EQUAL(0xabcd, res->timestamp); in test_ReadFileWithBlankLines()
97 TEST_ASSERT_EQUAL(0, GetFileSize(is)); in test_WriteEmptyFile()
122 TEST_ASSERT_EQUAL(GetFileSize(expected), GetFileSize(actual)); in test_WriteFileWithSingleEntry()
153 TEST_ASSERT_EQUAL(GetFileSize(expected), GetFileSize(actual)); in test_WriteFileWithMultipleEntries()