summaryrefslogtreecommitdiff
path: root/test/notifiertest.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-09-19 15:12:08 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-09-19 15:14:24 +0200
commit62e577cee9e199692d15cf741c0e29ae28f25c52 (patch)
tree3cfe20ce434b986e58efbc9bececcda41502ed33 /test/notifiertest.cc
parent19ac4649f16621430b7d34635410fd67fd8ef49e (diff)
Make use of uUnit as a submodule (dgunit renamed).
Diffstat (limited to 'test/notifiertest.cc')
-rw-r--r--test/notifiertest.cc18
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();