[kgraphviewer-devel] [KGraphViewer] a6aea73: Fix tests

Kevin Funk krf at electrostorm.net
Mon Dec 13 11:56:33 CET 2010


commit a6aea731215abb9320dce0c6ecde6efafaf9e97d
branch libkgraphviz
Author: Kevin Funk <krf at electrostorm.net>
Date:   Mon Dec 13 11:56:19 2010 +0100

    Fix tests

diff --git a/tests/kgraphviz/dotgraphtests.cpp b/tests/kgraphviz/dotgraphtests.cpp
index b30e603..7aa9c9b 100644
--- a/tests/kgraphviz/dotgraphtests.cpp
+++ b/tests/kgraphviz/dotgraphtests.cpp
@@ -1,3 +1,22 @@
+/*
+    Copyright (C) 2010 Kevin Funk <krf at electrostorm.net>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Library General Public
+    License as published by the Free Software Foundation; either
+    version 2 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
+    Library General Public License for more details.
+
+    You should have received a copy of the GNU Library General Public License
+    along with this library; see the file COPYING.LIB.  If not, write to
+    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+    Boston, MA 02110-1301, USA.
+*/
+
 #include <kgraphviz/dotgraph.h>
 
 #include <QtTest/QtTest>
@@ -10,7 +29,7 @@ private Q_SLOTS:
   void testCreateGraph();
 };
 
-using namespace KGraphViewer;
+using namespace KGraphViz;
 
 void DotGraphTests::testCreateGraph()
 {
@@ -22,4 +41,4 @@ void DotGraphTests::testCreateGraph()
 }
 
 QTEST_MAIN(DotGraphTests)
-#include "dotgraphtests.moc"*/
+#include "dotgraphtests.moc"


More information about the kgraphviewer-devel mailing list