summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-08-20 19:26:47 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-08-20 19:26:47 (GMT)
commitb620cf7471f80361522dd2232c54068bce4a42be (patch)
treed59fb2c7ba56192535fbdfd25e87afac638d13a3 /Swiften/Application/UnitTest
parent8acd1155de2cfbe7d7f1716566418f84fbd55a07 (diff)
downloadswift-b620cf7471f80361522dd2232c54068bce4a42be.zip
swift-b620cf7471f80361522dd2232c54068bce4a42be.tar.bz2
getExecutableDir() -> getDataDir().
Diffstat (limited to 'Swiften/Application/UnitTest')
-rw-r--r--Swiften/Application/UnitTest/ApplicationPathProviderTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Application/UnitTest/ApplicationPathProviderTest.cpp b/Swiften/Application/UnitTest/ApplicationPathProviderTest.cpp
index 75b8639..3b46e6e 100644
--- a/Swiften/Application/UnitTest/ApplicationPathProviderTest.cpp
+++ b/Swiften/Application/UnitTest/ApplicationPathProviderTest.cpp
@@ -14,7 +14,7 @@ using namespace Swift;
class ApplicationPathProviderTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(ApplicationPathProviderTest);
- CPPUNIT_TEST(testGetSettingsDir);
+ CPPUNIT_TEST(testGetDataDir);
CPPUNIT_TEST(testGetExecutableDir);
CPPUNIT_TEST_SUITE_END();
@@ -27,8 +27,8 @@ class ApplicationPathProviderTest : public CppUnit::TestFixture {
delete testling_;
}
- void testGetSettingsDir() {
- boost::filesystem::path dir = testling_->getSettingsDir();
+ void testGetDataDir() {
+ boost::filesystem::path dir = testling_->getDataDir();
CPPUNIT_ASSERT(boost::filesystem::exists(dir));
CPPUNIT_ASSERT(boost::filesystem::is_directory(dir));