aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-02-13 13:58:51 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-05 17:17:46 +0100
commita073f3e02752b0483e6a9301cbf02695239c7783 (patch)
tree74f973f6bdc3b5ad9ea53df9061fcf279568ef41 /test
parent2b1073a98ccf6ab97df1c7a05d2d5fe12982da07 (diff)
downloadusdx-a073f3e02752b0483e6a9301cbf02695239c7783.tar.gz
usdx-a073f3e02752b0483e6a9301cbf02695239c7783.tar.xz
usdx-a073f3e02752b0483e6a9301cbf02695239c7783.zip
changed all song paths to boost::filesystem::wpath
all song paths are now wpath so all extensions are also std::wstring and all logging with song filename have to be also std::wstring
Diffstat (limited to 'test')
-rw-r--r--test/base/songloading.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/base/songloading.cpp b/test/base/songloading.cpp
index 6b5c3af8..2d5ca19e 100644
--- a/test/base/songloading.cpp
+++ b/test/base/songloading.cpp
@@ -63,7 +63,7 @@ namespace usdx
void testSongloadingTxtHeader()
{
- Song *song = Songloader::get_instance()->load_header("testdata/testsong_correct.txt");
+ Song *song = Songloader::get_instance()->load_header(L"testdata/testsong_correct.txt");
CPPUNIT_ASSERT( L"Test Ă„rtist" == song->get_artist() );
CPPUNIT_ASSERT( 11 == song->get_artist().length() );
@@ -98,7 +98,7 @@ namespace usdx
Logger::getRootLogger()->setLevel(Level::getOff());
Songloader::get_instance()->
- load_header("testdata/testsong_missing_artist.txt");
+ load_header(L"testdata/testsong_missing_artist.txt");
}
void testSongloadingTxtMissingHeaderFieldTitle()
@@ -109,7 +109,7 @@ namespace usdx
Logger::getRootLogger()->setLevel(Level::getOff());
Songloader::get_instance()->
- load_header("testdata/testsong_missing_title.txt");
+ load_header(L"testdata/testsong_missing_title.txt");
}
void testSongloadingTxtMissingHeaderFieldMp3()
@@ -120,7 +120,7 @@ namespace usdx
Logger::getRootLogger()->setLevel(Level::getOff());
Songloader::get_instance()->
- load_header("testdata/testsong_missing_mp3.txt");
+ load_header(L"testdata/testsong_missing_mp3.txt");
}
@@ -132,7 +132,7 @@ namespace usdx
Logger::getRootLogger()->setLevel(Level::getOff());
Songloader::get_instance()->
- load_header("testdata/testsong_missing_bpm.txt");
+ load_header(L"testdata/testsong_missing_bpm.txt");
}
};