Commits

Matt Oswald  committed a8d8c73

cleaned up the includes a bit

  • Participants
  • Parent commits 82a7e79

Comments (0)

Files changed (4)

File xUnit++/TestCollection.cpp

 #include "TestCollection.h"
+#include "Fact.h"
 
 namespace xUnitpp
 {

File xUnit++/TestCollection.h

 
 #include <functional>
 #include <vector>
-#include "Fact.h"
 #include "Theory.h"
 
 namespace xUnitpp
 {
 
+class Fact;
+
 class TestCollection
 {
     friend class Register;

File xUnit++/TestRunner.cpp

 #include <mutex>
 #include <random>
 #include <vector>
+#include "Fact.h"
 #include "TestCollection.h"
 #include "TestDetails.h"
 #include "xUnitAssert.h"

File xUnit++/TestRunner.h

 #include <memory>
 #include <string>
 #include <vector>
-#include "Fact.h"
-#include "Theory.h"
 #include "xUnitTime.h"
 
 namespace xUnitpp
 {
 
+class Fact;
+class Theory;
+struct TestDetails;
+
 size_t RunAllTests(const std::string &suite = "", size_t maxTestRunTime = 0, size_t maxConcurrent = 0);
 
 class TestRunner