activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r799673 - /activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/util/TimerTest.cpp
Date Fri, 31 Jul 2009 17:54:13 GMT
Author: tabish
Date: Fri Jul 31 17:54:13 2009
New Revision: 799673

URL: http://svn.apache.org/viewvc?rev=799673&view=rev
Log:
Add missing include

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/util/TimerTest.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/util/TimerTest.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/util/TimerTest.cpp?rev=799673&r1=799672&r2=799673&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/util/TimerTest.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/util/TimerTest.cpp Fri Jul 31
17:54:13 2009
@@ -20,6 +20,7 @@
 #include <string>
 
 #include <decaf/lang/Integer.h>
+#include <decaf/lang/Long.h>
 #include <decaf/lang/System.h>
 #include <decaf/lang/Thread.h>
 #include <decaf/lang/exceptions/InterruptedException.h>
@@ -1402,7 +1403,7 @@
     }
     long long lastDelta = report.lastDelta;
     CPPUNIT_ASSERT_MESSAGE( "Fixed Rate Schedule should catch up, but is off by " +
-                            Integer::toString( lastDelta ) + " ms",
+                            Long::toString( lastDelta ) + " ms",
                             lastDelta < 300 );
     t->cancel();
 }
@@ -1477,7 +1478,7 @@
     }
     long long lastDelta = report.lastDelta;
     CPPUNIT_ASSERT_MESSAGE( "Fixed Rate Schedule should catch up, but is off by " +
-                            Integer::toString( lastDelta ) + " ms",
+                            Long::toString( lastDelta ) + " ms",
                             lastDelta < 300 );
     t->cancel();
 }
@@ -1589,7 +1590,7 @@
     }
     long long lastDelta = report.lastDelta;
     CPPUNIT_ASSERT_MESSAGE( std::string( "Fixed Rate Schedule should catch up, but is off
by " ) +
-                            Integer::toString( lastDelta ) + " ms",
+                            Long::toString( lastDelta ) + " ms",
                             lastDelta < 300 );
     t->cancel();
 }
@@ -1695,7 +1696,7 @@
     }
     long long lastDelta = report.lastDelta;
     CPPUNIT_ASSERT_MESSAGE( std::string( "Fixed Rate Schedule should catch up, but is off
by " ) +
-                            Integer::toString( lastDelta ) + " ms",
+                            Long::toString( lastDelta ) + " ms",
                             lastDelta < 300 );
     t->cancel();
 }



Mime
View raw message