Package fi.tut.mei.resdescapi.rescatapi
Class ResCat_API_LocalFileSysTest
- java.lang.Object
-
- fi.tut.mei.resdescapi.rescatapi.ResCat_API_LocalFileSysTest
-
public class ResCat_API_LocalFileSysTest extends Object
JUnit tests for ResCat_API class. This test class should include only those tests which are not depended on selected search field, and which are common to all search fields (whether ID, name, description, ...) are used.- Author:
- Niko Siltala
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
_ID_TEST_ARD_CAPABILITY_ID
protected static String
_ID_TEST_ARD_CAPABILITY_NAME
protected static String
_ID_TEST_ARD_EXECCAPABILITY_ID
protected static String
_ID_TEST_ARD_EXECCAPABILITY_NAME
protected static String
_ID_TEST_ARD_ID
protected static String
_ID_TEST_ARD_INTERFACESTD_ID
protected static String
_ID_TEST_ARD_INTERFACESTD_NAME
protected static String
_ID_TEST_ARD_NAME
protected static String
_ID_TEST_ARD_PROFILE_ID
protected static String
_ID_TEST_ARD_PROFILE_NAME
protected static String
_ID_TEST_RD_ID
protected static String
_ID_TEST_RD_NAME
-
Constructor Summary
Constructors Constructor Description ResCat_API_LocalFileSysTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
static void
setUpBeforeClass()
static void
tearDownAfterClass()
void
testGetARDStructure_ARDId()
void
testGetNumberOfArds()
void
testGetNumberOfRds()
void
testGetRDSkeleton_ARDandProfile()
void
testGetRDStructure_EmptyTemplate()
void
testGetRDStructure_RDId()
void
testIssues()
void
testSetARDStructure()
void
testSetRDStructure()
void
testViewARD_Capability()
void
testWritingRDtoFile()
-
-
-
Field Detail
-
_ID_TEST_ARD_ID
protected static final String _ID_TEST_ARD_ID
- See Also:
- Constant Field Values
-
_ID_TEST_ARD_PROFILE_ID
protected static final String _ID_TEST_ARD_PROFILE_ID
- See Also:
- Constant Field Values
-
_ID_TEST_ARD_CAPABILITY_ID
protected static final String _ID_TEST_ARD_CAPABILITY_ID
- See Also:
- Constant Field Values
-
_ID_TEST_ARD_EXECCAPABILITY_ID
protected static final String _ID_TEST_ARD_EXECCAPABILITY_ID
- See Also:
- Constant Field Values
-
_ID_TEST_ARD_INTERFACESTD_ID
protected static final String _ID_TEST_ARD_INTERFACESTD_ID
- See Also:
- Constant Field Values
-
_ID_TEST_RD_ID
protected static final String _ID_TEST_RD_ID
- See Also:
- Constant Field Values
-
_ID_TEST_ARD_NAME
protected static final String _ID_TEST_ARD_NAME
- See Also:
- Constant Field Values
-
_ID_TEST_ARD_PROFILE_NAME
protected static final String _ID_TEST_ARD_PROFILE_NAME
- See Also:
- Constant Field Values
-
_ID_TEST_ARD_CAPABILITY_NAME
protected static final String _ID_TEST_ARD_CAPABILITY_NAME
- See Also:
- Constant Field Values
-
_ID_TEST_ARD_EXECCAPABILITY_NAME
protected static final String _ID_TEST_ARD_EXECCAPABILITY_NAME
- See Also:
- Constant Field Values
-
_ID_TEST_ARD_INTERFACESTD_NAME
protected static final String _ID_TEST_ARD_INTERFACESTD_NAME
- See Also:
- Constant Field Values
-
_ID_TEST_RD_NAME
protected static final String _ID_TEST_RD_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
testViewARD_Capability
public void testViewARD_Capability()
-
testGetNumberOfArds
public void testGetNumberOfArds()
-
testGetNumberOfRds
public void testGetNumberOfRds()
-
testGetARDStructure_ARDId
public void testGetARDStructure_ARDId()
-
testGetRDStructure_EmptyTemplate
public void testGetRDStructure_EmptyTemplate()
-
testGetRDSkeleton_ARDandProfile
public void testGetRDSkeleton_ARDandProfile()
-
testSetARDStructure
public void testSetARDStructure()
-
testGetRDStructure_RDId
public void testGetRDStructure_RDId()
-
testWritingRDtoFile
public void testWritingRDtoFile()
-
testSetRDStructure
public void testSetRDStructure()
-
testIssues
public void testIssues()
-
-