Skip to content

Commit

Permalink
Refactor: Move all config classes to spec/config/ package
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed Aug 3, 2017
1 parent c4c3368 commit 86d96c6
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 16 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,19 +102,20 @@ set(INCLUDE
include/tcframe/runner/verdict/VerdictCreator.hpp
include/tcframe/runner/verdict/VerdictStatus.hpp
include/tcframe/spec.hpp
include/tcframe/spec/config.hpp
include/tcframe/spec/config/GradingConfig.hpp
include/tcframe/spec/config/MultipleTestCasesConfig.hpp
include/tcframe/spec/config/StyleConfig.hpp
include/tcframe/spec/constraint.hpp
include/tcframe/spec/constraint/Constraint.hpp
include/tcframe/spec/constraint/ConstraintSuite.hpp
include/tcframe/spec/constraint/Subtask.hpp
include/tcframe/spec/core.hpp
include/tcframe/spec/core/BaseTestSpec.hpp
include/tcframe/spec/core/BaseProblemSpec.hpp
include/tcframe/spec/core/GradingConfig.hpp
include/tcframe/spec/core/Magic.hpp
include/tcframe/spec/core/MultipleTestCasesConfig.hpp
include/tcframe/spec/core/SeedSetter.hpp
include/tcframe/spec/core/Spec.hpp
include/tcframe/spec/core/StyleConfig.hpp
include/tcframe/spec/io.hpp
include/tcframe/spec/io/GridIOSegment.hpp
include/tcframe/spec/io/GridIOSegmentManipulator.hpp
Expand Down
5 changes: 5 additions & 0 deletions include/tcframe/spec/config.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#pragma once

#include "tcframe/spec/config/GradingConfig.hpp"
#include "tcframe/spec/config/MultipleTestCasesConfig.hpp"
#include "tcframe/spec/config/StyleConfig.hpp"
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions include/tcframe/spec/core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

#include "tcframe/spec/core/BaseProblemSpec.hpp"
#include "tcframe/spec/core/BaseTestSpec.hpp"
#include "tcframe/spec/core/GradingConfig.hpp"
#include "tcframe/spec/core/Magic.hpp"
#include "tcframe/spec/core/MultipleTestCasesConfig.hpp"
#include "tcframe/spec/core/SeedSetter.hpp"
#include "tcframe/spec/core/Spec.hpp"
#include "tcframe/spec/core/StyleConfig.hpp"
4 changes: 1 addition & 3 deletions include/tcframe/spec/core/BaseProblemSpec.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

#include <vector>

#include "GradingConfig.hpp"
#include "MultipleTestCasesConfig.hpp"
#include "StyleConfig.hpp"
#include "tcframe/spec/config.hpp"
#include "tcframe/spec/constraint.hpp"
#include "tcframe/spec/io.hpp"
#include "tcframe/util.hpp"
Expand Down
4 changes: 1 addition & 3 deletions include/tcframe/spec/core/BaseTestSpec.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
#include <string>
#include <vector>

#include "GradingConfig.hpp"
#include "MultipleTestCasesConfig.hpp"
#include "SeedSetter.hpp"
#include "Spec.hpp"
#include "StyleConfig.hpp"
#include "tcframe/spec/config.hpp"
#include "tcframe/spec/random.hpp"
#include "tcframe/util.hpp"

Expand Down
5 changes: 1 addition & 4 deletions include/tcframe/spec/core/Spec.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
#pragma once

#include "GradingConfig.hpp"
#include "MultipleTestCasesConfig.hpp"
#include "SeedSetter.hpp"
#include "StyleConfig.hpp"
#include "tcframe/spec/constraint.hpp"
#include "tcframe/spec/config.hpp"
#include "tcframe/spec/constraint.hpp"
#include "tcframe/spec/io.hpp"
#include "tcframe/spec/testcase.hpp"
Expand Down

0 comments on commit 86d96c6

Please sign in to comment.