[Box Backup-commit] COMMIT r1748 - box/chris/general/test/common
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Thu Jul 26 22:45:38 BST 2007
Author: chris
Date: 2007-07-26 22:45:38 +0100 (Thu, 26 Jul 2007)
New Revision: 1748
Modified:
box/chris/general/test/common/testcommon.cpp
Log:
Create logger object in the right place to avoid accidental triggering.
(refs #3, merges [1747])
Modified: box/chris/general/test/common/testcommon.cpp
===================================================================
--- box/chris/general/test/common/testcommon.cpp 2007-07-26 21:45:05 UTC (rev 1747)
+++ box/chris/general/test/common/testcommon.cpp 2007-07-26 21:45:38 UTC (rev 1748)
@@ -739,8 +739,6 @@
// Test ExcludeList
{
- TestLogger logger(Log::WARNING);
-
ExcludeList elist;
// Check assumption
TEST_THAT(Configuration::MultiValueSeparator == '\x01');
@@ -799,6 +797,7 @@
#undef CASE_SENSITIVE
+ TestLogger logger(Log::WARNING);
TEST_THAT(!logger.IsTriggered());
elist.AddDefiniteEntries(std::string("/foo"));
TEST_THAT(!logger.IsTriggered());
More information about the Boxbackup-commit
mailing list