Unit tests: Don't use OpenShot.h header (#607)

- To prevent slow compiles of unit tests, replace all of the
  '#include "OpenShot.h"' invocations with includes of the
  individual headers actually needed by each test file.
This commit is contained in:
Frank Dana
2020-12-26 21:51:24 -05:00
committed by GitHub
parent 48d2aacd83
commit 2699e7d1d0
15 changed files with 83 additions and 20 deletions
+1 -2
View File
@@ -31,9 +31,8 @@
#include "UnitTest++.h"
// Prevent name clashes with juce::UnitTest
#define DONT_SET_USING_JUCE_NAMESPACE 1
#include "OpenShot.h"
#include "Coordinate.h"
using namespace std;
using namespace openshot;
TEST(Coordinate_Default_Constructor)