[hornetq-commits] JBoss hornetq SVN: r10747 - trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/journal.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri May 27 07:45:21 EDT 2011


Author: borges
Date: 2011-05-27 07:45:21 -0400 (Fri, 27 May 2011)
New Revision: 10747

Modified:
   trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/journal/AIOJournalCompactTest.java
   trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/journal/AIOJournalImplTest.java
Log:
HORNETQ-698 Fix JournalConstants references

Modified: trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/journal/AIOJournalCompactTest.java
===================================================================
--- trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/journal/AIOJournalCompactTest.java	2011-05-27 11:35:32 UTC (rev 10746)
+++ trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/journal/AIOJournalCompactTest.java	2011-05-27 11:45:21 UTC (rev 10747)
@@ -17,9 +17,9 @@
 
 import junit.framework.TestSuite;
 
-import org.hornetq.core.config.impl.ConfigurationImpl;
 import org.hornetq.core.journal.SequentialFileFactory;
 import org.hornetq.core.journal.impl.AIOSequentialFileFactory;
+import org.hornetq.core.journal.impl.JournalConstants;
 import org.hornetq.tests.util.UnitTestCase;
 
 /**
@@ -60,7 +60,7 @@
       file.mkdir();
 
       return new AIOSequentialFileFactory(getTestDir(),
-                                          ConfigurationImpl.DEFAULT_JOURNAL_BUFFER_SIZE_AIO,
+                                          JournalConstants.DEFAULT_JOURNAL_BUFFER_SIZE_AIO,
                                           1000000,
                                           false);
    }

Modified: trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/journal/AIOJournalImplTest.java
===================================================================
--- trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/journal/AIOJournalImplTest.java	2011-05-27 11:35:32 UTC (rev 10746)
+++ trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/journal/AIOJournalImplTest.java	2011-05-27 11:45:21 UTC (rev 10747)
@@ -19,20 +19,20 @@
 import junit.framework.TestSuite;
 
 import org.hornetq.core.asyncio.impl.AsynchronousFileImpl;
-import org.hornetq.core.config.impl.ConfigurationImpl;
 import org.hornetq.core.journal.SequentialFileFactory;
 import org.hornetq.core.journal.impl.AIOSequentialFileFactory;
+import org.hornetq.core.journal.impl.JournalConstants;
 import org.hornetq.core.logging.Logger;
 import org.hornetq.tests.unit.core.journal.impl.JournalImplTestUnit;
 import org.hornetq.tests.util.UnitTestCase;
 
 /**
- * 
+ *
  * A RealJournalImplTest
  * you need to define -Djava.library.path=${project-root}/native/src/.libs when calling the JVM
  * If you are running this test in eclipse you should do:
  *   I - Run->Open Run Dialog
- *   II - Find the class on the list (you will find it if you already tried running this testcase before)  
+ *   II - Find the class on the list (you will find it if you already tried running this testcase before)
  *   III - Add -Djava.library.path=<your project place>/native/src/.libs
  *
  * @author <a href="mailto:tim.fox at jboss.com">Tim Fox</a>
@@ -72,7 +72,7 @@
       file.mkdir();
 
       return new AIOSequentialFileFactory(getTestDir(),
-                                          ConfigurationImpl.DEFAULT_JOURNAL_BUFFER_SIZE_AIO,
+                                          JournalConstants.DEFAULT_JOURNAL_BUFFER_SIZE_AIO,
                                           1000000,
                                           false);
    }



More information about the hornetq-commits mailing list