From dff985ecb22e0bbc220938bfdb7fa1d7aa72dd1b Mon Sep 17 00:00:00 2001 From: fgerlits Date: Mon, 10 Jan 2005 21:31:08 +0000 Subject: [PATCH] added C++ API in the authentication module for the new storage server methods loadPref and savePref --- .../Authentication/AuthenticationClientInterface.h | 5 +++-- .../scheduler/src/AddAudioClipToPlaylistMethodTest.cxx | 4 ++-- .../products/scheduler/src/CreatePlaylistMethodTest.cxx | 4 ++-- .../products/scheduler/src/DeletePlaylistMethodTest.cxx | 4 ++-- .../products/scheduler/src/DisplayAudioClipMethodTest.cxx | 4 ++-- .../products/scheduler/src/DisplayAudioClipsMethodTest.cxx | 4 ++-- .../products/scheduler/src/DisplayPlaylistMethodTest.cxx | 4 ++-- .../products/scheduler/src/DisplayPlaylistsMethodTest.cxx | 4 ++-- .../products/scheduler/src/DisplayScheduleMethodTest.cxx | 4 ++-- .../products/scheduler/src/GeneratePlayReportMethodTest.cxx | 4 ++-- .../scheduler/src/OpenPlaylistForEditingMethodTest.cxx | 4 ++-- .../scheduler/src/RemoveAudioClipFromPlaylistMethodTest.cxx | 4 ++-- .../products/scheduler/src/RemoveFromScheduleMethodTest.cxx | 4 ++-- livesupport/products/scheduler/src/RescheduleMethodTest.cxx | 4 ++-- .../scheduler/src/RevertEditedPlaylistMethodTest.cxx | 4 ++-- .../scheduler/src/RpcAddAudioClipToPlaylistTest.cxx | 4 ++-- .../products/scheduler/src/RpcDisplayAudioClipTest.cxx | 4 ++-- .../products/scheduler/src/RpcDisplayPlaylistTest.cxx | 4 ++-- .../products/scheduler/src/RpcDisplayPlaylistsTest.cxx | 4 ++-- .../products/scheduler/src/RpcDisplayScheduleTest.cxx | 4 ++-- .../products/scheduler/src/RpcRemoveFromScheduleTest.cxx | 4 ++-- livesupport/products/scheduler/src/RpcRescheduleTest.cxx | 4 ++-- .../products/scheduler/src/RpcUploadPlaylistTest.cxx | 4 ++-- .../products/scheduler/src/SavePlaylistMethodTest.cxx | 4 ++-- livesupport/products/scheduler/src/SchedulerDaemon.cxx | 6 +++--- .../scheduler/src/UpdateFadeInFadeOutMethodTest.cxx | 4 ++-- .../products/scheduler/src/UploadPlaylistMethodTest.cxx | 4 ++-- .../products/scheduler/src/ValidatePlaylistMethodTest.cxx | 4 ++-- 28 files changed, 58 insertions(+), 57 deletions(-) diff --git a/livesupport/modules/authentication/include/LiveSupport/Authentication/AuthenticationClientInterface.h b/livesupport/modules/authentication/include/LiveSupport/Authentication/AuthenticationClientInterface.h index 9d7f6d651..6355b1af8 100644 --- a/livesupport/modules/authentication/include/LiveSupport/Authentication/AuthenticationClientInterface.h +++ b/livesupport/modules/authentication/include/LiveSupport/Authentication/AuthenticationClientInterface.h @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.5 $ + Version : $Revision: 1.6 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/authentication/include/LiveSupport/Authentication/AuthenticationClientInterface.h,v $ ------------------------------------------------------------------------------*/ @@ -41,6 +41,7 @@ #endif #include +#include #include "LiveSupport/Core/Ptr.h" #include "LiveSupport/Core/SessionId.h" @@ -68,7 +69,7 @@ using namespace LiveSupport::Core; * An interface for authentication clients. * * @author $Author: fgerlits $ - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ */ class AuthenticationClientInterface { diff --git a/livesupport/products/scheduler/src/AddAudioClipToPlaylistMethodTest.cxx b/livesupport/products/scheduler/src/AddAudioClipToPlaylistMethodTest.cxx index 2b619c43d..e3db8bc31 100644 --- a/livesupport/products/scheduler/src/AddAudioClipToPlaylistMethodTest.cxx +++ b/livesupport/products/scheduler/src/AddAudioClipToPlaylistMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.11 $ + Version : $Revision: 1.12 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/AddAudioClipToPlaylistMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -140,7 +140,7 @@ AddAudioClipToPlaylistMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/CreatePlaylistMethodTest.cxx b/livesupport/products/scheduler/src/CreatePlaylistMethodTest.cxx index 497615add..92e53056e 100644 --- a/livesupport/products/scheduler/src/CreatePlaylistMethodTest.cxx +++ b/livesupport/products/scheduler/src/CreatePlaylistMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.11 $ + Version : $Revision: 1.12 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/CreatePlaylistMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -140,7 +140,7 @@ CreatePlaylistMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/DeletePlaylistMethodTest.cxx b/livesupport/products/scheduler/src/DeletePlaylistMethodTest.cxx index efb359288..99f96e736 100644 --- a/livesupport/products/scheduler/src/DeletePlaylistMethodTest.cxx +++ b/livesupport/products/scheduler/src/DeletePlaylistMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.6 $ + Version : $Revision: 1.7 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/Attic/DeletePlaylistMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -141,7 +141,7 @@ DeletePlaylistMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/DisplayAudioClipMethodTest.cxx b/livesupport/products/scheduler/src/DisplayAudioClipMethodTest.cxx index 22a13ec5c..92cd28c91 100644 --- a/livesupport/products/scheduler/src/DisplayAudioClipMethodTest.cxx +++ b/livesupport/products/scheduler/src/DisplayAudioClipMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.7 $ + Version : $Revision: 1.8 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/DisplayAudioClipMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -138,7 +138,7 @@ DisplayAudioClipMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/DisplayAudioClipsMethodTest.cxx b/livesupport/products/scheduler/src/DisplayAudioClipsMethodTest.cxx index 9d4ea2442..ccf86c2b1 100644 --- a/livesupport/products/scheduler/src/DisplayAudioClipsMethodTest.cxx +++ b/livesupport/products/scheduler/src/DisplayAudioClipsMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.7 $ + Version : $Revision: 1.8 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/DisplayAudioClipsMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -139,7 +139,7 @@ DisplayAudioClipsMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/DisplayPlaylistMethodTest.cxx b/livesupport/products/scheduler/src/DisplayPlaylistMethodTest.cxx index 3cb448486..625367aa6 100644 --- a/livesupport/products/scheduler/src/DisplayPlaylistMethodTest.cxx +++ b/livesupport/products/scheduler/src/DisplayPlaylistMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.7 $ + Version : $Revision: 1.8 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/DisplayPlaylistMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -138,7 +138,7 @@ DisplayPlaylistMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/DisplayPlaylistsMethodTest.cxx b/livesupport/products/scheduler/src/DisplayPlaylistsMethodTest.cxx index c4c229429..23624ffdf 100644 --- a/livesupport/products/scheduler/src/DisplayPlaylistsMethodTest.cxx +++ b/livesupport/products/scheduler/src/DisplayPlaylistsMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.7 $ + Version : $Revision: 1.8 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/DisplayPlaylistsMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -139,7 +139,7 @@ DisplayPlaylistsMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/DisplayScheduleMethodTest.cxx b/livesupport/products/scheduler/src/DisplayScheduleMethodTest.cxx index 4fc01ff21..9d36ae3f8 100644 --- a/livesupport/products/scheduler/src/DisplayScheduleMethodTest.cxx +++ b/livesupport/products/scheduler/src/DisplayScheduleMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.7 $ + Version : $Revision: 1.8 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/DisplayScheduleMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -154,7 +154,7 @@ DisplayScheduleMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/GeneratePlayReportMethodTest.cxx b/livesupport/products/scheduler/src/GeneratePlayReportMethodTest.cxx index 00d7ac81d..0ddea4624 100644 --- a/livesupport/products/scheduler/src/GeneratePlayReportMethodTest.cxx +++ b/livesupport/products/scheduler/src/GeneratePlayReportMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.5 $ + Version : $Revision: 1.6 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/GeneratePlayReportMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -155,7 +155,7 @@ GeneratePlayReportMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/OpenPlaylistForEditingMethodTest.cxx b/livesupport/products/scheduler/src/OpenPlaylistForEditingMethodTest.cxx index 360b25c07..5970040a8 100644 --- a/livesupport/products/scheduler/src/OpenPlaylistForEditingMethodTest.cxx +++ b/livesupport/products/scheduler/src/OpenPlaylistForEditingMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.12 $ + Version : $Revision: 1.13 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/OpenPlaylistForEditingMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -139,7 +139,7 @@ OpenPlaylistForEditingMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/RemoveAudioClipFromPlaylistMethodTest.cxx b/livesupport/products/scheduler/src/RemoveAudioClipFromPlaylistMethodTest.cxx index acde9f7fa..5c4347f71 100644 --- a/livesupport/products/scheduler/src/RemoveAudioClipFromPlaylistMethodTest.cxx +++ b/livesupport/products/scheduler/src/RemoveAudioClipFromPlaylistMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.9 $ + Version : $Revision: 1.10 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/RemoveAudioClipFromPlaylistMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -144,7 +144,7 @@ RemoveAudioClipFromPlaylistMethodTest :: setUp(void) thr try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/RemoveFromScheduleMethodTest.cxx b/livesupport/products/scheduler/src/RemoveFromScheduleMethodTest.cxx index 9fc21e718..91d7dc36e 100644 --- a/livesupport/products/scheduler/src/RemoveFromScheduleMethodTest.cxx +++ b/livesupport/products/scheduler/src/RemoveFromScheduleMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.6 $ + Version : $Revision: 1.7 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/RemoveFromScheduleMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -128,7 +128,7 @@ RemoveFromScheduleMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/RescheduleMethodTest.cxx b/livesupport/products/scheduler/src/RescheduleMethodTest.cxx index 4e0f57487..066c966de 100644 --- a/livesupport/products/scheduler/src/RescheduleMethodTest.cxx +++ b/livesupport/products/scheduler/src/RescheduleMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.6 $ + Version : $Revision: 1.7 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/RescheduleMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -130,7 +130,7 @@ RescheduleMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/RevertEditedPlaylistMethodTest.cxx b/livesupport/products/scheduler/src/RevertEditedPlaylistMethodTest.cxx index b702c15ab..c7eb0836c 100644 --- a/livesupport/products/scheduler/src/RevertEditedPlaylistMethodTest.cxx +++ b/livesupport/products/scheduler/src/RevertEditedPlaylistMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.6 $ + Version : $Revision: 1.7 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/RevertEditedPlaylistMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -142,7 +142,7 @@ RevertEditedPlaylistMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/RpcAddAudioClipToPlaylistTest.cxx b/livesupport/products/scheduler/src/RpcAddAudioClipToPlaylistTest.cxx index 89f124a54..2cbceaf41 100644 --- a/livesupport/products/scheduler/src/RpcAddAudioClipToPlaylistTest.cxx +++ b/livesupport/products/scheduler/src/RpcAddAudioClipToPlaylistTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.6 $ + Version : $Revision: 1.7 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/RpcAddAudioClipToPlaylistTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -157,7 +157,7 @@ RpcAddAudioClipToPlaylistTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/RpcDisplayAudioClipTest.cxx b/livesupport/products/scheduler/src/RpcDisplayAudioClipTest.cxx index 1426639d2..19f2be021 100644 --- a/livesupport/products/scheduler/src/RpcDisplayAudioClipTest.cxx +++ b/livesupport/products/scheduler/src/RpcDisplayAudioClipTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.3 $ + Version : $Revision: 1.4 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/RpcDisplayAudioClipTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -138,7 +138,7 @@ DisplayAudioClipMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/RpcDisplayPlaylistTest.cxx b/livesupport/products/scheduler/src/RpcDisplayPlaylistTest.cxx index 5c1124242..e1cd4e961 100644 --- a/livesupport/products/scheduler/src/RpcDisplayPlaylistTest.cxx +++ b/livesupport/products/scheduler/src/RpcDisplayPlaylistTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.5 $ + Version : $Revision: 1.6 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/RpcDisplayPlaylistTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -149,7 +149,7 @@ RpcDisplayPlaylistTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/RpcDisplayPlaylistsTest.cxx b/livesupport/products/scheduler/src/RpcDisplayPlaylistsTest.cxx index cc611f33e..088b0796c 100644 --- a/livesupport/products/scheduler/src/RpcDisplayPlaylistsTest.cxx +++ b/livesupport/products/scheduler/src/RpcDisplayPlaylistsTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.3 $ + Version : $Revision: 1.4 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/RpcDisplayPlaylistsTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -139,7 +139,7 @@ DisplayPlaylistsMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/RpcDisplayScheduleTest.cxx b/livesupport/products/scheduler/src/RpcDisplayScheduleTest.cxx index 6f1e70271..b03975276 100644 --- a/livesupport/products/scheduler/src/RpcDisplayScheduleTest.cxx +++ b/livesupport/products/scheduler/src/RpcDisplayScheduleTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.2 $ + Version : $Revision: 1.3 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/RpcDisplayScheduleTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -138,7 +138,7 @@ RpcDisplayScheduleTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/RpcRemoveFromScheduleTest.cxx b/livesupport/products/scheduler/src/RpcRemoveFromScheduleTest.cxx index dde69c8cd..6e1f4f8e0 100644 --- a/livesupport/products/scheduler/src/RpcRemoveFromScheduleTest.cxx +++ b/livesupport/products/scheduler/src/RpcRemoveFromScheduleTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.3 $ + Version : $Revision: 1.4 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/RpcRemoveFromScheduleTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -138,7 +138,7 @@ RpcRemoveFromScheduleTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/RpcRescheduleTest.cxx b/livesupport/products/scheduler/src/RpcRescheduleTest.cxx index a6c6f3b42..c92cda840 100644 --- a/livesupport/products/scheduler/src/RpcRescheduleTest.cxx +++ b/livesupport/products/scheduler/src/RpcRescheduleTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.3 $ + Version : $Revision: 1.4 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/RpcRescheduleTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -137,7 +137,7 @@ RpcRescheduleTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/RpcUploadPlaylistTest.cxx b/livesupport/products/scheduler/src/RpcUploadPlaylistTest.cxx index 8c12427c6..d8428c635 100644 --- a/livesupport/products/scheduler/src/RpcUploadPlaylistTest.cxx +++ b/livesupport/products/scheduler/src/RpcUploadPlaylistTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.4 $ + Version : $Revision: 1.5 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/RpcUploadPlaylistTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -140,7 +140,7 @@ RpcUploadPlaylistTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/SavePlaylistMethodTest.cxx b/livesupport/products/scheduler/src/SavePlaylistMethodTest.cxx index d5c0f191a..c9ef34888 100644 --- a/livesupport/products/scheduler/src/SavePlaylistMethodTest.cxx +++ b/livesupport/products/scheduler/src/SavePlaylistMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.6 $ + Version : $Revision: 1.7 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/SavePlaylistMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -139,7 +139,7 @@ SavePlaylistMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/SchedulerDaemon.cxx b/livesupport/products/scheduler/src/SchedulerDaemon.cxx index a33b1ae86..8293b7497 100644 --- a/livesupport/products/scheduler/src/SchedulerDaemon.cxx +++ b/livesupport/products/scheduler/src/SchedulerDaemon.cxx @@ -21,8 +21,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Author : $Author: maroy $ - Version : $Revision: 1.16 $ + Author : $Author: fgerlits $ + Version : $Revision: 1.17 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/SchedulerDaemon.cxx,v $ ------------------------------------------------------------------------------*/ @@ -255,7 +255,7 @@ SchedulerDaemon :: configure(const xmlpp::Element & element) authentication = acf->getAuthenticationClient(); try { sessionId = authentication->login(login, password); - } catch (AuthenticationException &e) { + } catch (XmlRpcException &e) { // TODO: mark error std::cerr << "authentication problem: " << e.what() << std::endl; } diff --git a/livesupport/products/scheduler/src/UpdateFadeInFadeOutMethodTest.cxx b/livesupport/products/scheduler/src/UpdateFadeInFadeOutMethodTest.cxx index f323a1fec..ec49b6a0a 100644 --- a/livesupport/products/scheduler/src/UpdateFadeInFadeOutMethodTest.cxx +++ b/livesupport/products/scheduler/src/UpdateFadeInFadeOutMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.6 $ + Version : $Revision: 1.7 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/UpdateFadeInFadeOutMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -142,7 +142,7 @@ UpdateFadeInFadeOutMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/UploadPlaylistMethodTest.cxx b/livesupport/products/scheduler/src/UploadPlaylistMethodTest.cxx index ed9e419b0..8311f1e12 100644 --- a/livesupport/products/scheduler/src/UploadPlaylistMethodTest.cxx +++ b/livesupport/products/scheduler/src/UploadPlaylistMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.9 $ + Version : $Revision: 1.10 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/UploadPlaylistMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -150,7 +150,7 @@ UploadPlaylistMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg); diff --git a/livesupport/products/scheduler/src/ValidatePlaylistMethodTest.cxx b/livesupport/products/scheduler/src/ValidatePlaylistMethodTest.cxx index ddd64914a..fa49f8829 100644 --- a/livesupport/products/scheduler/src/ValidatePlaylistMethodTest.cxx +++ b/livesupport/products/scheduler/src/ValidatePlaylistMethodTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.7 $ + Version : $Revision: 1.8 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/ValidatePlaylistMethodTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -142,7 +142,7 @@ ValidatePlaylistMethodTest :: setUp(void) throw () try { sessionId = authentication->login("root", "q"); } - catch (AuthenticationException &e) { + catch (XmlRpcException &e) { std::string eMsg = "could not log in:\n"; eMsg += e.what(); CPPUNIT_FAIL(eMsg);