camino-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Camino-devel] camino/src unittests.pro client/ClientInterface...


From: Philippe Fremy
Subject: [Camino-devel] camino/src unittests.pro client/ClientInterface...
Date: Sun, 19 Jan 2003 18:00:43 -0500

CVSROOT:        /cvsroot/camino
Module name:    camino
Changes by:     Philippe Fremy <address@hidden> 03/01/19 18:00:42

Modified files:
        src            : unittests.pro 
        src/client     : ClientInterface.h Game.cpp 

Log message:
        use config option for exception handling
        remove . for specific unix includepath, we need it everywhere
        do not compile test files that to not compile nor need compiling

Patches:
Index: camino/src/client/ClientInterface.h
diff -u camino/src/client/ClientInterface.h:1.4 
camino/src/client/ClientInterface.h:1.5
--- camino/src/client/ClientInterface.h:1.4     Sun Jan 19 17:15:04 2003
+++ camino/src/client/ClientInterface.h Sun Jan 19 18:00:42 2003
@@ -5,7 +5,7 @@
 ** ClientInterface.h
 ** Interface of the client
 **
-** Version : $Id: ClientInterface.h,v 1.4 2003/01/19 22:15:04 Audoux Exp $
+** Version : $Id: ClientInterface.h,v 1.5 2003/01/19 23:00:42 pfremy Exp $
 ** Author(s) : Philippe Fremy, Pascal Audoux
 ** Creation : 14/01/2003
 ** Copyright: Pascal Audoux, Philippe Fremy 2003
@@ -55,6 +55,9 @@
        virtual ~ClientInterface();
 
 public slots:
+       // needed to show the method slot_action() in the class browser of 
Visual C++
+       void fakeMethod() {} 
+
        /** Slot for managing 'File' menu */
        void slot_action( int num );
 
Index: camino/src/client/Game.cpp
diff -u camino/src/client/Game.cpp:1.1 camino/src/client/Game.cpp:1.2
--- camino/src/client/Game.cpp:1.1      Wed Jan 15 15:54:14 2003
+++ camino/src/client/Game.cpp  Sun Jan 19 18:00:42 2003
@@ -2,7 +2,7 @@
 **
 ** Camino
 **
-** Version : $Id: Game.cpp,v 1.1 2003/01/15 20:54:14 Audoux Exp $
+** Version : $Id: Game.cpp,v 1.2 2003/01/19 23:00:42 pfremy Exp $
 **
 ** Author(s) : Philippe Fremy, Pascal Audoux
 ** Creation : 15/01/2003
@@ -28,7 +28,7 @@
 #include "Game.h"
 
 Game::Game( QWidget * parent , const char * name )
-  : QWidget( parent, name, Qt::WStyle_Customize | Qt::WStyle_DialogBorder ), 
MsgDecoder()
+  : QWidget( parent, name, QWidget::WStyle_Customize | 
QWidget::WStyle_DialogBorder ), MsgDecoder()
 {
 
 }
Index: camino/src/unittests.pro
diff -u camino/src/unittests.pro:1.3 camino/src/unittests.pro:1.4
--- camino/src/unittests.pro:1.3        Thu Jan 16 17:49:28 2003
+++ camino/src/unittests.pro    Sun Jan 19 18:00:42 2003
@@ -1,6 +1,7 @@
 
 include( camino.pro )
 
+CONFIG += exceptions
 TARGET = unittest
 SOURCES -= main.cpp
 SOURCES += main-unittest.cpp
@@ -8,16 +9,21 @@
 win32 {
        LIBS += cppunit/lib/cppunit.lib
        INCLUDEPATH += cppunit/include
-       QMAKE_CXXFLAGS += /GX
 }
 
 unix {
        LIBS += -lcppunit
-       INCLUDEPATH += . $$join( $$system( cppunit-config --prefix ), 
"include/" )
+       INCLUDEPATH += $$join( $$system( cppunit-config --prefix ), "include/" )
        QMAKE_CLEAN += unittest
 }
 
 # common
-HEADERS += common/TestMsgCoder.h common/TestMsgDecoder.h common/TestBoard.h 
common/TestTile.h
-SOURCES += common/TestMsgCoder.cpp common/TestMsgDecoder.cpp 
common/TestBoard.cpp common/TestTile.cpp
+HEADERS += common/TestMsgDecoder.h 
+# common/TestNetMsg.h common/TestMsgCoder.h 
+SOURCES += common/TestMsgDecoder.cpp 
+# common/TestNetMsg.cpp common/TestMsgCoder.cpp 
+
+HEADERS += common/PhilAsserts.h common/PhilTestRunner.h
+SOURCES += common/PhilAsserts.cpp common/PhilTestRunner.cpp
+
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]