|
|||||||||
| 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.test.functional.ACUTestBase
nesstar.test.functional.ACUTest
public class ACUTest
A test class for the Nesstar ACU.
| Field Summary | |
|---|---|
static Hashtable |
cubes
|
static String |
privateCubeId
|
static String |
publicCubeId
|
static String |
unknownCubeId
|
String |
UserBeanClass
|
String |
UserBeanClassPath
|
String |
UserLocalInterface
|
String |
UserLocalInterfacePath
|
| Fields inherited from class nesstar.test.functional.ACUTestBase |
|---|
CUBE_TO_PUBLISH, DEFAULT_EXTENSION, DEFAULT_POLICY, EXT_SERVER_PATH, OLD_DEFAULT_POLICY, POLICY_ACU_FILE, TEST_ACUEXT_5, TEST_DEFAULT_POLICY_1, TEST_DEFAULT_POLICY_2, TEST_DEFAULT_POLICY_3, TEST_POLICY_1, TEST_POLICY_2, TEST_POLICY_3, TEST_POLICY_4, TEST_POLICY_5, TEST_POLICY_6, TEST_POLICY_7, TEST_POLICY_8 |
| Constructor Summary | |
|---|---|
ACUTest(String testName)
Constructor for the ACUTest object |
|
| Method Summary | |
|---|---|
Cube |
deleteCube(Cube cube)
|
static void |
main(String[] args)
The main program for the ACUTest class |
void |
publish()
|
void |
publishCube(String id,
String cubeCondition,
String studyCondition,
File file)
|
static junit.framework.Test |
suite()
Return the suite of all tests of this class * |
static junit.framework.Test |
suiteAll()
|
static junit.framework.Test |
suiteDefault()
tests default server acu settings (on server catalog and user) and error on double login |
static junit.framework.Test |
suiteDefaultPolicy_1()
test the policy 1 pre-loaded in the server (single tests) |
static junit.framework.Test |
suiteDefaultPolicy_2()
test the policy 2 pre-loaded in the server (single tests) |
static junit.framework.Test |
suiteDefaultPolicy_3()
test the policy 3 pre-loaded in the server (single tests) |
static junit.framework.Test |
suiteDefaultPolicy()
test the default policy (single tests) |
static junit.framework.Test |
suiteOldPolicy()
test the old policy based on purposes (single tests) |
static junit.framework.Test |
suitePolicy_1()
test policy 1: free and restricted objects |
static junit.framework.Test |
suitePolicy_2()
test policy 2: free and restricted studies |
static junit.framework.Test |
suitePolicy_3()
test policy 3: subset of metadata protection |
static junit.framework.Test |
suitePolicy_4()
|
static junit.framework.Test |
suitePolicy_5()
|
static junit.framework.Test |
suitePolicy_6()
|
static junit.framework.Test |
suitePolicy_7()
|
static junit.framework.Test |
suitePolicy_8()
|
static junit.framework.Test |
suiteRestore()
|
void |
testAccessStudies()
|
void |
testActualPolicy()
tests default server acu settings (on server catalog and user) and error on double login |
void |
testAcuStatement()
test that no acu statement are left on the server; |
void |
testAnalisys_1()
|
void |
testAnalisys_1b()
|
void |
testAnalisys_2()
|
void |
testAnalisys_3()
|
void |
testAnalisys_4()
|
void |
testAuthorisedCubePublishing()
|
void |
testAuthorisedCubePublishing(boolean delete,
String user)
|
void |
testAuthorisedCubePublishingAndDeletion()
|
void |
testAuthorizedCubesPublishing()
|
void |
testAuthorizedUserBrowseRestrictedVariable()
|
void |
testBrowse()
|
void |
testBrowseVariable()
|
void |
testContext()
test different contexts on the client side |
void |
testCreateVariables()
|
void |
testCubeQuery()
|
void |
testDefaultPolicy_1()
test the policy 1 pre-loaded in the server |
void |
testDefaultPolicy_2()
test the policy 2 pre-loaded in the server |
void |
testDefaultPolicy_3()
test the policy 3 pre-loaded in the server |
void |
testDefaultPolicy()
test the default policy |
void |
testDeletingCubes()
|
void |
testDeniedAnalisys_2()
|
void |
testDoubleLogin()
|
void |
testFreeAnalisys()
|
void |
testFreeBrowse()
|
void |
testFreeCubePublishing()
|
void |
testFreePublish()
|
void |
testFreeQueryCube()
|
void |
testFreeStudy()
|
void |
testHome()
A unit test for Home operation only method 'create' is protected |
void |
testNewRestrictedAnalisys()
|
void |
testOldPolicy()
test the old policy based on purposes |
void |
testPartialBrowseCollection()
|
void |
testPartialBrowseObject()
|
void |
testPolicy_1()
test policy 1: free and restricted objects |
void |
testPolicy_2()
test policy 2: free and restricted studies |
void |
testPolicy_3()
test policy 3: subset of metadata protection |
void |
testPolicy_4()
|
void |
testPolicy_5()
|
void |
testPolicy_6()
|
void |
testPolicy_7()
|
void |
testPolicy_8()
|
void |
testPrivateCube()
|
void |
testPublicCube()
|
void |
testPublish()
|
void |
testQueryCube()
|
void |
testRestoreData()
create any statement created by JUnit test suit |
void |
testRestrictedBrowse()
|
void |
testRestrictedCatalog()
|
void |
testRestrictedFullDownload()
|
void |
testRestrictedStudy()
|
void |
testRestrictedSubset()
|
void |
testRestrictedVariable()
|
void |
testSectionhierarchy()
|
void |
testStatementProperty()
|
void |
testStudy2568Download_1()
|
void |
testStudy2568Download_2()
|
void |
testStudy2568Frequency()
|
void |
testStudy4176Download_1()
|
void |
testStudy4176Download_2()
|
void |
testStudy4176Frequency()
|
void |
testStudy44871Download_1()
test download on free object with type set in database |
void |
testStudy44871Download_2()
|
void |
testStudy44871Frequency()
|
void |
testStudyHierarchyDerivedFrequency()
|
void |
testStudyHierarchyDownload_1()
|
void |
testStudyHierarchyDownload_2()
|
void |
testStudyHierarchyFrequency()
|
void |
testThreads()
test different context threads on the client side |
void |
testUnauthorisedPublishing()
|
void |
testUnkownCube()
|
void |
testUnRestrictedDownload()
|
void |
testUpdateData()
create a statement link between test catalog XTEST1 and restricted catalog |
void |
testUpgradeDefaultPolicy_1()
|
void |
testUpgradeDefaultPolicy_2()
|
void |
testUpgradeDefaultPolicy_3()
|
void |
testUpgradeOldPolicy()
|
void |
testUpgradePolicy_1()
|
void |
testUpgradePolicy_2()
|
void |
testUpgradePolicy_3()
|
void |
testUpgradePolicy_4()
|
void |
testUpgradePolicy_5()
|
void |
testUpgradePolicy_6()
|
void |
testUpgradePolicy_7()
|
void |
testUpgradePolicy_8()
|
void |
testWrongLogin()
test login with unknown credentials |
| 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 final String publicCubeId
public static final String privateCubeId
public static final String unknownCubeId
public static Hashtable cubes
public final String UserLocalInterface
public final String UserLocalInterfacePath
public final String UserBeanClass
public final String UserBeanClassPath
| Constructor Detail |
|---|
public ACUTest(String testName)
testName - | Method Detail |
|---|
public static void main(String[] args)
args - The command line argumentspublic static junit.framework.Test suite()
public static junit.framework.Test suiteAll()
public void testHome()
throws Exception
Exceptionpublic static junit.framework.Test suiteRestore()
public static junit.framework.Test suiteDefault()
public void testActualPolicy()
throws Exception
Exceptionpublic static junit.framework.Test suiteDefaultPolicy()
public void testDefaultPolicy()
throws Exception
Exceptionpublic static junit.framework.Test suiteDefaultPolicy_1()
public void testDefaultPolicy_1()
throws Exception
Exceptionpublic static junit.framework.Test suiteDefaultPolicy_2()
public void testDefaultPolicy_2()
throws Exception
Exceptionpublic static junit.framework.Test suiteDefaultPolicy_3()
public void testDefaultPolicy_3()
throws Exception
Exception
public void testUpdateData()
throws Exception
Exception
public void testRestoreData()
throws Exception
Exception
public void testAcuStatement()
throws Exception
Exceptionpublic static junit.framework.Test suiteOldPolicy()
public void testOldPolicy()
throws Exception
Exceptionpublic static junit.framework.Test suitePolicy_1()
public void testPolicy_1()
throws Exception
Exceptionpublic static junit.framework.Test suitePolicy_2()
public void testPolicy_2()
throws Exception
Exceptionpublic static junit.framework.Test suitePolicy_3()
public void testPolicy_3()
throws Exception
Exceptionpublic static junit.framework.Test suitePolicy_4()
public void testPolicy_4()
throws Exception
Exceptionpublic static junit.framework.Test suitePolicy_5()
public void testPolicy_5()
throws Exception
Exceptionpublic static junit.framework.Test suitePolicy_6()
public void testPolicy_6()
throws Exception
Exceptionpublic static junit.framework.Test suitePolicy_7()
public void testPolicy_7()
throws Exception
Exceptionpublic static junit.framework.Test suitePolicy_8()
public void testPolicy_8()
throws Exception
Exception
public void testBrowseVariable()
throws Exception
Exception
public void testAccessStudies()
throws Exception
Exception
public void testAuthorizedCubesPublishing()
throws Exception
Exception
public void publishCube(String id,
String cubeCondition,
String studyCondition,
File file)
throws Exception
Exception
public void testPublicCube()
throws Exception
Exception
public void testPrivateCube()
throws Exception
Exception
public void testUnkownCube()
throws Exception
Exception
public void testDeletingCubes()
throws Exception
Exception
public void testUpgradeOldPolicy()
throws Exception
Exception
public void testUpgradePolicy_1()
throws Exception
Exception
public void testUpgradeDefaultPolicy_1()
throws Exception
Exception
public void testUpgradeDefaultPolicy_2()
throws Exception
Exception
public void testUpgradeDefaultPolicy_3()
throws Exception
Exception
public void testUpgradePolicy_2()
throws Exception
Exception
public void testUpgradePolicy_3()
throws Exception
Exception
public void testUpgradePolicy_4()
throws Exception
Exception
public void testUpgradePolicy_5()
throws Exception
Exception
public void testUpgradePolicy_6()
throws Exception
Exception
public void testUpgradePolicy_7()
throws Exception
Exception
public void testUpgradePolicy_8()
throws Exception
Exception
public void testFreeBrowse()
throws Exception
Exception
public void testBrowse()
throws Exception
Exception
public void testRestrictedBrowse()
throws Exception
Exception
public void testPartialBrowseCollection()
throws Exception
Exception
public void testPartialBrowseObject()
throws Exception
Exception
public void testPublish()
throws Exception
Exception
public void testFreePublish()
throws Exception
Exception
public void publish()
throws Exception
Exception
public void testFreeAnalisys()
throws Exception
Exception
public void testAnalisys_1()
throws Exception
Exception
public void testAnalisys_1b()
throws Exception
Exception
public void testAnalisys_2()
throws Exception
Exception
public void testDeniedAnalisys_2()
throws Exception
Exception
public void testAnalisys_3()
throws Exception
Exception
public void testAnalisys_4()
throws Exception
Exception
public void testUnauthorisedPublishing()
throws Exception
Exception
public void testFreeCubePublishing()
throws Exception
Exception
public void testAuthorisedCubePublishing()
throws Exception
Exception
public void testAuthorisedCubePublishingAndDeletion()
throws Exception
Exception
public void testAuthorisedCubePublishing(boolean delete,
String user)
throws Exception
Exception
public Cube deleteCube(Cube cube)
throws Exception
Exception
public void testFreeQueryCube()
throws Exception
Exception
public void testQueryCube()
throws Exception
Exception
public void testAuthorizedUserBrowseRestrictedVariable()
throws Exception
Exception
public void testFreeStudy()
throws Exception
Exception
public void testRestrictedStudy()
throws Exception
Exception
public void testRestrictedCatalog()
throws Exception
Exception
public void testRestrictedVariable()
throws Exception
Exception
public void testStudy44871Download_1()
throws Exception
Exception
public void testStudy44871Download_2()
throws Exception
Exception
public void testStudy2568Download_1()
throws Exception
Exception
public void testStudy2568Download_2()
throws Exception
Exception
public void testStudyHierarchyDownload_1()
throws Exception
Exception
public void testStudyHierarchyDownload_2()
throws Exception
Exception
public void testStudy4176Download_1()
throws Exception
Exception
public void testStudy4176Download_2()
throws Exception
Exception
public void testStudy2568Frequency()
throws Exception
Exception
public void testStudy44871Frequency()
throws Exception
Exception
public void testStudy4176Frequency()
throws Exception
Exception
public void testStudyHierarchyDerivedFrequency()
throws Exception
Exception
public void testCreateVariables()
throws Exception
Exception
public void testStudyHierarchyFrequency()
throws Exception
Exception
public void testSectionhierarchy()
throws Exception
Exception
public void testCubeQuery()
throws Exception
Exception
public void testUnRestrictedDownload()
throws Exception
Exception
public void testRestrictedFullDownload()
throws Exception
Exception
public void testRestrictedSubset()
throws Exception
Exception
public void testNewRestrictedAnalisys()
throws Exception
Exception
public void testWrongLogin()
throws Exception
Exception
public void testContext()
throws Exception
Exception
public void testThreads()
throws Exception
Exception
public void testDoubleLogin()
throws Exception
Exception
public void testStatementProperty()
throws Exception
Exception
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||