Date: Monday, February 27, 2006 @ 16:47:24
Author: gilles
Path: /cvsroot/carob/carob/test
Modified: ConnectionSetup.cpp (1.5 -> 1.6) ConnectionSetup.hpp (1.3 ->
1.4)
Virtualized setUp and tearDown so it can be overloaded
---------------------+
ConnectionSetup.cpp | 3 +--
ConnectionSetup.hpp | 6 +++---
2 files changed, 4 insertions(+), 5 deletions(-)
Index: carob/test/ConnectionSetup.cpp
diff -u carob/test/ConnectionSetup.cpp:1.5 carob/test/ConnectionSetup.cpp:1.6
--- carob/test/ConnectionSetup.cpp:1.5 Thu Jan 12 17:33:46 2006
+++ carob/test/ConnectionSetup.cpp Mon Feb 27 16:47:23 2006
@@ -1,6 +1,6 @@
/*
* Sequoia: Database clustering technology.
- * Copyright (C) 2005 Emic Networks
+ * Copyright (C) 2005-2006 Continuent, Inc.
* Contact: [EMAIL PROTECTED]
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -32,7 +32,6 @@
void ConnectionSetup::setUp()
{
- wstring fctName(L"TestExecReadRequest::setUp");
ConnectionParameters connectionPrms(L"localhost",
25322,
L"myDB",
Index: carob/test/ConnectionSetup.hpp
diff -u carob/test/ConnectionSetup.hpp:1.3 carob/test/ConnectionSetup.hpp:1.4
--- carob/test/ConnectionSetup.hpp:1.3 Fri Dec 16 18:20:01 2005
+++ carob/test/ConnectionSetup.hpp Mon Feb 27 16:47:23 2006
@@ -1,6 +1,6 @@
/*
* Sequoia: Database clustering technology.
- * Copyright (C) 2005 Emic Networks
+ * Copyright (C) 2005-2006 Continuent, Inc.
* Contact: [EMAIL PROTECTED]
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -43,9 +43,9 @@
public:
/** Creates the connection and connects to the running local controller. */
- void setUp();
+ virtual void setUp();
/** Destroys the connection if applicable */
- void tearDown();
+ virtual void tearDown();
protected:
/** Valid connection on which data transferts are to be done */
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits