Package ndg :: Package xacml :: Package test :: Package policy :: Module test_policy :: Class XACMLPolicyTestCase
[hide private]

Class XACMLPolicyTestCase

source code

            object --+    
                     |    
unittest.case.TestCase --+
                         |
                        XACMLPolicyTestCase

Unit tests for NDG XACML Policy class

Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
test01ETreeParseRule1Policy(self) source code
 
test02ETreeParseRule2Policy(self) source code
 
test03ETreeParseRule3Policy(self) source code
 
test04ETreeParseRule4Policy(self) source code
 
test05ETreeParseNdg1Policy(self) source code
 
test05ETreeParsePolicyWithCustomAttributeTypes(self) source code

Inherited from unittest.case.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __repr__, __str__, addCleanup, addTypeEqualityFunc, assertAlmostEqual, assertAlmostEquals, assertDictContainsSubset, assertDictEqual, assertEqual, assertEquals, assertFalse, assertGreater, assertGreaterEqual, assertIn, assertIs, assertIsInstance, assertIsNone, assertIsNot, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIn, assertNotIsInstance, assertNotRegexpMatches, assertRaises, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTrue, assertTupleEqual, assert_, countTestCases, debug, defaultTestResult, doCleanups, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, setUp, shortDescription, skipTest, tearDown

Inherited from unittest.case.TestCase (private): _addSkip, _baseAssertEqual, _deprecate, _formatMessage, _getAssertEqualityFunc, _truncateMessage

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Class Variables [hide private]
  XACML_TEST1_FILENAME = 'rule1.xml'
  XACML_TEST1_FILEPATH = '/Users/philipkershaw/Documents/workspa...
  XACML_TEST2_FILENAME = 'rule2.xml'
  XACML_TEST2_FILEPATH = '/Users/philipkershaw/Documents/workspa...
  XACML_TEST3_FILENAME = 'rule3.xml'
  XACML_TEST3_FILEPATH = '/Users/philipkershaw/Documents/workspa...
  XACML_TEST4_FILENAME = 'rule4.xml'
  XACML_TEST4_FILEPATH = '/Users/philipkershaw/Documents/workspa...
  XACML_ESGFTEST1_FILENAME = 'esgf1.xml'
  XACML_ESGFTEST1_FILEPATH = '/Users/philipkershaw/Documents/wor...

Inherited from unittest.case.TestCase: longMessage, maxDiff

Inherited from unittest.case.TestCase (private): _classSetupFailed, _diffThreshold

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

XACML_TEST1_FILEPATH

Value:
'/Users/philipkershaw/Documents/workspace/ndg_xacml/ndg/xacml/test/rul\
e1.xml'

XACML_TEST2_FILEPATH

Value:
'/Users/philipkershaw/Documents/workspace/ndg_xacml/ndg/xacml/test/rul\
e2.xml'

XACML_TEST3_FILEPATH

Value:
'/Users/philipkershaw/Documents/workspace/ndg_xacml/ndg/xacml/test/rul\
e3.xml'

XACML_TEST4_FILEPATH

Value:
'/Users/philipkershaw/Documents/workspace/ndg_xacml/ndg/xacml/test/rul\
e4.xml'

XACML_ESGFTEST1_FILEPATH

Value:
'/Users/philipkershaw/Documents/workspace/ndg_xacml/ndg/xacml/test/esg\
f1.xml'