X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5eb051a73b6e97d0da522f45d20bb86e1507f253..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/tests/controls/markuptest.cpp?ds=sidebyside diff --git a/tests/controls/markuptest.cpp b/tests/controls/markuptest.cpp index 3ebc3142ae..6bd5e9d6f6 100644 --- a/tests/controls/markuptest.cpp +++ b/tests/controls/markuptest.cpp @@ -3,7 +3,6 @@ // Purpose: wxMarkupParser and related classes unit tests // Author: Vadim Zeitlin // Created: 2011-02-17 -// RCS-ID: $Id$ // Copyright: (c) 2011 Vadim Zeitlin /////////////////////////////////////////////////////////////////////////////// @@ -40,7 +39,7 @@ private: // register in the unnamed registry so that these tests are run by default CPPUNIT_TEST_SUITE_REGISTRATION( MarkupTestCase ); -// also include in it's own registry so that these tests can be run alone +// also include in its own registry so that these tests can be run alone CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MarkupTestCase, "MarkupTestCase" ); void MarkupTestCase::RoundTrip() @@ -86,13 +85,13 @@ void MarkupTestCase::RoundTrip() m_text << "bar" ); CHECK_PARSES_OK( "123456" ); - CHECK_PARSES_OK( "first second last" ); - CHECK_PARSES_OK( "first second last" ); - CHECK_PARSES_OK( "10pt" ); - CHECK_PARSES_OK( "much smaller" ); - CHECK_PARSES_OK( "larger" ); + CHECK_PARSES_OK( "first second last" ); + CHECK_PARSES_OK( "first second last" ); + CHECK_PARSES_OK( "10pt" ); + CHECK_PARSES_OK( "much smaller" ); + CHECK_PARSES_OK( "larger" ); CHECK_PARSES_OK ( - "Please notice: any " - "bugs in this code are NOT allowed." + "Please notice: any " + "bugs in this code are NOT allowed." ); CHECK_PARSES_OK( "foo&bar" ); @@ -208,12 +207,12 @@ void MarkupTestCase::Strip() CHECK_STRIP( "foo", "foo" ); CHECK_STRIP( "<foo>", "" ); CHECK_STRIP( "Big problem", "Big problem" ); - CHECK_STRIP( "c" - "o" - "l" - "o" - "u" - "r", + CHECK_STRIP( "c" + "o" + "l" + "o" + "u" + "r", "colour" ); #undef CHECK_STRIP