diff --git a/livesupport/modules/storage/etc/storageClient.xml b/livesupport/modules/storage/etc/storageClient.xml index 03f5ff855..a6d97f42d 100644 --- a/livesupport/modules/storage/etc/storageClient.xml +++ b/livesupport/modules/storage/etc/storageClient.xml @@ -1,16 +1,16 @@ + - + - + @@ -19,6 +19,11 @@ + + + + + @@ -30,19 +35,35 @@ ]> - - - + + + - - + + + + + + + + + + + + + + + + + - - - diff --git a/livesupport/modules/storage/etc/testStorage.xml b/livesupport/modules/storage/etc/testStorage.xml index 11c4f2bf5..a671bc9d8 100644 --- a/livesupport/modules/storage/etc/testStorage.xml +++ b/livesupport/modules/storage/etc/testStorage.xml @@ -8,7 +8,7 @@ - + @@ -16,20 +16,43 @@ + + + + + ]> - - - + + + - - + + + + + + + + + + + + + + + + uri="file:var/test10001.mp3" /> + uri="file:var/test10002.mp3" /> + diff --git a/livesupport/modules/storage/src/TestStorageClientTest.cxx b/livesupport/modules/storage/src/TestStorageClientTest.cxx index 376ecc943..99d28b6b3 100644 --- a/livesupport/modules/storage/src/TestStorageClientTest.cxx +++ b/livesupport/modules/storage/src/TestStorageClientTest.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.14 $ + Version : $Revision: 1.15 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storage/src/TestStorageClientTest.cxx,v $ ------------------------------------------------------------------------------*/ @@ -159,7 +159,7 @@ TestStorageClientTest :: getAllPlaylistsTest(void) { Ptr::Ref> >::Ref playlistVector = tsc->getAllPlaylists(dummySessionId); - CPPUNIT_ASSERT(playlistVector->size() == 1); + CPPUNIT_ASSERT(playlistVector->size() == 2); Ptr::Ref playlist = (*playlistVector)[0]; CPPUNIT_ASSERT((int) (playlist->getId()->getId()) == 1); @@ -200,7 +200,7 @@ TestStorageClientTest :: audioClipTest(void) Ptr::Ref> >::Ref audioClipVector = tsc->getAllAudioClips(dummySessionId); - CPPUNIT_ASSERT(audioClipVector->size() == 2); + CPPUNIT_ASSERT(audioClipVector->size() == 3); audioClip = (*audioClipVector)[0]; CPPUNIT_ASSERT((int) (audioClip->getId()->getId()) == 10001); @@ -231,7 +231,7 @@ TestStorageClientTest :: acquireAudioClipTest(void) } string audioClipUri("file://"); audioClipUri += get_current_dir_name(); - audioClipUri += "/var/test2.mp3"; + audioClipUri += "/var/test10002.mp3"; CPPUNIT_ASSERT(*(audioClip->getUri()) == audioClipUri); try { diff --git a/livesupport/modules/storage/var/test1.mp3 b/livesupport/modules/storage/var/test10001.mp3 similarity index 100% rename from livesupport/modules/storage/var/test1.mp3 rename to livesupport/modules/storage/var/test10001.mp3 diff --git a/livesupport/modules/storage/var/test2.mp3 b/livesupport/modules/storage/var/test10002.mp3 similarity index 100% rename from livesupport/modules/storage/var/test2.mp3 rename to livesupport/modules/storage/var/test10002.mp3 diff --git a/livesupport/modules/storage/var/test3.mp3 b/livesupport/modules/storage/var/test10003.mp3 similarity index 100% rename from livesupport/modules/storage/var/test3.mp3 rename to livesupport/modules/storage/var/test10003.mp3