unittest-cpp/tests
Patrick Johnmeyer 06308ee802 Use for loop to achieve REQUIRE with no parens
I changed the definition of the REQUIRE macro to use for loops and
some comma operator shenanigans to allow things like:

    REQUIRE
    {
      CHECK(...);
      CHECK_EQUAL(..., ...);
    }

or

    REQUIRE CHECK(...);

I updated the tests and they all passed on my machine. My only
concern is that some compilers might complain about the unreachable
code in the (throw UnitTest::AssertException(), true) expression.
2016-02-06 09:28:48 -06:00
..
Main.cpp Add uncrustify config and run first pass. 2016-01-29 22:15:10 -06:00
Makefile.am Adding conditional automake directives to allow Win32 compilation on win32-mingw/cygwin-mingw systems. 2015-04-07 08:46:20 -04:00
RecordingReporter.h Add uncrustify config and run first pass. 2016-01-29 22:15:10 -06:00
ScopedCurrentTest.h Change preprocessor indent rules. 2016-01-29 22:22:37 -06:00
TestAssertHandler.cpp Change preprocessor indent rules. 2016-01-29 22:22:37 -06:00
TestCheckMacros.cpp Add uncrustify config and run first pass. 2016-01-29 22:15:10 -06:00
TestChecks.cpp Add uncrustify config and run first pass. 2016-01-29 22:15:10 -06:00
TestCompositeTestReporter.cpp Add uncrustify config and run first pass. 2016-01-29 22:15:10 -06:00
TestCurrentTest.cpp Add uncrustify config and run first pass. 2016-01-29 22:15:10 -06:00
TestDeferredTestReporter.cpp Change preprocessor indent rules. 2016-01-29 22:22:37 -06:00
TestExceptions.cpp Add uncrustify config and run first pass. 2016-01-29 22:15:10 -06:00
TestMemoryOutStream.cpp Change preprocessor indent rules. 2016-01-29 22:22:37 -06:00
TestRequireMacros.cpp Use for loop to achieve REQUIRE with no parens 2016-02-06 09:28:48 -06:00
TestTest.cpp Change preprocessor indent rules. 2016-01-29 22:22:37 -06:00
TestTestList.cpp Add uncrustify config and run first pass. 2016-01-29 22:15:10 -06:00
TestTestMacros.cpp Tweak preprocessor blocks. 2016-01-29 22:48:36 -06:00
TestTestResults.cpp Add uncrustify config and run first pass. 2016-01-29 22:15:10 -06:00
TestTestRunner.cpp Add uncrustify config and run first pass. 2016-01-29 22:15:10 -06:00
TestTestSuite.cpp Add uncrustify config and run first pass. 2016-01-29 22:15:10 -06:00
TestTimeConstraint.cpp Add uncrustify config and run first pass. 2016-01-29 22:15:10 -06:00
TestTimeConstraintMacro.cpp Add uncrustify config and run first pass. 2016-01-29 22:15:10 -06:00
TestUnitTestPP.cpp Change preprocessor indent rules. 2016-01-29 22:22:37 -06:00
TestXmlTestReporter.cpp Change preprocessor indent rules. 2016-01-29 22:22:37 -06:00