Skip to content

Commit

Permalink
Issue #96 Adds path and file creation options
Browse files Browse the repository at this point in the history
  • Loading branch information
DieSlower committed Jan 19, 2019
1 parent 8bf8cab commit 6a98938
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Tests/TrUtil/JsonTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,21 @@
#include "JsonTests.h"

#include <trUtil/JSON/Value.h>
#include <trUtil/PathUtils.h>

#include <json/value.h>

#include <iostream>
#include <string>

//////////////////////////////////////////////////////////////////////////
const std::string JsonTests::CONFIG_FILE_NAME("Tests/JsonTest.gtest");

//////////////////////////////////////////////////////////////////////////
JsonTests::JsonTests()
{
//Creates the default folders in the User Data folder.
trUtil::PathUtils::CreateUserDataPathTree();
}

//////////////////////////////////////////////////////////////////////////
Expand Down
4 changes: 3 additions & 1 deletion Tests/TrUtil/JsonTests.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@
* @author Maxim Serebrennik
*/
class JsonTests : public ::testing::Test
{
{

public:

const static std::string CONFIG_FILE_NAME;

/**
* @fn public::JsonTests();
*
Expand Down

0 comments on commit 6a98938

Please sign in to comment.