Search in sources :

Example 11 with FakeSequentialFileFactory

use of org.apache.activemq.artemis.tests.unit.core.journal.impl.fakes.FakeSequentialFileFactory in project activemq-artemis by apache.

the class CleanBufferTest method testCleanOnFake.

@Test
public void testCleanOnFake() {
    SequentialFileFactory factory = new FakeSequentialFileFactory();
    testBuffer(factory);
}
Also used : FakeSequentialFileFactory(org.apache.activemq.artemis.tests.unit.core.journal.impl.fakes.FakeSequentialFileFactory) SequentialFileFactory(org.apache.activemq.artemis.core.io.SequentialFileFactory) NIOSequentialFileFactory(org.apache.activemq.artemis.core.io.nio.NIOSequentialFileFactory) FakeSequentialFileFactory(org.apache.activemq.artemis.tests.unit.core.journal.impl.fakes.FakeSequentialFileFactory) AIOSequentialFileFactory(org.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory) Test(org.junit.Test)

Aggregations

FakeSequentialFileFactory (org.apache.activemq.artemis.tests.unit.core.journal.impl.fakes.FakeSequentialFileFactory)11 Test (org.junit.Test)9 SequentialFileFactory (org.apache.activemq.artemis.core.io.SequentialFileFactory)6 NIOSequentialFileFactory (org.apache.activemq.artemis.core.io.nio.NIOSequentialFileFactory)6 ArrayList (java.util.ArrayList)4 JournalImpl (org.apache.activemq.artemis.core.journal.impl.JournalImpl)4 PagingStoreImpl (org.apache.activemq.artemis.core.paging.impl.PagingStoreImpl)4 AddressSettings (org.apache.activemq.artemis.core.settings.impl.AddressSettings)4 ActiveMQBuffer (org.apache.activemq.artemis.api.core.ActiveMQBuffer)3 Message (org.apache.activemq.artemis.api.core.Message)3 SimpleString (org.apache.activemq.artemis.api.core.SimpleString)3 CoreMessage (org.apache.activemq.artemis.core.message.impl.CoreMessage)3 PagedMessage (org.apache.activemq.artemis.core.paging.PagedMessage)3 PagingStoreFactory (org.apache.activemq.artemis.core.paging.PagingStoreFactory)3 RoutingContextImpl (org.apache.activemq.artemis.core.server.impl.RoutingContextImpl)3 RecordInfo (org.apache.activemq.artemis.core.journal.RecordInfo)2 PagingStore (org.apache.activemq.artemis.core.paging.PagingStore)2 Page (org.apache.activemq.artemis.core.paging.impl.Page)2 NullStorageManager (org.apache.activemq.artemis.core.persistence.impl.nullpm.NullStorageManager)2 ByteBuffer (java.nio.ByteBuffer)1