|
|
Choosing A Webhost: |
CVS update of carob/test (ConnectionSetup.cpp ConnectionSetup.hpp): msg#00106db.carob.cvs
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: sequoia-NAAfj4rwCWAYtQj7fl1lsA@xxxxxxxxxxxxxxxx * * 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: sequoia-NAAfj4rwCWAYtQj7fl1lsA@xxxxxxxxxxxxxxxx * * 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 */
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS update of carob/test (11 files), gilles-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
|---|---|
| Next by Date: | CVS update of carob/test (2 files), gilles-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Previous by Thread: | CVS update of carob/test (11 files), gilles-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Next by Thread: | CVS update of carob/test (2 files), gilles-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|