Kaydet (Commit) 88ab9d4a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Get order of expected/actual args to CPPUNIT_ASSERT_EQUAL right

Change-Id: I0fa26417630991c6d07b5412fb579f9c222d09a6
üst 9b3ca276
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment