summaryrefslogtreecommitdiffstats
path: root/sigmod/test/TestSigmodObject.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-12-24 00:03:30 -0500
committerBen Boeckel <MathStuf@gmail.com>2008-12-24 00:03:30 -0500
commite20faa8fd950a97d511adbec40c13eeb1093563d (patch)
treef839f76e304b44f2229372912b186711d8a41399 /sigmod/test/TestSigmodObject.cpp
parent64f5df38e8bde270bd6749bcc93ce596f69e4dc3 (diff)
downloadsigen-e20faa8fd950a97d511adbec40c13eeb1093563d.tar.gz
sigen-e20faa8fd950a97d511adbec40c13eeb1093563d.tar.xz
sigen-e20faa8fd950a97d511adbec40c13eeb1093563d.zip
Started Ability test class and also adding base class for sigmod classes
Diffstat (limited to 'sigmod/test/TestSigmodObject.cpp')
-rw-r--r--sigmod/test/TestSigmodObject.cpp53
1 files changed, 53 insertions, 0 deletions
diff --git a/sigmod/test/TestSigmodObject.cpp b/sigmod/test/TestSigmodObject.cpp
new file mode 100644
index 00000000..b0baa44d
--- /dev/null
+++ b/sigmod/test/TestSigmodObject.cpp
@@ -0,0 +1,53 @@
+/*
+ * Copyright 2008 Ben Boeckel <MathStuf@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+// Header include
+#include "TestSigmodObject.h"
+
+void TestSigmodObject::message(const QString& message)
+{
+ m_messages.append(message);
+}
+
+void TestSigmodObject::warning(const QString& warning)
+{
+ m_warnings.append(warning);
+}
+
+void TestSigmodObject::error(const QString& error)
+{
+ m_errors.append(error);
+}
+
+void TestSigmodObject::initTestCases()
+{
+}
+
+void TestSigmodObject::cleanupTestCases()
+{
+}
+
+void TestSigmodObject::init()
+{
+}
+
+void TestSigmodObject::cleanup()
+{
+ m_messages.clear();
+ m_warnings.clear();
+ m_errors.clear();
+}