]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/test/TestMain.cpp
Initial test suite commit
[bamtools.git] / src / test / TestMain.cpp
diff --git a/src/test/TestMain.cpp b/src/test/TestMain.cpp
new file mode 100755 (executable)
index 0000000..878e6e8
--- /dev/null
@@ -0,0 +1,20 @@
+
+// GoogleTest
+#include <gtest/gtest.h>
+
+// BamTools unit tests
+#include "test/api/BamAlignment/BamAlignmentDefaultTest.h"
+#include "test/api/BamAlignment/BamAlignmentFlagTest.h"
+#include "test/api/BamAux/BamAuxBamRegionTest.h"
+#include "test/api/BamIndex/BamIndexFactoryTest.h"
+#include "test/api/BamIndex/BamStandardIndexTest.h"
+#include "test/api/BamMultiReader/BamMultiReaderFileOpsTest.h"
+#include "test/api/BamReader/BamReaderFileOpsTest.h"
+#include "test/api/SamHeader/SamHeaderValidatorTest.h"
+#include "test/api/SamHeader/SamReadGroupDictionaryTest.h"
+#include "test/api/SamHeader/SamSequenceDictionaryTest.h"
+
+int main(int argc, char* argv[]) {
+    ::testing::InitGoogleTest(&argc, argv);
+    return RUN_ALL_TESTS();
+}