summaryrefslogtreecommitdiffstats
path: root/src/common/test/profile_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/test/profile_test.cpp')
-rw-r--r--src/common/test/profile_test.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/test/profile_test.cpp b/src/common/test/profile_test.cpp
index 3ba0fad..65e20c5 100644
--- a/src/common/test/profile_test.cpp
+++ b/src/common/test/profile_test.cpp
@@ -2,6 +2,7 @@
#include <iostream>
#include <string>
+#include <vector>
using namespace std;
@@ -31,5 +32,12 @@ int main()
return 1;
}
+ vector<string> list;
+ list = profile.GetLocalProfileSection("test_multi", "entry");
+ if (list.size() != 5) {
+ cout << "GetLocalProfileSection failed!" << endl;
+ return 1;
+ }
+
return 0;
}