Get order of expected/actual args to CPPUNIT_ASSERT_EQUAL right
Change-Id: I0fa26417630991c6d07b5412fb579f9c222d09a6
This commit is contained in:
@@ -118,14 +118,14 @@ namespace
|
||||
CPPUNIT_ASSERT(symbols.empty());
|
||||
|
||||
symbols = getSymbols(source2);
|
||||
CPPUNIT_ASSERT_EQUAL(symbols.size(), size_t(1));
|
||||
CPPUNIT_ASSERT_EQUAL(symbols[0].text, cr);
|
||||
CPPUNIT_ASSERT_EQUAL(symbols[0].type, SbxVARIANT);
|
||||
CPPUNIT_ASSERT_EQUAL(size_t(1), symbols.size());
|
||||
CPPUNIT_ASSERT_EQUAL(cr, symbols[0].text);
|
||||
CPPUNIT_ASSERT_EQUAL(SbxVARIANT, symbols[0].type);
|
||||
|
||||
symbols = getSymbols(source3);
|
||||
CPPUNIT_ASSERT_EQUAL(symbols.size(), size_t(1));
|
||||
CPPUNIT_ASSERT_EQUAL(symbols[0].text, cr);
|
||||
CPPUNIT_ASSERT_EQUAL(symbols[0].type, SbxVARIANT);
|
||||
CPPUNIT_ASSERT_EQUAL(size_t(1), symbols.size());
|
||||
CPPUNIT_ASSERT_EQUAL(cr, symbols[0].text);
|
||||
CPPUNIT_ASSERT_EQUAL(SbxVARIANT, symbols[0].type);
|
||||
|
||||
symbols = getSymbols(source4);
|
||||
CPPUNIT_ASSERT(symbols.size() == 1);
|
||||
|
Reference in New Issue
Block a user