You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2009/07/31 19:54:13 UTC

svn commit: r799673 - /activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/util/TimerTest.cpp

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();
 }