aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc')
-rw-r--r--tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc b/tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc
index 7df0a1e..ac0e0d3 100644
--- a/tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc
+++ b/tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc
@@ -86,11 +86,11 @@ TEST(NPVariantStringCopy) {
}
TEST(NPIdentifierAsString) {
- // NB: Mocked definition of 'utf8fromidentifier' simply reads NPIdentifier as a char* string.
const char test_string[] = "foobar";
MemoryLeakDetector leak_detector;
/* Ensure destruction */{
- std::string str = IcedTeaPluginUtilities::NPIdentifierAsString((NPIdentifier)test_string);
+ std::string str = IcedTeaPluginUtilities::NPIdentifierAsString(
+ browser_functions.getstringidentifier(test_string));
CHECK_EQUAL(test_string, str);
}
CHECK_EQUAL(0, leak_detector.memory_leaks());