1// ResourceStringsTest.h 2 3#ifndef __sk_resource_strings_test_h__ 4#define __sk_resource_strings_test_h__ 5 6#include <cppunit/TestCaller.h> 7#include <cppunit/TestSuite.h> 8 9#include <StorageDefs.h> 10#include <SupportDefs.h> 11 12#include "BasicTest.h" 13 14class ResourceStringsTest : public BasicTest 15{ 16public: 17 static CppUnit::Test* Suite(); 18 19 // This function called before *each* test added in Suite() 20 void setUp(); 21 22 // This function called after *each* test added in Suite() 23 void tearDown(); 24 25 //------------------------------------------------------------ 26 // Test functions 27 //------------------------------------------------------------ 28 void InitTest1(); 29 void InitTest2(); 30 void FindStringTest(); 31 32// BResourceStrings(); 33// BResourceStrings(const entry_ref &ref); 34// virtual ~BResourceStrings(); 35// virtual status_t SetStringFile(const entry_ref *ref); 36// status_t GetStringFile(entry_ref *outRef); 37// status_t InitCheck(); 38 39// virtual BString *NewString(int32 id); 40// virtual const char *FindString(int32 id); 41 42 43 44}; 45 46 47#endif // __sk_resource_strings_test_h__ 48 49 50 51 52