|
|||||||||
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
public class EGMSResource2TestBase
A Base Test class for EGMSResource2.java Automatically generated from ARGO/UML
Field Summary | |
---|---|
static EGMSResource2Home |
__home
|
Constructor Summary | |
---|---|
EGMSResource2TestBase(String testName)
Constructor for the EGMSResource2TestBase object |
Method Summary | |
---|---|
static junit.framework.Test |
getAssociationTest()
|
static junit.framework.Test |
getAttributesTest()
|
static EGMSResource2Home |
getHome()
|
static junit.framework.Test |
getMethodsTest()
|
static junit.framework.Test |
getProperiesTest()
|
static void |
main(String[] args)
The main program for the EGMSResource2TestBase class |
static junit.framework.Test |
suite()
Return the suite of all tests of this class |
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) |
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 |
Field Detail |
---|
public static EGMSResource2Home __home
Constructor Detail |
---|
public EGMSResource2TestBase(String testName)
testName
- Method Detail |
---|
public static EGMSResource2Home getHome() throws Exception
Exception
public static junit.framework.Test getProperiesTest() throws Exception
Exception
public static junit.framework.Test getAttributesTest() throws Exception
Exception
public static junit.framework.Test getAssociationTest() throws Exception
Exception
public static junit.framework.Test getMethodsTest() throws Exception
Exception
public static void main(String[] args)
args
- The command line argumentspublic static junit.framework.Test suite()
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.
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
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
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.
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
Exception
public void testAttributeIdentifierCaseID() throws Exception
Refinement of Identifier to identify the case handling environment.
For more information see e-GMS 3.0.
Exception
public void testAttributeSubjectPerson() throws Exception
Refinement of Subject.
For more information see e-GMS 3.0.
Exception
public void testAttributeComment() throws Exception
Exception
public void testAttributeLabel() throws Exception
Exception
public void testAttributeCreationDate() throws Exception
Exception
public void testHomeOperationFindByKey() throws Exception
Exception
public void testHomeOperationFindAll() 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
Exception
public void testOperationGetFileURL() throws Exception
Exception
|
Nesstar SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |