public class NoteServiceTests extends AbstractServiceTests
container, dataDataSource, datalocation, defaultContext, defaultSecurityContext, domainUid, esearchClient, itemStore, owner, tag1, tag2, tagContainer, tagRef1, tagRef2, tagRefStore, vnoteStore, vnoteStoreService
Constructor and Description |
---|
NoteServiceTests() |
Modifier and Type | Method and Description |
---|---|
protected INote |
getServiceNote(SecurityContext context,
java.lang.String containerUid) |
protected INoteIndexMgmt |
getServiceNoteMgmt(SecurityContext context) |
protected INotes |
getServiceNotes(SecurityContext context) |
void |
testAll() |
void |
testAllUids() |
void |
testChangelog() |
void |
testChangeset() |
void |
testChangesetById() |
void |
testCreate() |
void |
testCreateImproperVNote() |
void |
testDelete() |
void |
testDeleteUnknownEvent() |
void |
testGetComplete() |
void |
testItemChangelog() |
void |
testMultipleDeleteById() |
void |
testMultipleGet() |
void |
testMultipleGetById() |
void |
testNoCategories() |
void |
testOnTagChanged() |
void |
testReset() |
void |
testRestoreCreate() |
void |
testRestoreUpdate() |
void |
testSearch_onBody() |
void |
testSearch_onColor() |
void |
testSearch_onSubject() |
void |
testUpdate() |
void |
testUpdateColor() |
void |
testUpdateTag() |
void |
testUpdateUnknownEvent() |
after, before, createTestContainer, defaultVNote, defaultVNote, refreshIndex, setGlobalExternalUrl
public void testCreate() throws ServerFault, java.sql.SQLException
ServerFault
java.sql.SQLException
public void testRestoreCreate() throws java.lang.Exception
java.lang.Exception
public void testUpdate() throws ServerFault
ServerFault
public void testRestoreUpdate() throws java.lang.Exception
java.lang.Exception
public void testDelete() throws ServerFault
ServerFault
public void testReset() throws ServerFault
ServerFault
public void testGetComplete() throws ServerFault
ServerFault
public void testAll() throws ServerFault
ServerFault
public void testMultipleGet() throws ServerFault
ServerFault
public void testMultipleGetById() throws ServerFault
ServerFault
public void testMultipleDeleteById() throws ServerFault
ServerFault
public void testAllUids() throws ServerFault
ServerFault
public void testCreateImproperVNote() throws ServerFault
ServerFault
public void testChangelog() throws ServerFault
ServerFault
public void testChangeset() throws ServerFault
ServerFault
public void testChangesetById() throws ServerFault
ServerFault
public void testItemChangelog() throws ServerFault
ServerFault
public void testNoCategories() throws ServerFault
ServerFault
public void testDeleteUnknownEvent() throws ServerFault
ServerFault
public void testUpdateUnknownEvent() throws ServerFault
ServerFault
public void testUpdateColor() throws ServerFault
ServerFault
public void testUpdateTag() throws ServerFault
ServerFault
public void testOnTagChanged() throws ServerFault, java.sql.SQLException
ServerFault
java.sql.SQLException
public void testSearch_onSubject() throws ServerFault
ServerFault
public void testSearch_onBody() throws ServerFault
ServerFault
public void testSearch_onColor() throws ServerFault
ServerFault
protected INote getServiceNote(SecurityContext context, java.lang.String containerUid) throws ServerFault
getServiceNote
in class AbstractServiceTests
ServerFault
protected INoteIndexMgmt getServiceNoteMgmt(SecurityContext context) throws ServerFault
getServiceNoteMgmt
in class AbstractServiceTests
ServerFault
protected INotes getServiceNotes(SecurityContext context) throws ServerFault
getServiceNotes
in class AbstractServiceTests
ServerFault
Copyright © 2023. All Rights Reserved.