|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
nesstar.test.NesstarTestCase
nesstar.api.common.EGMSResource2TestBase
nesstar.api.common.EGMSResource2Test
public class EGMSResource2Test
A Test class for EGMSResource2.java Automatically generated from ARGO/UML
Field Summary |
---|
Fields inherited from class nesstar.api.common.EGMSResource2TestBase |
---|
__home |
Constructor Summary | |
---|---|
EGMSResource2Test(String testName)
Constructor for the EGMSResource2Test object |
Method Summary | |
---|---|
static void |
main(String[] args)
The main program for the EGMSResource2Test class |
static junit.framework.Test |
suite()
Return the suite of all tests of this class |
void |
testAssociationEvent()
A Test of the attribute event of type Event |
void |
testAssociationPerson()
A Test of the attribute person of type Person |
void |
testAssociationStudy()
A Test of the attribute study of type Study2 |
void |
testAttributeAddresseeCopy()
A Test of the attribute addresseeCopy |
void |
testAttributeComment()
A test on Comment |
void |
testAttributeCoverageTemporalDateCapturePeriodEnds()
A Test of the attribute CoverageTemporalDateCapturePeriodEnds |
void |
testAttributeCreationDate()
A test on CreationDate |
void |
testAttributeDateAcquired()
A Test of the attribute dateAcquired |
void |
testAttributeDateAvailableEnd()
A Test of the attribute dateAvailableEnd |
void |
testAttributeDateValidEnd()
A Test of the attribute dateValidEnd |
void |
testAttributeIdentifierCaseID()
A Test of the attribute identifierCaseID |
void |
testAttributeLabel()
A test on Label |
void |
testAttributeSubjectPerson()
A Test of the attribute subjectPerson |
void |
testHomeOperationFindAll()
A test on the home operation findAll(String id) |
void |
testHomeOperationFindByKey()
A test on the home operation findByKey(String id) |
void |
testOperationGetFileURL()
A Test of the operation GetFileURL() |
void |
testOperationSaveFile()
A Test of the operation SaveFile(File file) |
void |
testSetGetEndDates()
|
void |
testSplit()
|
Methods inherited from class nesstar.api.common.EGMSResource2TestBase |
---|
getAssociationTest, getAttributesTest, getHome, getMethodsTest, getProperiesTest |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, getName, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EGMSResource2Test(String testName)
testName
- Method Detail |
---|
public static void main(String[] args)
args
- The command line argumentspublic static junit.framework.Test suite()
public void testAttributeComment() throws Exception
testAttributeComment
in class EGMSResource2TestBase
Exception
public void testAttributeLabel() throws Exception
testAttributeLabel
in class EGMSResource2TestBase
Exception
public void testHomeOperationFindByKey() throws Exception
testHomeOperationFindByKey
in class EGMSResource2TestBase
Exception
public void testHomeOperationFindAll() throws Exception
testHomeOperationFindAll
in class EGMSResource2TestBase
Exception
public void testSetGetEndDates() throws Exception
Exception
public void testOperationSaveFile() throws Exception
Save a file to be linked to the resource;
The file will be stored in a folder in the server not accessible through web
testOperationSaveFile
in class EGMSResource2TestBase
Exception
public void testSplit() throws Exception
Exception
public void testOperationGetFileURL() throws Exception
testOperationGetFileURL
in class EGMSResource2TestBase
Exception
public void testAssociationStudy() throws Exception
Exception
public void testAssociationPerson() throws Exception
Exception
public void testAssociationEvent() throws Exception
Exception
public void testAttributeAddresseeCopy() throws Exception
The person (or persons) to whom the resource was copied.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf
testAttributeAddresseeCopy
in class EGMSResource2TestBase
Exception
public void testAttributeCoverageTemporalDateCapturePeriodEnds() throws Exception
If an element of EGMSResource.dateCapturePeriod is a range the corresponding element of this array stores the end of the period.
testAttributeCoverageTemporalDateCapturePeriodEnds
in class EGMSResource2TestBase
Exception
public void testAttributeDateAcquired() throws Exception
Refinement of date
The date on which the resource was received into the organisation.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf
Replaces the mispelled EGMSResource.dateAquired.
testAttributeDateAcquired
in class EGMSResource2TestBase
Exception
public void testAttributeDateAvailableEnd() throws Exception
To be used, if the dateAvailable property is a range, to store the end value of the range.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf
testAttributeDateAvailableEnd
in class EGMSResource2TestBase
Exception
public void testAttributeDateValidEnd() throws Exception
To be used, if the dateValid property is a range, to store the end value of the range.
For more information see http://www.govtalk.gov.uk/documents/metadataV2.pdf
testAttributeDateValidEnd
in class EGMSResource2TestBase
Exception
public void testAttributeIdentifierCaseID() throws Exception
Refinement of Identifier to identify the case handling environment.
For more information see e-GMS 3.0.
testAttributeIdentifierCaseID
in class EGMSResource2TestBase
Exception
public void testAttributeCreationDate() throws Exception
testAttributeCreationDate
in class EGMSResource2TestBase
Exception
public void testAttributeSubjectPerson() throws Exception
Refinement of Subject.
For more information see e-GMS 3.0.
testAttributeSubjectPerson
in class EGMSResource2TestBase
Exception
|
Nesstar SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |