1 21 package com.db4o.db4ounit.common.fieldindex; 22 23 import db4ounit.extensions.Db4oTestSuite; 24 25 public class AllTests extends Db4oTestSuite { 26 27 public static void main(String [] args) { 28 new AllTests().runSolo(); 29 } 30 31 protected Class [] testCases() { 32 Class [] fieldBased={ 33 IndexedNodeTestCase.class, 34 FieldIndexTestCase.class, 35 FieldIndexProcessorTestCase.class, 36 }; 37 Class [] neutral={ 38 DoubleFieldIndexTestCase.class, 39 StringIndexTestCase.class, 40 }; 41 Class [] tests=neutral; 42 43 tests=new Class [fieldBased.length+neutral.length]; 44 System.arraycopy(neutral, 0, tests, 0, neutral.length); 45 System.arraycopy(fieldBased, 0, tests, neutral.length, fieldBased.length); 46 47 return tests; 48 } 49 } 50 | Popular Tags |