mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Common: Add UnitTest.h
This commit is contained in:
parent
0afbdac9fe
commit
79b9af3320
@ -37,6 +37,7 @@
|
|||||||
<ClInclude Include="Platform.h" />
|
<ClInclude Include="Platform.h" />
|
||||||
<ClInclude Include="RawString.h" />
|
<ClInclude Include="RawString.h" />
|
||||||
<ClInclude Include="StringUtil.h" />
|
<ClInclude Include="StringUtil.h" />
|
||||||
|
<ClInclude Include="UnitTest.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
@ -18,5 +18,6 @@
|
|||||||
<ClInclude Include="StringUtil.h" />
|
<ClInclude Include="StringUtil.h" />
|
||||||
<ClInclude Include="ControlTemplate.h" />
|
<ClInclude Include="ControlTemplate.h" />
|
||||||
<ClInclude Include="MathParser.h" />
|
<ClInclude Include="MathParser.h" />
|
||||||
|
<ClInclude Include="UnitTest.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
@ -18,11 +18,9 @@
|
|||||||
|
|
||||||
#include "Canvas.h"
|
#include "Canvas.h"
|
||||||
#include "TextFormatD2D.h"
|
#include "TextFormatD2D.h"
|
||||||
#include <CppUnitTest.h>
|
#include "../UnitTest.h"
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
|
|
||||||
|
|
||||||
namespace Gfx {
|
namespace Gfx {
|
||||||
|
|
||||||
TEST_CLASS(Common_Gfx_TextFormatD2D_Test)
|
TEST_CLASS(Common_Gfx_TextFormatD2D_Test)
|
||||||
|
@ -17,9 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "MathParser.h"
|
#include "MathParser.h"
|
||||||
#include <CppUnitTest.h>
|
#include "UnitTest.h"
|
||||||
|
|
||||||
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
|
|
||||||
|
|
||||||
namespace MathParser {
|
namespace MathParser {
|
||||||
|
|
||||||
|
@ -17,11 +17,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "PathUtil.h"
|
#include "PathUtil.h"
|
||||||
#include <CppUnitTest.h>
|
#include "UnitTest.h"
|
||||||
#include <Shlobj.h>
|
#include <Shlobj.h>
|
||||||
|
|
||||||
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
|
|
||||||
|
|
||||||
namespace PathUtil {
|
namespace PathUtil {
|
||||||
|
|
||||||
TEST_CLASS(Common_PathUtil_Test)
|
TEST_CLASS(Common_PathUtil_Test)
|
||||||
|
@ -17,9 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "StringUtil.h"
|
#include "StringUtil.h"
|
||||||
#include <CppUnitTest.h>
|
#include "UnitTest.h"
|
||||||
|
|
||||||
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
|
|
||||||
|
|
||||||
namespace StringUtil {
|
namespace StringUtil {
|
||||||
|
|
||||||
|
@ -17,9 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ConfigParser.h"
|
#include "ConfigParser.h"
|
||||||
#include <CppUnitTest.h>
|
#include "../Common/UnitTest.h"
|
||||||
|
|
||||||
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
|
|
||||||
|
|
||||||
TEST_CLASS(Library_ConfigParser_Test)
|
TEST_CLASS(Library_ConfigParser_Test)
|
||||||
{
|
{
|
||||||
|
@ -17,9 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "SkinRegistry.h"
|
#include "SkinRegistry.h"
|
||||||
#include <CppUnitTest.h>
|
#include "../Common/UnitTest.h"
|
||||||
|
|
||||||
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
|
|
||||||
|
|
||||||
TEST_CLASS(Library_SkinRegistry_Test)
|
TEST_CLASS(Library_SkinRegistry_Test)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user