Common: Add UnitTest.h

This commit is contained in:
Birunthan Mohanathas 2013-08-11 14:29:07 +03:00
parent 0afbdac9fe
commit 79b9af3320
8 changed files with 8 additions and 18 deletions

View File

@ -37,6 +37,7 @@
<ClInclude Include="Platform.h" />
<ClInclude Include="RawString.h" />
<ClInclude Include="StringUtil.h" />
<ClInclude Include="UnitTest.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">

View File

@ -18,5 +18,6 @@
<ClInclude Include="StringUtil.h" />
<ClInclude Include="ControlTemplate.h" />
<ClInclude Include="MathParser.h" />
<ClInclude Include="UnitTest.h" />
</ItemGroup>
</Project>

View File

@ -18,11 +18,9 @@
#include "Canvas.h"
#include "TextFormatD2D.h"
#include <CppUnitTest.h>
#include "../UnitTest.h"
#include <memory>
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace Gfx {
TEST_CLASS(Common_Gfx_TextFormatD2D_Test)

View File

@ -17,9 +17,7 @@
*/
#include "MathParser.h"
#include <CppUnitTest.h>
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
#include "UnitTest.h"
namespace MathParser {

View File

@ -17,11 +17,9 @@
*/
#include "PathUtil.h"
#include <CppUnitTest.h>
#include "UnitTest.h"
#include <Shlobj.h>
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace PathUtil {
TEST_CLASS(Common_PathUtil_Test)

View File

@ -17,9 +17,7 @@
*/
#include "StringUtil.h"
#include <CppUnitTest.h>
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
#include "UnitTest.h"
namespace StringUtil {

View File

@ -17,9 +17,7 @@
*/
#include "ConfigParser.h"
#include <CppUnitTest.h>
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
#include "../Common/UnitTest.h"
TEST_CLASS(Library_ConfigParser_Test)
{

View File

@ -17,9 +17,7 @@
*/
#include "SkinRegistry.h"
#include <CppUnitTest.h>
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
#include "../Common/UnitTest.h"
TEST_CLASS(Library_SkinRegistry_Test)
{