CloverBootloader/rEFIt_UEFI/cpp_unit_test/global_test.h

26 lines
406 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-04-30 08:03:56 +02:00
class XStringTest : public XString8
2020-03-12 15:40:38 +01:00
{
public:
2020-04-30 08:03:56 +02:00
XStringTest(const char *S) : XString8()
2020-03-12 15:40:38 +01:00
{
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;