def testClassVectorParameter( self ) :

		ph = GafferCortex.ParameterisedHolderNode()
		ph.setParameterised( "classVectorParameter", 1, "GAFFERCORTEXTEST_CLASS_PATHS" )
		p = ph.getParameterised()[0]

		seqLsClassSpec = self.classSpecification( "files/sequenceLs", "IECORE_OP_PATHS" )[:2]
		gradeClassSpec = self.classSpecification( "files/sequenceRenumber", "IECORE_OP_PATHS" )[:2]
		classes = [
			( "p0", ) + seqLsClassSpec,
			( "p1", ) + gradeClassSpec,
		]

		with ph.parameterModificationContext() :
			p["classes"].setClasses( classes )

		seqLsParameterNames = p["classes"]["p0"].keys()
		for n in seqLsParameterNames :
			self.failUnless( n in ph["parameters"]["classes"]["p0"] )

		gradeParameterNames = p["classes"]["p1"].keys()
		for n in gradeParameterNames :
			self.failUnless( n in ph["parameters"]["classes"]["p1"] )

		with ph.parameterModificationContext() :
			p["classes"].setClasses( [] )

		for k in ph["parameters"]["classes"].keys() :
			self.failUnless( k.startswith( "__" ) )
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferCortexTest/ParameterisedHolderTest.py/ParameterisedHolderTest.testClassVectorParameter/original