repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / tests / apps / haikudepot / StandardMetaDataJsonEventListenerTest.h
blob2ba49ff8d9d71e1dd8519df330ac64753a422c20
1 /*
2 * Copyright 2017, Andrew Lindesay <apl@lindesay.co.nz>
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef STANDARD_META_DATA_JSON_EVENT_LISTENER_TEST_H
6 #define STANDARD_META_DATA_JSON_EVENT_LISTENER_TEST_H
9 #include <TestCase.h>
10 #include <TestSuite.h>
13 class StandardMetaDataJsonEventListenerTest : public CppUnit::TestCase {
14 public:
15 StandardMetaDataJsonEventListenerTest();
16 virtual ~StandardMetaDataJsonEventListenerTest();
18 void TestTopLevel();
19 void TestIcon();
20 void TestThirdLevel();
21 void TestBroken();
23 static void AddTests(BTestSuite& suite);
25 private:
26 void TestGeneric(const char* input,
27 const char* jsonPath,
28 status_t expectedStatus,
29 uint64_t expectedCreateTimestamp,
30 uint64_t expectedDataModifiedTimestamp);
35 #endif // STANDARD_META_DATA_JSON_EVENT_LISTENER_TEST_H