projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use bounce filter in proper route location.
[metaproxy-moved-to-github.git]
/
src
/
test_boost_time.cpp
diff --git
a/src/test_boost_time.cpp
b/src/test_boost_time.cpp
index
3c4e4f4
..
d300b40
100644
(file)
--- a/
src/test_boost_time.cpp
+++ b/
src/test_boost_time.cpp
@@
-1,3
+1,8
@@
+/* $Id: test_boost_time.cpp,v 1.8 2006-06-10 14:29:12 adam Exp $
+ Copyright (c) 2005-2006, Index Data.
+
+ See the LICENSE file for details
+ */
#include <iostream>
#include "config.hpp"
#include <iostream>
#include "config.hpp"
@@
-10,7
+15,7
@@
using namespace boost::unit_test;
-BOOST_AUTO_TEST_CASE( testboosttime1 )
+BOOST_AUTO_UNIT_TEST( testboosttime1 )
{
// test session
{
// test session
@@
-33,6
+38,7
@@
BOOST_AUTO_TEST_CASE( testboosttime1 )
//std::cout << duration << std::endl;
BOOST_CHECK (duration.total_seconds() == 1);
//std::cout << duration << std::endl;
BOOST_CHECK (duration.total_seconds() == 1);
+ BOOST_CHECK (duration.fractional_seconds() > 0);
}
catch (std::exception &e) {
}
catch (std::exception &e) {
@@
-48,6
+54,7
@@
BOOST_AUTO_TEST_CASE( testboosttime1 )
* Local variables:
* c-basic-offset: 4
* indent-tabs-mode: nil
* Local variables:
* c-basic-offset: 4
* indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/