Date: Thursday, December 1, 2005 @ 19:02:18
  Author: gilles
    Path: /cvsroot/carob/carob/test

Modified: TestExecWriteRequest.cpp (1.10 -> 1.11) TestStatement.cpp (1.8
          -> 1.9)

Changed exception type catched in tests of bad request writing (with request 
string "dummy request"):
it is now a ControllerException since the controller now checks the request and 
detects that there is no
"update" or so.


--------------------------+
 TestExecWriteRequest.cpp |    4 ++--
 TestStatement.cpp        |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)


Index: carob/test/TestExecWriteRequest.cpp
diff -u carob/test/TestExecWriteRequest.cpp:1.10 
carob/test/TestExecWriteRequest.cpp:1.11
--- carob/test/TestExecWriteRequest.cpp:1.10    Fri Nov 25 17:29:10 2005
+++ carob/test/TestExecWriteRequest.cpp Thu Dec  1 19:02:18 2005
@@ -41,12 +41,12 @@
     // We should receive an exception instead of coming here
     CPPUNIT_ASSERT(false);
   }
-  catch (BackendException be)
+  catch (ControllerException ce)
   {
     if (isErrorEnabled())
     {
       logError(fctName, L"Write failed (this is ok). Exception:"
-          + be.description());
+          + ce.description());
     }
     CPPUNIT_ASSERT(true);
   }
Index: carob/test/TestStatement.cpp
diff -u carob/test/TestStatement.cpp:1.8 carob/test/TestStatement.cpp:1.9
--- carob/test/TestStatement.cpp:1.8    Wed Nov 30 10:18:22 2005
+++ carob/test/TestStatement.cpp        Thu Dec  1 19:02:18 2005
@@ -130,12 +130,12 @@
     // We should receive an exception instead of coming here
     CPPUNIT_ASSERT(false);
   }
-  catch (BackendException be)
+  catch (ControllerException ce)
   {
     if (isErrorEnabled())
     {
       logError(fctName, L"Update failed (this is ok). Exception: "
-          + be.description());
+          + ce.description());
     }
   }
   delete statementPtr;

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to