Lines Matching full:actual
27 // Verifies that the actual NPVariant is a string and that its value matches
29 void CheckString(const std::string& expected_str, const NPVariant& actual) {
30 EXPECT_EQ(NPVariantType_String, actual.type);
32 MakeStdString(actual, &actual_str);
36 // Verifies that both the actual and the expected NPVariants are strings and
38 void CheckString(const NPVariant& expected, const NPVariant& actual) {
42 CheckString(expected_str, actual);
48 void CheckObject(const NPVariant& actual) {
49 EXPECT_EQ(NPVariantType_Object, actual.type);
50 EXPECT_TRUE(actual.value.objectValue);
51 EXPECT_EQ(1U, actual.value.objectValue->referenceCount);