CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
Options.TestOptions Class Reference
Inheritance diagram for Options.TestOptions:

Public Member Functions

def testOptions
 

Detailed Description

Definition at line 20 of file Options.py.

Member Function Documentation

def Options.TestOptions.testOptions (   self)

Definition at line 21 of file Options.py.

References runtimedef.set().

21 
22  def testOptions(self):
23  a = Options()
24  a["A"] = 3
25  a["B"] = 3
26  a["A"]
27  self.assertEqual(a.readKeys, set(["A"]))
28  self.assertEqual(a.unreadKeys, set(["B"]))
29 
unittest.main()
void set(const std::string &name, int value)
set the flag, with a run-time name