tagged release_1.0_rc3
[mussa.git] / qui / test / TestColorSharing.cpp
index 5730aca373ccad816af2a7e0a1d0c694e12b3e36..6f61d5996f131bcc8a44ce40a99665bdd7dcf83b 100644 (file)
@@ -1,30 +1,3 @@
-#include <QtGui>
-#include <QtTest/QtTest>
+#include "TestColorSharing.hpp"
 
-#include "alg/mussa.hpp"
-#include "alg/color.hpp"
-#include "qui/MussaWindow.hpp"
-
-//! do our colors get shared correctly between different windows?
-class TestColorSharing : public QObject
-{
-  Q_OBJECT
-
-private slots:
-
-  void simple2sequence() {
-    Color green(0.0, 1.0, 0.0);
-    Mussa m;
-    m.append_sequence("AAGGCCTT");
-    m.append_sequence("GGTTCCAA");
-    m.set_window(2);
-    m.set_threshold(2);
-    m.analyze();
-
-    //MussaWindow mw(&m);
-    m.add_motif("GG", green);
-  }
-};
-
-QTEST_MAIN(TestColorSharing)
-#include "moc_TestColorSharing.cxx"
+QTEST_APPLESS_MAIN(TestColorSharing)