org.qi4j.test.indexing
Class AbstractNamedQueryTest

java.lang.Object
  extended by org.qi4j.test.AbstractQi4jTest
      extended by org.qi4j.test.indexing.AbstractAnyQueryTest
          extended by org.qi4j.test.indexing.AbstractNamedQueryTest
All Implemented Interfaces:
Assembler

public abstract class AbstractNamedQueryTest
extends AbstractAnyQueryTest


Field Summary
 
Fields inherited from class org.qi4j.test.indexing.AbstractAnyQueryTest
unitOfWork
 
Fields inherited from class org.qi4j.test.AbstractQi4jTest
api, application, applicationModel, moduleInstance, objectBuilderFactory, qi4j, queryBuilderFactory, serviceLocator, spi, transientBuilderFactory, unitOfWorkFactory, valueBuilderFactory
 
Constructor Summary
AbstractNamedQueryTest()
           
 
Method Summary
 void assemble(ModuleAssembly module)
          Assemblers receive a callback to the ModuleAssembly they are supposed to configure.
protected abstract  void assembleNamedQueries(ModuleAssembly module, NamedQueries queries)
           
protected abstract  NamedQueryDescriptor createNamedQueryDescriptor(String queryName, String queryString)
           
protected abstract  String[] queryStrings()
           
 void script01()
           
 void script02()
           
 void script03()
           
 void script04()
           
 void script05()
           
 void script06()
           
 void script07()
           
 void script08()
           
 void script09()
           
 void script10()
           
 void script11()
           
 void script12()
           
 void script13()
           
 void script14()
           
 void script15()
           
 void script16()
           
 void script17()
           
 void script18()
           
 void script19()
           
 void script20()
           
 void script21()
           
 void script22()
           
 void script23()
           
 void script24()
           
 void script29()
           
 void script30()
           
 void script31()
           
 void showNetwork()
           
 
Methods inherited from class org.qi4j.test.indexing.AbstractAnyQueryTest
setUp, tearDown
 
Methods inherited from class org.qi4j.test.AbstractQi4jTest
assemblyException, getLog, initApplication, newApplication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractNamedQueryTest

public AbstractNamedQueryTest()
Method Detail

assemble

public void assemble(ModuleAssembly module)
              throws AssemblyException
Description copied from interface: Assembler
Assemblers receive a callback to the ModuleAssembly they are supposed to configure. They can use this to register objects, composites, services etc. and the additional metadata that may exist for these artifacts.

An Assembler may create new Modules by calling ModuleAssembly.layer() and then LayerAssembly.module(String) (String)}. This allows an Assembler to bootstrap an entire Layer with more Modules.

Specified by:
assemble in interface Assembler
Overrides:
assemble in class AbstractAnyQueryTest
Parameters:
module - the Module to assemble
Throws:
AssemblyException - thrown if the assembler tries to do something illegal

queryStrings

protected abstract String[] queryStrings()

createNamedQueryDescriptor

protected abstract NamedQueryDescriptor createNamedQueryDescriptor(String queryName,
                                                                   String queryString)

assembleNamedQueries

protected abstract void assembleNamedQueries(ModuleAssembly module,
                                             NamedQueries queries)
                                      throws AssemblyException
Throws:
AssemblyException

showNetwork

public void showNetwork()
                 throws IOException
Throws:
IOException

script01

public void script01()
              throws EntityFinderException
Throws:
EntityFinderException

script02

public void script02()
              throws EntityFinderException
Throws:
EntityFinderException

script03

public void script03()
              throws EntityFinderException
Throws:
EntityFinderException

script04

public void script04()
              throws EntityFinderException
Throws:
EntityFinderException

script05

public void script05()
              throws EntityFinderException
Throws:
EntityFinderException

script06

public void script06()
              throws EntityFinderException
Throws:
EntityFinderException

script07

public void script07()
              throws EntityFinderException
Throws:
EntityFinderException

script08

public void script08()
              throws EntityFinderException
Throws:
EntityFinderException

script09

public void script09()
              throws EntityFinderException
Throws:
EntityFinderException

script10

public void script10()
              throws EntityFinderException
Throws:
EntityFinderException

script11

public void script11()
              throws EntityFinderException
Throws:
EntityFinderException

script12

public void script12()
              throws EntityFinderException
Throws:
EntityFinderException

script13

public void script13()
              throws EntityFinderException
Throws:
EntityFinderException

script14

public void script14()
              throws EntityFinderException
Throws:
EntityFinderException

script15

public void script15()
              throws EntityFinderException
Throws:
EntityFinderException

script16

public void script16()
              throws EntityFinderException
Throws:
EntityFinderException

script17

public void script17()
              throws EntityFinderException
Throws:
EntityFinderException

script18

public void script18()
              throws EntityFinderException
Throws:
EntityFinderException

script19

public void script19()
              throws EntityFinderException
Throws:
EntityFinderException

script20

public void script20()
              throws EntityFinderException
Throws:
EntityFinderException

script21

public void script21()
              throws EntityFinderException
Throws:
EntityFinderException

script22

public void script22()
              throws EntityFinderException
Throws:
EntityFinderException

script23

public void script23()
              throws EntityFinderException
Throws:
EntityFinderException

script24

public void script24()
              throws EntityFinderException
Throws:
EntityFinderException

script29

public void script29()

script30

public void script30()

script31

public void script31()