TestInsertRate test = new TestInsertRate("TestInsertRate"); test.setUp(); test.doTest( nclass, nproperty, nliteral, litsize ); test.tearDown();
/** * Returns a writer named by the test and having the specified * filename extension. */ public Writer getWriter( String ext ) throws IOException { return new BufferedWriter ( new FileWriter ( getName()+ext ) ); }
( getRandomString( litsize, index ) ); ( getRandomString( litsize, index ), langSpace[ j ] ); ( getRandomType( tspace[ j ], index ), tspace[ j ] ); ", value/sec="+perSec(nvalues,elapsed) ); Writer w = getWriter( ".out" ); ( "Test: "+getName()+ ", #class="+nclass+ ", #property="+nproperty+ ( "\nTest: "+getName()+ ", #class="+nclass+ ", #property="+nproperty+ final int corder[] = getRandomOrder( cspace.length ); final int porder[] = getRandomOrder( pspace.length ); final int oorder[] = getRandomOrder( ospace.length ); ( ""+index+"\t"+index2+"\t"+elapsed+"\t"+perSec(index2,elapsed)+"\n"
public void test_small() throws IOException { int nclass = 30; int nproperty = 20; int nliteral = 20; int litsize = 100; doTest( nclass, nproperty, nliteral, litsize ); }
( getRandomString( litsize, index ) ); ( getRandomString( litsize, index ), langSpace[ j ] ); ( getRandomType( tspace[ j ], index ), tspace[ j ] ); ", value/sec="+perSec(nvalues,elapsed) ); Writer w = getWriter( ".out" ); ( "Test: "+getName()+ ", #class="+nclass+ ", #property="+nproperty+ ( "\nTest: "+getName()+ ", #class="+nclass+ ", #property="+nproperty+ final int corder[] = getRandomOrder( cspace.length ); final int porder[] = getRandomOrder( pspace.length ); final int oorder[] = getRandomOrder( ospace.length ); ( ""+index+"\t"+index2+"\t"+elapsed+"\t"+perSec(index2,elapsed)+"\n"
public void test_small() throws IOException { int nclass = 30; int nproperty = 20; int nliteral = 20; int litsize = 100; doTest( nclass, nproperty, nliteral, litsize ); }
( getRandomString( litsize, index ) ); ( getRandomString( litsize, index ), langSpace[ j ] ); ( getRandomType( tspace[ j ], index ), tspace[ j ] ); ", value/sec="+perSec(nvalues,elapsed) ); Writer w = getWriter( ".out" ); ( "Test: "+getName()+ ", #class="+nclass+ ", #property="+nproperty+ ( "\nTest: "+getName()+ ", #class="+nclass+ ", #property="+nproperty+ final int corder[] = getRandomOrder( cspace.length ); final int porder[] = getRandomOrder( pspace.length ); final int oorder[] = getRandomOrder( ospace.length ); ( ""+index+"\t"+index2+"\t"+elapsed+"\t"+perSec(index2,elapsed)+"\n"
TestInsertRate test = new TestInsertRate("TestInsertRate"); test.setUp(); test.doTest( nclass, nproperty, nliteral, litsize ); test.tearDown();
/** * @todo write tests for the individual indices, restart safety, * concurrent writers, and concurrent writes with concurrent * query. */ public void test_tiny() throws IOException { // tiny int nclass = 3; int nproperty = 2; int nliteral = 2; int litsize = 100; doTest( nclass, nproperty, nliteral, litsize ); }
/** * Returns a writer named by the test and having the specified * filename extension. */ public Writer getWriter( String ext ) throws IOException { return new BufferedWriter ( new FileWriter ( getName()+ext ) ); }
TestInsertRate test = new TestInsertRate("TestInsertRate"); test.setUp(); test.doTest( nclass, nproperty, nliteral, litsize ); test.tearDown();
/** * @todo write tests for the individual indices, restart safety, * concurrent writers, and concurrent writes with concurrent * query. */ public void test_tiny() throws IOException { // tiny int nclass = 3; int nproperty = 2; int nliteral = 2; int litsize = 100; doTest( nclass, nproperty, nliteral, litsize ); }
/** * Returns a writer named by the test and having the specified * filename extension. */ public Writer getWriter( String ext ) throws IOException { return new BufferedWriter ( new FileWriter ( getName()+ext ) ); }
public void test_small() throws IOException { int nclass = 30; int nproperty = 20; int nliteral = 20; int litsize = 100; doTest( nclass, nproperty, nliteral, litsize ); }
/** * @todo write tests for the individual indices, restart safety, * concurrent writers, and concurrent writes with concurrent * query. */ public void test_tiny() throws IOException { // tiny int nclass = 3; int nproperty = 2; int nliteral = 2; int litsize = 100; doTest( nclass, nproperty, nliteral, litsize ); }