From e20faa8fd950a97d511adbec40c13eeb1093563d Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 24 Dec 2008 00:03:30 -0500 Subject: Started Ability test class and also adding base class for sigmod classes --- sigmod/test/TestSigmodObject.cpp | 53 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 sigmod/test/TestSigmodObject.cpp (limited to 'sigmod/test/TestSigmodObject.cpp') 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 + * + * 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 . + */ + +// 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(); +} -- cgit