Skip to content

Commit

Permalink
Refactor runner: Move io_manipulator package to spec/
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed Jul 22, 2017
1 parent 48f028f commit 810c07f
Show file tree
Hide file tree
Showing 20 changed files with 31 additions and 32 deletions.
28 changes: 14 additions & 14 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,6 @@ set(INCLUDE
include/tcframe/grader/GraderLoggerFactory.hpp
include/tcframe/grader/GradingOptions.hpp
include/tcframe/grader/TestCaseGrader.hpp
include/tcframe/io_manipulator.hpp
include/tcframe/io_manipulator/GridIOSegmentManipulator.hpp
include/tcframe/io_manipulator/IOManipulator.hpp
include/tcframe/io_manipulator/LineIOSegmentManipulator.hpp
include/tcframe/io_manipulator/LinesIOSegmentManipulator.hpp
include/tcframe/io_manipulator/RawLineIOSegmentManipulator.hpp
include/tcframe/io_manipulator/RawLinesIOSegmentManipulator.hpp
include/tcframe/logger.hpp
include/tcframe/logger/BaseLogger.hpp
include/tcframe/logger/DefaultBaseLogger.hpp
Expand Down Expand Up @@ -124,6 +117,13 @@ set(INCLUDE
include/tcframe/spec/io/LinesIOSegment.hpp
include/tcframe/spec/io/RawLineIOSegment.hpp
include/tcframe/spec/io/RawLinesIOSegment.hpp
include/tcframe/spec/io_manipulator.hpp
include/tcframe/spec/io_manipulator/GridIOSegmentManipulator.hpp
include/tcframe/spec/io_manipulator/IOManipulator.hpp
include/tcframe/spec/io_manipulator/LineIOSegmentManipulator.hpp
include/tcframe/spec/io_manipulator/LinesIOSegmentManipulator.hpp
include/tcframe/spec/io_manipulator/RawLineIOSegmentManipulator.hpp
include/tcframe/spec/io_manipulator/RawLinesIOSegmentManipulator.hpp
include/tcframe/spec/random.hpp
include/tcframe/spec/random/Random.hpp
include/tcframe/spec/testcase.hpp
Expand Down Expand Up @@ -183,13 +183,6 @@ set(TEST_UNIT
test/unit/tcframe/grader/MockGraderLoggerFactory.hpp
test/unit/tcframe/grader/MockTestCaseGrader.hpp
test/unit/tcframe/grader/TestCaseGraderTests.cpp
test/unit/tcframe/io_manipulator/GridIOSegmentManipulatorTests.cpp
test/unit/tcframe/io_manipulator/IOManipulatorTests.cpp
test/unit/tcframe/io_manipulator/LineIOSegmentManipulatorTests.cpp
test/unit/tcframe/io_manipulator/LinesIOSegmentManipulatorTests.cpp
test/unit/tcframe/io_manipulator/MockIOManipulator.hpp
test/unit/tcframe/io_manipulator/RawLineIOSegmentManipulatorTests.cpp
test/unit/tcframe/io_manipulator/RawLinesIOSegmentManipulatorTests.cpp
test/unit/tcframe/logger/DefaultBaseLogggerTests.cpp
test/unit/tcframe/logger/MockLoggerEngine.hpp
test/unit/tcframe/logger/SimpleLoggerEngineTests.cpp
Expand All @@ -214,6 +207,13 @@ set(TEST_UNIT
test/unit/tcframe/spec/io/LinesIOSegmentBuilderTests.cpp
test/unit/tcframe/spec/io/RawLineIOSegmentBuilderTests.cpp
test/unit/tcframe/spec/io/RawLinesIOSegmentBuilderTests.cpp
test/unit/tcframe/spec/io_manipulator/GridIOSegmentManipulatorTests.cpp
test/unit/tcframe/spec/io_manipulator/IOManipulatorTests.cpp
test/unit/tcframe/spec/io_manipulator/LineIOSegmentManipulatorTests.cpp
test/unit/tcframe/spec/io_manipulator/LinesIOSegmentManipulatorTests.cpp
test/unit/tcframe/spec/io_manipulator/MockIOManipulator.hpp
test/unit/tcframe/spec/io_manipulator/RawLineIOSegmentManipulatorTests.cpp
test/unit/tcframe/spec/io_manipulator/RawLinesIOSegmentManipulatorTests.cpp
test/unit/tcframe/spec/random/RandomTests.cpp
test/unit/tcframe/spec/testcase/TestCaseTests.cpp
test/unit/tcframe/spec/testcase/TestGroupTests.cpp
Expand Down
1 change: 0 additions & 1 deletion include/tcframe/generator/TestCaseGenerator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "GenerationOptions.hpp"
#include "GeneratorLogger.hpp"
#include "tcframe/evaluator.hpp"
#include "tcframe/io_manipulator.hpp"
#include "tcframe/os.hpp"
#include "tcframe/spec.hpp"
#include "tcframe/verdict.hpp"
Expand Down
8 changes: 0 additions & 8 deletions include/tcframe/io_manipulator.hpp

This file was deleted.

1 change: 1 addition & 0 deletions include/tcframe/spec.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include "tcframe/spec/constraint.hpp"
#include "tcframe/spec/core.hpp"
#include "tcframe/spec/io.hpp"
#include "tcframe/spec/io_manipulator.hpp"
#include "tcframe/spec/random.hpp"
#include "tcframe/spec/testcase.hpp"
#include "tcframe/spec/variable.hpp"
Expand Down
8 changes: 8 additions & 0 deletions include/tcframe/spec/io_manipulator.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#pragma once

#include "tcframe/spec/io_manipulator/GridIOSegmentManipulator.hpp"
#include "tcframe/spec/io_manipulator/IOManipulator.hpp"
#include "tcframe/spec/io_manipulator/LineIOSegmentManipulator.hpp"
#include "tcframe/spec/io_manipulator/LinesIOSegmentManipulator.hpp"
#include "tcframe/spec/io_manipulator/RawLineIOSegmentManipulator.hpp"
#include "tcframe/spec/io_manipulator/RawLinesIOSegmentManipulator.hpp"
1 change: 0 additions & 1 deletion test/unit/tcframe/generator/GeneratorTests.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "gmock/gmock.h"
#include "../mock.hpp"

#include "../io_manipulator/MockIOManipulator.hpp"
#include "../os/MockOperatingSystem.hpp"
#include "../spec/core/MockSeedSetter.hpp"
#include "../spec/verifier/MockVerifier.hpp"
Expand Down
2 changes: 1 addition & 1 deletion test/unit/tcframe/generator/TestCaseGeneratorTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#include <sstream>

#include "../evaluator/MockEvaluator.hpp"
#include "../io_manipulator/MockIOManipulator.hpp"
#include "../os/MockOperatingSystem.hpp"
#include "../spec/io_manipulator/MockIOManipulator.hpp"
#include "../spec/verifier/MockVerifier.hpp"
#include "MockGeneratorLogger.hpp"
#include "tcframe/generator/TestCaseGenerator.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <sstream>

#include "tcframe/io_manipulator/GridIOSegmentManipulator.hpp"
#include "tcframe/spec/io_manipulator/GridIOSegmentManipulator.hpp"

using ::testing::Eq;
using ::testing::StrEq;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <sstream>

#include "tcframe/io_manipulator/IOManipulator.hpp"
#include "tcframe/spec/io_manipulator/IOManipulator.hpp"

using ::testing::Eq;
using ::testing::StrEq;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <sstream>

#include "tcframe/io_manipulator/LineIOSegmentManipulator.hpp"
#include "tcframe/spec/io_manipulator/LineIOSegmentManipulator.hpp"

using ::testing::Eq;
using ::testing::StrEq;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <sstream>

#include "tcframe/io_manipulator/LinesIOSegmentManipulator.hpp"
#include "tcframe/spec/io_manipulator/LinesIOSegmentManipulator.hpp"

using ::testing::Eq;
using ::testing::StrEq;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include "gmock/gmock.h"

#include "tcframe/io_manipulator/IOManipulator.hpp"
#include "tcframe/spec/io_manipulator/IOManipulator.hpp"

namespace tcframe {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <sstream>

#include "tcframe/io_manipulator/RawLineIOSegmentManipulator.hpp"
#include "tcframe/spec/io_manipulator/RawLineIOSegmentManipulator.hpp"

using ::testing::Eq;
using ::testing::StrEq;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <sstream>

#include "tcframe/io_manipulator/RawLinesIOSegmentManipulator.hpp"
#include "tcframe/spec/io_manipulator/RawLinesIOSegmentManipulator.hpp"

using ::testing::Eq;
using ::testing::StrEq;
Expand Down

0 comments on commit 810c07f

Please sign in to comment.