diff options
Diffstat (limited to 'test/notifiertest.cc')
-rw-r--r-- | test/notifiertest.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/notifiertest.cc b/test/notifiertest.cc index fe00597..312dca3 100644 --- a/test/notifiertest.cc +++ b/test/notifiertest.cc @@ -24,7 +24,7 @@ * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include "dgunit.h" +#include <uunit.h> #include <vector> @@ -48,12 +48,12 @@ public: }; class NotifierTest - : public DGUnit + : public uUnit { public: NotifierTest() { - DGUNIT_TEST(NotifierTest::testTest); + uUNIT_TEST(NotifierTest::testTest); } //! This just creates some drumkit. @@ -71,9 +71,9 @@ public: std::vector<Probe*> ref; ref.push_back(&foo1); ref.push_back(&foo2); - DGUNIT_ASSERT_EQUAL(ref.size(), triggers.size()); - DGUNIT_ASSERT_EQUAL(ref[0], triggers[0]); - DGUNIT_ASSERT_EQUAL(ref[1], triggers[1]); + uUNIT_ASSERT_EQUAL(ref.size(), triggers.size()); + uUNIT_ASSERT_EQUAL(ref[0], triggers[0]); + uUNIT_ASSERT_EQUAL(ref[1], triggers[1]); notifier.disconnect(&foo1); notifier.disconnect(&foo2); triggers.clear(); @@ -86,9 +86,9 @@ public: std::vector<Probe*> ref; ref.push_back(&foo2); ref.push_back(&foo1); - DGUNIT_ASSERT_EQUAL(ref.size(), triggers.size()); - DGUNIT_ASSERT_EQUAL(ref[0], triggers[0]); - DGUNIT_ASSERT_EQUAL(ref[1], triggers[1]); + uUNIT_ASSERT_EQUAL(ref.size(), triggers.size()); + uUNIT_ASSERT_EQUAL(ref[0], triggers[0]); + uUNIT_ASSERT_EQUAL(ref[1], triggers[1]); notifier.disconnect(&foo1); notifier.disconnect(&foo2); triggers.clear(); |