monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision 33bf29f0161e3259028d7388828aaebcf7a4a8


From: monotone
Subject: [Monotone-commits-diffs] Revision 33bf29f0161e3259028d7388828aaebcf7a4a819
Date: Tue, 29 May 2007 06:05:35 +0200

-----------------------------------------------------------------
Revision: 33bf29f0161e3259028d7388828aaebcf7a4a819
Ancestor: 812ebd30aa92ffca0a8c62976b98b8546a54a6d8
Author: Timothy Brownawell  <address@hidden>
Date: 2007-05-29T03:55:46
Branch: net.venge.monotone

Modified files:
        Makefile.am charset.cc commands.cc configure.ac
        crypto_tests.cc cset.cc dates.cc diff_patch.cc globish.cc
        keys.cc m4/boost.m4 netcmd.cc option.cc
        outdated_indicator.cc packet.cc paths.cc refiner.cc
        restrictions.cc rev_height.cc roster.cc
        simplestring_xform.cc string_queue.cc transforms.cc
        unit_tests.cc unit_tests.hh uri.cc vocab.cc xdelta.cc

ChangeLog: 

Remove use of Boost unit-test library.

unit_test.hh: New test macros and supporting function declarations:
        UNIT_TEST_CHECK(expr) mark test as failed if expr is false
        UNIT_TEST_REQUIRE(expr) fail test immediately if expr is false
        UNIT_TEST_CHECK_THROW(stmt, ex) mark failed if ex not thrown
        UNIT_TEST_CHECK_NOT_THROW(stmt, ex) mark failed if ex thrown
        UNIT_TEST_CHECKPOINT(msg) On test failure, the most recent
        successful check/require/checkpoint is printed along with the
        failed one.
unit_test.cc: Test support infrastructure, and tests in the null test group
which use the various test macros to fail. These are obviously not run by
default (and are also not listed by --list-groups or --list-tests),
use "unit_tests :" to run them.
*.cc: Replace all usage of the Boost test macros with the new ones.

Attachment: txtKyP8DvIvvK.txt
Description: Diff [812ebd30aa92ffca0a8c62976b98b8546a54a6d8] -> [33bf29f0161e3259028d7388828aaebcf7a4a819]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]