Date: Wednesday, June 21, 2006 @ 16:20:40
Author: marc
Path: /cvsroot/carob/carob/test
Modified: 10-Connection/TestConnect.cpp (1.6 -> 1.7) ConnectionSetup.cpp
(1.8 -> 1.9)
Added TODO: about controller settings.
-------------------------------+
10-Connection/TestConnect.cpp | 3 ++-
ConnectionSetup.cpp | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
Index: carob/test/10-Connection/TestConnect.cpp
diff -u carob/test/10-Connection/TestConnect.cpp:1.6
carob/test/10-Connection/TestConnect.cpp:1.7
--- carob/test/10-Connection/TestConnect.cpp:1.6 Tue Apr 4 18:35:58 2006
+++ carob/test/10-Connection/TestConnect.cpp Wed Jun 21 16:20:40 2006
@@ -70,7 +70,8 @@
void TestConnect::testConnectBadPort()
{
wstring fctName(L"TestConnect::testConnectBadPort");
- ConnectionParameters connectionPrms(L"localhost",
+ ConnectionParameters connectionPrms(L"localhost", // TODO: should use the
+ // hostname found in ConnectionSetup.cpp
12345,
L"myDB",
L"user",
Index: carob/test/ConnectionSetup.cpp
diff -u carob/test/ConnectionSetup.cpp:1.8 carob/test/ConnectionSetup.cpp:1.9
--- carob/test/ConnectionSetup.cpp:1.8 Wed Jun 21 16:14:34 2006
+++ carob/test/ConnectionSetup.cpp Wed Jun 21 16:20:40 2006
@@ -37,7 +37,8 @@
#else
// Put your controller settings here.
// Check this constructor for more details.
- ConnectionParameters connectionPrms(L"myhost",
+ // TODO: these should be run-time settings.
+ ConnectionParameters connectionPrms(L"localhost",
25322,
L"myDB",
L"user",
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits