From d5e6acc6db9f344c1831835e1eae52c2a0ee0d1d Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 23 Jul 2014 14:45:42 +0200 Subject: svl: fix comparison in new unit test Presumably the test should use the unused variable w, and the result should be 3 since that's how many styles were inserted. Change-Id: I34455020e1fb8c53204b6ee0632138c1077617a2 --- svl/qa/unit/items/test_IndexedStyleSheets.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svl/qa') diff --git a/svl/qa/unit/items/test_IndexedStyleSheets.cxx b/svl/qa/unit/items/test_IndexedStyleSheets.cxx index 25944e29cc94..2b9f539c5958 100644 --- a/svl/qa/unit/items/test_IndexedStyleSheets.cxx +++ b/svl/qa/unit/items/test_IndexedStyleSheets.cxx @@ -205,7 +205,7 @@ void IndexedStyleSheetsTest::OnlyOneStyleSheetIsReturnedWhenReturnFirstIsUsed() std::vector w = iss.FindPositionsByNameAndPredicate(name, predicate, IndexedStyleSheets::RETURN_ALL); - CPPUNIT_ASSERT_EQUAL_MESSAGE("All style sheets are returned.", static_cast(1), v.size()); + CPPUNIT_ASSERT_EQUAL_MESSAGE("All style sheets are returned.", static_cast(3), w.size()); } CPPUNIT_TEST_SUITE_REGISTRATION(IndexedStyleSheetsTest); -- cgit v1.2.3