|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
mondrian.test.FoodMartTestCase
mondrian.test.AccessControlTest
public class AccessControlTest
AccessControlTest
is a set of unit-tests for access-control.
For these tests, all of the roles are of type RoleImpl.
Role
Nested Class Summary |
---|
Nested classes/interfaces inherited from class mondrian.test.FoodMartTestCase |
---|
FoodMartTestCase.QueryAndResult |
Field Summary |
---|
Fields inherited from class mondrian.test.FoodMartTestCase |
---|
propSaver |
Constructor Summary | |
---|---|
AccessControlTest(String name)
|
Method Summary | |
---|---|
void |
_testSharedObjectsInGrantMappingsBug()
|
void |
testBugBiserver1574()
Test case for BISERVER-1574, "Cube role rollupPolicy='partial' failure". |
void |
testBugBiserver2491()
this tests the fix for http://jira.pentaho.com/browse/BISERVER-2491 rollupPolicy=partial and queries to upper members don't work |
void |
testBugMondrian402()
Test case for bug MONDRIAN-402, "Bug in RolapCubeHierarchy.hashCode() ?". |
void |
testBugMondrian435()
Testcase for bug MONDRIAN-435, "Internal error in HierarchizeArrayComparator". |
void |
testBugMondrian436()
Testcase for bug MONDRIAN-436, "SubstitutingMemberReader.getMemberBuilder gives UnsupportedOperationException". |
void |
testBugMondrian622()
Test case for bug MONDRIAN-622, "Poor performance with large union role". |
void |
testGoodman()
Testcase for bug MONDRIAN-406, "Rollup policy doesn't work for members that are implicitly visible". |
void |
testGrantDimensionNone()
|
void |
testGrantHierarchy1a()
|
void |
testGrantHierarchy1aAllMembers()
|
void |
testGrantHierarchy1b()
|
void |
testGrantHierarchy1c()
|
void |
testGrantHierarchy2()
|
void |
testGrantHierarchy3()
|
void |
testGrantHierarchy4()
|
void |
testGrantHierarchy5()
|
void |
testGrantHierarchy6()
|
void |
testGrantHierarchy7()
|
void |
testGrantHierarchy8()
|
void |
testGrantHierarchy8AllMembers()
|
void |
testGrantHierarchy9()
Tests that we only aggregate over SF, LA, even when called from functions. |
void |
testGrantHierarchyA()
|
void |
testNoAccessToCube()
|
void |
testNonEmptyAccess()
Test to verify that non empty crossjoins enforce role access. |
void |
testNonEmptyAccessLevelMembers()
|
void |
testPartialRollupParentChildHierarchy()
|
void |
testRoleMemberAccess()
|
void |
testRoleMemberAccessNonExistentMemberFails()
|
void |
testRollupBottomLevel()
Tests that members below bottom level are regarded as visible. |
void |
testRollupPolicyAll()
The total for [Store].[All Stores] is similarly reduced. |
void |
testRollupPolicyAllAsDefault()
Access [Store].[All Stores] implicitly as it is the default member of the [Stores] hierarchy. |
void |
testRollupPolicyAllAsParent()
Access [Store].[All Stores] via the Parent relationship (to check that this doesn't circumvent access control). |
void |
testRollupPolicyBasic()
Basic test of partial rollup policy. |
void |
testRollupPolicyGreatGrandchildInvisible()
Tests where all children are visible but a grandchild is not. |
void |
testRollupPolicyNegative()
Tests that a bad value for the rollupPolicy attribute gives the appropriate error. |
void |
testRollupPolicySimultaneous()
Tests where two hierarchies are simultaneously access-controlled. |
void |
testSchemaReader()
|
void |
testUnionRole()
|
void |
testVirtualCube()
Tests that hierarchy-level access control works on a virtual cube. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AccessControlTest(String name)
Method Detail |
---|
public void testSchemaReader()
public void testGrantDimensionNone()
public void testRoleMemberAccessNonExistentMemberFails()
public void testRoleMemberAccess()
public void testGrantHierarchy1a()
public void testGrantHierarchy1aAllMembers()
public void testGrantHierarchy1b()
public void testGrantHierarchy1c()
public void testGrantHierarchy2()
public void testGrantHierarchy3()
public void testGrantHierarchy4()
public void testGrantHierarchy5()
public void testGrantHierarchy6()
public void testGrantHierarchy7()
public void testGrantHierarchy8()
public void testGrantHierarchy8AllMembers()
public void testGrantHierarchy9()
public void testGrantHierarchyA()
public void _testSharedObjectsInGrantMappingsBug()
public void testNoAccessToCube()
public void testRollupPolicyBasic()
public void testRollupPolicyAll()
public void testRollupPolicyAllAsDefault()
public void testRollupPolicyAllAsParent()
public void testRollupBottomLevel()
public void testRollupPolicyNegative()
public void testRollupPolicyGreatGrandchildInvisible()
public void testRollupPolicySimultaneous()
public void testUnionRole()
public void testNonEmptyAccess()
public void testNonEmptyAccessLevelMembers()
public void testGoodman()
public void testBugMondrian402()
public void testPartialRollupParentChildHierarchy()
public void testBugBiserver1574()
SchemaReader.getMemberParent(mondrian.olap.Member)
when called
on a members returned in a result set. JPivot calls that method but
Mondrian normally does not.
public void testBugMondrian435()
public void testBugMondrian436()
public void testVirtualCube()
public void testBugBiserver2491()
public void testBugMondrian622()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |