http://code.google.com/p/gtest-runner-qt/source/detail?r=32
Deleted:
/trunk/include/GTestCollectionResults.h
/trunk/include/GTestItem.h
/trunk/include/TestTreeWidgetItem.h
/trunk/src/TestTreeWidgetItem.cpp
=======================================
--- /trunk/include/GTestCollectionResults.h Thu Jul 29 17:53:34 2010
+++ /dev/null
@@ -1,64 +0,0 @@
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * *
- * GTestCollectionResults.h - Created on 2010-07-27
- *
- * Copyright (C) 2010 Sandy Chapman
- *
- * This library is free software; you can redistribute it and/or modify it
under the
- * terms of the GNU Lesser General Public License as published by the Free
Software
- * Foundation; either version 2.1 of the License, or (at your option) any
later version.
- * This library 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 Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public
License along with this
- * library; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330,
- * Boston, MA 02111-1307 USA
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * */
-
-#ifndef GTESTCOLLECTIONRESULTS_H_
-#define GTESTCOLLECTIONRESULTS_H_
-
-#include <QString>
-
-class GTestCollectionResults {
-
-protected:
- QString exeName;
- uint numTests;
- uint numFailures;
- uint numErrors;
- uint totalTime;
-
-public:
- GTestCollectionResults(QString name);
- void setTestRunCount(uint count);
- void setTestFailureCount(uint count);
- void setTestErrorCount(uint count);
- void setTestTotalTime(uint count);
- uint getTestRunCount() const;
- uint getTestFailureCount() const;
- uint getTestErrorCount() const;
- uint getTestTotalTime() const;
- QString getTestName() const;
-
-};
-
-inline void GTestCollectionResults::setTestRunCount(uint count) { numTests
= count; }
-
-inline void GTestCollectionResults::setTestFailureCount(uint count) {
numFailures = count; }
-
-inline void GTestCollectionResults::setTestErrorCount(uint count) {
numErrors = count; }
-
-inline void GTestCollectionResults::setTestTotalTime(uint count) {
totalTime = count; }
-
-inline uint GTestCollectionResults::getTestRunCount() const { return
numTests; }
-
-inline uint GTestCollectionResults::getTestFailureCount() const { return
numFailures; }
-
-inline uint GTestCollectionResults::getTestErrorCount() const { return
numErrors; }
-
-inline uint GTestCollectionResults::getTestTotalTime() const { return
totalTime; }
-
-inline QString GTestCollectionResults::getTestName() const { return
exeName; }
-
-
-#endif /* GTESTCOLLECTIONRESULTS_H_ */
=======================================
--- /trunk/include/GTestItem.h Thu Jul 29 17:53:34 2010
+++ /dev/null
@@ -1,29 +0,0 @@
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * *
- * GTestItem.h - Created on 2010-07-29
- *
- * Copyright (C) 2010 Sandy Chapman
- *
- * This library is free software; you can redistribute it and/or modify it
under the
- * terms of the GNU Lesser General Public License as published by the Free
Software
- * Foundation; either version 2.1 of the License, or (at your option) any
later version.
- * This library 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 Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public
License along with this
- * library; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330,
- * Boston, MA 02111-1307 USA
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * */
-
-#ifndef GTESTITEM_H_
-#define GTESTITEM_H_
-
-#include <QObject>
-
-class GTestItem : public QObject {
-
-private:
- QString name;
-
-};
-
-#endif /* GTESTITEM_H_ */
=======================================
--- /trunk/include/TestTreeWidgetItem.h Tue Aug 17 16:53:58 2010
+++ /dev/null
@@ -1,44 +0,0 @@
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * *
- * TestTreeWidgetItem.h - Created on 2010-08-07
- *
- * Copyright (C) 2010 Sandy Chapman
- *
- * This library is free software; you can redistribute it and/or modify it
under the
- * terms of the GNU Lesser General Public License as published by the Free
Software
- * Foundation; either version 2.1 of the License, or (at your option) any
later version.
- * This library 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 Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public
License along with this
- * library; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330,
- * Boston, MA 02111-1307 USA
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * */
-
-#ifndef TESTTREEWIDGETITEM_H_
-#define TESTTREEWIDGETITEM_H_
-
-#include <QObject>
-#include <QStringList>
-#include <QTreeWidgetItem>
-
-class TestTreeWidget;
-class TestTreeWidgetItem;
-
-#include "GTestResults.h"
-
-/*! \brief Extends the QTreeWidgetItem to make a QObject derived version.
- *
- * \todo TODO::Examine alternative solutions to this structure (Custom
treeview with hash data struct).
- */
-class TestTreeWidgetItem : public QObject, public QTreeWidgetItem {
-
-Q_OBJECT
-
-public:
- TestTreeWidgetItem(TestTreeWidget* parent, const QStringList& strings,
int type = Type);
- TestTreeWidgetItem(TestTreeWidgetItem* parent, const QStringList&
strings, int type = Type);
- virtual ~TestTreeWidgetItem();
-
-};
-
-#endif /* TESTTREEWIDGETITEM_H_ */
=======================================
--- /trunk/src/TestTreeWidgetItem.cpp Tue Aug 17 16:53:58 2010
+++ /dev/null
@@ -1,46 +0,0 @@
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * *
- * TestTreeWidgetItem.cpp - Created on 2010-08-07
- *
- * Copyright (C) 2010 Sandy Chapman
- *
- * This library is free software; you can redistribute it and/or modify it
under the
- * terms of the GNU Lesser General Public License as published by the Free
Software
- * Foundation; either version 2.1 of the License, or (at your option) any
later version.
- * This library 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 Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public
License along with this
- * library; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330,
- * Boston, MA 02111-1307 USA
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * */
-
-#include "TestTreeWidgetItem.h"
-#include "TestTreeWidget.h"
-
-/*! \brief Constructor
- *
- * <a href="http://doc.qt.nokia.com/4.6/qtreewidgetitem.html#type">See
QTreeWidgetItem</a>
- * \param parent The tree widget to which the object belongs.
- * \param strings Initial strings to be inserted as columns of this
element.
- * \param type A type used to identify what kind of data is attached to
this item.
- */
-TestTreeWidgetItem::TestTreeWidgetItem(TestTreeWidget* parent, const
QStringList& strings, int type)
-: QObject(parent), QTreeWidgetItem(parent, strings, type)
-{}
-
-/*! \brief Constructor
- *
- * <a href="http://doc.qt.nokia.com/4.6/qtreewidgetitem.html#type">See
QTreeWidgetItem</a>
- * \param parent The tree widget item to which the object belongs.
- * \param strings Initial strings to be inserted as columns of this
element.
- * \param type A type used to identify what kind of data is attached to
this item.
- */
-TestTreeWidgetItem::TestTreeWidgetItem(TestTreeWidgetItem* parent, const
QStringList& strings, int type)
-: QObject(parent), QTreeWidgetItem(parent, strings, type)
-{}
-
-/*! \brief Destructor
- *
- */
-TestTreeWidgetItem::~TestTreeWidgetItem()
-{}