|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.search.backend.testing.SharedTestDataBuilder
public class SharedTestDataBuilder
A class to share creation of testing data across tests. The data is supposed to be books, but that could change.
Should probably go to org.nuxeo.com.search.api
Method Summary | |
---|---|
static java.util.List<ResolvedData> |
aboutLifeCommon()
|
static ResolvedResource |
aboutLifeIndexableBookSchemaResource()
|
static ResolvedResource |
aboutLifeIndexableBookSchemaResource2()
Same with different barcode |
static ACP |
makeAboutLifeACP()
|
static ResolvedResources |
makeAboutLifeAggregated()
|
static ResolvedResources |
makeAboutLifeAggregated2()
|
static ResolvedResources |
makeWarPeace()
|
static ACP |
makeWarPeaceACP()
|
static ResolvedResources |
revelations(int i)
Makes aggregated resource for a book ("Revelations") with an integer parameter. |
static ResolvedResources[] |
revelationsBunch(int nb)
Makes aggregated resources for a bunch of almost identical books. |
static ResolvedResources |
revelationsEmptyDate(int i)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ResolvedResource aboutLifeIndexableBookSchemaResource()
public static ResolvedResource aboutLifeIndexableBookSchemaResource2()
public static ACP makeAboutLifeACP()
public static ACP makeWarPeaceACP()
public static java.util.List<ResolvedData> aboutLifeCommon()
public static ResolvedResources makeAboutLifeAggregated()
public static ResolvedResources makeAboutLifeAggregated2()
public static ResolvedResources makeWarPeace()
public static ResolvedResources[] revelationsBunch(int nb)
Barcode pattern: 135xxxx
Resource id pattern: RVLxxxx
nb
- the number of resources to create
public static ResolvedResources revelations(int i)
Barcode pattern: 135xxxx
Resource id pattern: RVLxxxx
published date: April
i-th, 2007
i
- the integer parameter
public static ResolvedResources revelationsEmptyDate(int i)
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |