@Override @Before public void setUp() throws Exception { super.setUp(); mbeanServer = ManagementFactory.getPlatformMBeanServer(); statisticsBeanObjectName = new ObjectName( StatisticsInfoMBean.STATISTICS_MBEAN_OBJECT_NAME ); indexBeanObjectName = new ObjectName( IndexControlMBean.INDEX_CTRL_MBEAN_OBJECT_NAME ); }
@Override public void setUp() throws Exception { super.setUp(); buildSlaveSessionFactory(); }
@Override @Before public void setUp() throws Exception { FileHelper.delete( indexDir ); Files.createDirectories( indexDir ); super.setUp(); }
@Override @Before public void setUp() throws Exception { prepareJGroupsChannel(); super.setUp(); }
@Override @Before public void setUp() throws Exception { super.setUp(); populateDatabase(); }
@Override @Before public void setUp() throws Exception { super.setUp(); createPersistAndIndexTestData(); }
@Override @Before public void setUp() throws Exception { // create and start the brokerService brokerService = createTestingBrokerService(); super.setUp(); }
@Before @Override public void setUp() throws Exception { super.setUp(); indexTestData(); }
@Before @Override public void setUp() throws Exception { super.setUp(); Session session = openSession(); fullTextSession = Search.getFullTextSession( session ); }
@Override @Before public void setUp() throws Exception { super.setUp(); fullTextSession = Search.getFullTextSession( openSession() ); createTestData(); }
@Override @Before public void setUp() throws Exception { super.setUp(); FullTextSession fts = indexData(); indexReaderAccessor = fts.getSearchFactory().getIndexReaderAccessor(); }
@Override @Before public void setUp() throws Exception { super.setUp(); Session session = openSession(); fullTextSession = Search.getFullTextSession( session ); prepareData(); }
@Override @Before public void setUp() throws Exception { super.setUp(); Session session = openSession(); fullTextSession = Search.getFullTextSession( session ); prepareData(); }
@Override @Before public void setUp() throws Exception { super.setUp(); fullTextSession = Search.getFullTextSession( openSession() ); loadTestData( fullTextSession ); tx = fullTextSession.beginTransaction(); }
@Override @Before public void setUp() throws Exception { super.setUp(); fullTextSession = Search.getFullTextSession( openSession() ); queryParser = new QueryParser( "title", TestConstants.stopAnalyzer ); createTestContractors(); }
@Override @Before public void setUp() throws Exception { super.setUp(); EntityC indexedC = new EntityC( "indexed" ); EntityC skippedC = new EntityC( "indexed" ); EntityB indexedB = new EntityB( indexedC, skippedC ); entityA = new EntityA( indexedB ); s = openSession(); persistEntity( s, indexedC, skippedC, indexedB, entityA ); }
@Override @Before public void setUp() throws Exception { super.setUp(); EntityC indexedC = new EntityC( "indexed" ); indexedC.anotherField = "anotherField"; EntityC skippedC = new EntityC( "indexed" ); EntityB indexedB = new EntityB( indexedC, skippedC ); entityA = new EntityA( indexedB ); s = openSession(); persistEntity( s, indexedC, skippedC, indexedB, entityA ); }
@Override @Before public void setUp() throws Exception { super.setUp(); EntityC indexed = new EntityC( "indexed" ); EntityC skipped = new EntityC( "skipped" ); EntityB indexedB = new EntityB( indexed, skipped ); indexedB.insideThreshold = "insideThreshold"; entityA = new EntityA( indexedB ); s = openSession(); persistEntity( s, indexed, skipped, indexedB, entityA ); }
@Override @Before public void setUp() throws Exception { super.setUp(); fullTextSession = Search.getFullTextSession( openSession() ); queryParser = new QueryParser( "title", TestConstants.stopAnalyzer ); createTestBooks(); createTestNumbers(); createTestContractors(); }
@Override @Before public void setUp() throws Exception { super.setUp(); EntityC indexedC = new EntityC( "indexed" ); EntityC skippedC = new EntityC( "indexed" ); EntityB indexedB = new EntityB( indexedC, skippedC ); entityA = new EntityA( indexedB ); s = openSession(); persistEntity( s, indexedC, skippedC, indexedB, entityA ); }