org.apache.blur.store
Class BaseDirectoryTestSuite

java.lang.Object
  extended by org.apache.blur.store.BaseDirectoryTestSuite
Direct Known Subclasses:
CacheDirectoryTestSuite, FastHdfsKeyValueDirectoryTestSuite, HdfsDirectoryTestSuite, JoinDirectoryTestSuite

public abstract class BaseDirectoryTestSuite
extends Object


Nested Class Summary
static class BaseDirectoryTestSuite.DirectoryLastModified
           
 
Constructor Summary
BaseDirectoryTestSuite()
           
 
Method Summary
 int numberBetween(int min, int max)
           
static void rm(File file)
           
 void setUp()
           
 void tearDown()
           
 void testCreateIndex()
           
 void testEOF()
           
 void testWrites()
           
 void testWritingAndReadingAFile()
           
static org.apache.lucene.store.Directory wrapLastModified(org.apache.lucene.store.Directory dir)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseDirectoryTestSuite

public BaseDirectoryTestSuite()
Method Detail

setUp

public void setUp()
           throws IOException
Throws:
IOException

tearDown

public void tearDown()
              throws IOException
Throws:
IOException

testWritingAndReadingAFile

public void testWritingAndReadingAFile()
                                throws IOException
Throws:
IOException

testEOF

public void testEOF()
             throws IOException
Throws:
IOException

testWrites

public void testWrites()
                throws IOException
Throws:
IOException

testCreateIndex

public void testCreateIndex()
                     throws IOException
Throws:
IOException

rm

public static void rm(File file)

wrapLastModified

public static org.apache.lucene.store.Directory wrapLastModified(org.apache.lucene.store.Directory dir)

numberBetween

public int numberBetween(int min,
                         int max)


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.