CloverBootloader/rEFIt_UEFI/cpp_unit_test/global_test.h

26 lines
404 B
C
Raw Normal View History

2020-03-12 15:40:38 +01:00
#include "../cpp_foundation/XString.h"
class XStringWTest : public XStringW
{
public:
XStringWTest(const wchar_t *S) : XStringW()
{
2020-04-23 15:20:48 +02:00
strcpy(S);
}
};
2020-03-12 15:40:38 +01:00
class XStringTest : public XString
{
public:
XStringTest(const char *S) : XString()
{
2020-04-23 15:20:48 +02:00
strcpy(S);
2020-03-12 15:40:38 +01:00
}
};
extern XStringTest global_str1;
extern XStringTest global_str2;
extern XStringWTest global_str3;
extern XStringWTest global_str4;