[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-commits
Subject:    svn commit: r799673 -
From:       tabish () apache ! org
Date:       2009-07-31 17:54:13
Message-ID: 20090731175414.02C7C238889B () eris ! apache ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic