Skip to content

Commit

Permalink
Optimize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed Dec 4, 2016
1 parent 88c5c56 commit 3c60252
Show file tree
Hide file tree
Showing 19 changed files with 24 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include <iostream>
#include <stdexcept>

#include "tcframe/logger.hpp"
#include "tcframe/spec/io.hpp"
#include "tcframe/spec/variable.hpp"
#include "tcframe/util.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include <iostream>
#include <stdexcept>

#include "tcframe/logger.hpp"
#include "tcframe/spec/io.hpp"
#include "tcframe/spec/variable.hpp"
#include "tcframe/util.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include <iostream>
#include <stdexcept>

#include "tcframe/logger.hpp"
#include "tcframe/spec/io.hpp"
#include "tcframe/spec/variable.hpp"
#include "tcframe/util.hpp"
Expand Down
2 changes: 2 additions & 0 deletions include/tcframe/runner/SlugParser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

#include <stdexcept>
#include <string>
#include <vector>

#include "tcframe/util.hpp"

using std::runtime_error;
using std::string;
using std::vector;

namespace tcframe {

Expand Down
3 changes: 2 additions & 1 deletion include/tcframe/spec/core/BaseTestSpec.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@

#include "CommonConfig.hpp"
#include "GradingConfig.hpp"
#include "MultipleTestCasesConfig.hpp"
#include "SeedSetter.hpp"
#include "tcframe/spec.hpp"
#include "tcframe/util.hpp"

using std::vector;
using std::set;
using std::vector;

namespace tcframe {

Expand Down
1 change: 0 additions & 1 deletion include/tcframe/spec/core/Magic.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <algorithm>
#include <queue>
#include <string>
#include <vector>
Expand Down
1 change: 1 addition & 0 deletions include/tcframe/spec/testcase/TestSuite.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ using std::function;
using std::set;
using std::string;
using std::tie;
using std::vector;

namespace tcframe {

Expand Down
1 change: 0 additions & 1 deletion include/tcframe/spec/variable/Matrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ using std::endl;
using std::iostream;
using std::is_same;
using std::ostream;
using std::ref;
using std::vector;

namespace tcframe {
Expand Down
1 change: 0 additions & 1 deletion include/tcframe/spec/variable/Scalar.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

using std::istream;
using std::ostream;
using std::ref;
using std::string;

namespace tcframe {
Expand Down
1 change: 0 additions & 1 deletion include/tcframe/spec/variable/Vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

using std::iostream;
using std::ostream;
using std::ref;
using std::vector;

namespace tcframe {
Expand Down
2 changes: 0 additions & 2 deletions include/tcframe/util/StringUtils.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <algorithm>
#include <sstream>
#include <string>
#include <vector>
Expand All @@ -9,7 +8,6 @@

using std::istringstream;
using std::ostringstream;
using std::replace;
using std::string;
using std::vector;

Expand Down
2 changes: 1 addition & 1 deletion include/tcframe/verifier/Verifier.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#pragma once

#include <map>
#include <vector>
#include <string>
#include <utility>
#include <vector>

#include "ConstraintsVerificationResult.hpp"
#include "MultipleTestCasesConstraintsVerificationResult.hpp"
Expand Down
4 changes: 2 additions & 2 deletions test/tcframe/generator/TestCaseGeneratorTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
#include "MockGeneratorLogger.hpp"
#include "tcframe/generator/TestCaseGenerator.hpp"

using std::ostringstream;

using ::testing::_;
using ::testing::AllOf;
using ::testing::DoAll;
Expand All @@ -30,6 +28,8 @@ using ::testing::Throw;
using ::testing::Truly;
using ::testing::WithArg;

using std::ostringstream;

namespace tcframe {

class TestCaseGeneratorTests : public Test {
Expand Down
7 changes: 4 additions & 3 deletions test/tcframe/logger/SimpleLoggerEngineTests.cpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
#include "gmock/gmock.h"

#include <sstream>
#include <streambuf>

#include "tcframe/logger/SimpleLoggerEngine.hpp"

using std::ostringstream;
using std::streambuf;

using ::testing::Eq;
using ::testing::Test;

using std::ostringstream;
using std::streambuf;

namespace tcframe {

class SimpleLoggerEngineTests : public Test {
Expand Down
6 changes: 3 additions & 3 deletions test/tcframe/spec/variable/MatrixTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

#include <sstream>

using std::istringstream;
using std::ostringstream;

using ::testing::Eq;
using ::testing::StrEq;
using ::testing::Test;

using std::istringstream;
using std::ostringstream;

namespace tcframe {

class MatrixTests : public Test {
Expand Down
6 changes: 3 additions & 3 deletions test/tcframe/spec/variable/ScalarTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
#include <vector>
#include <sstream>

using ::testing::Eq;
using ::testing::Test;

using std::istringstream;
using std::ostringstream;
using std::vector;

using ::testing::Eq;
using ::testing::Test;

namespace tcframe {

class ScalarTests : public Test {
Expand Down
6 changes: 3 additions & 3 deletions test/tcframe/spec/variable/VariableTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

#include <sstream>

using std::istringstream;
using std::ostringstream;

using ::testing::Eq;
using ::testing::StrEq;
using ::testing::Test;

using std::istringstream;
using std::ostringstream;

namespace tcframe {

class VariableTests : public Test {
Expand Down
6 changes: 3 additions & 3 deletions test/tcframe/spec/variable/VectorTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

#include <sstream>

using std::istringstream;
using std::ostringstream;

using ::testing::Eq;
using ::testing::StrEq;
using ::testing::Test;

using std::istringstream;
using std::ostringstream;

namespace tcframe {

class VectorTests : public Test {
Expand Down
1 change: 0 additions & 1 deletion test/tcframe/spec/variable/WhitespaceManipulatorTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ using ::testing::Test;

using std::istringstream;
using std::ostringstream;
using std::runtime_error;

namespace tcframe {

Expand Down

0 comments on commit 3c60252

Please sign in to comment.