( self )
| 148 | self.assertEqual( filteredExpected, c ) |
| 149 | |
| 150 | def testCopyClasses( self ) : |
| 151 | |
| 152 | p = IECore.CompoundParameter( |
| 153 | |
| 154 | name = "q", |
| 155 | description = "", |
| 156 | members = [ |
| 157 | |
| 158 | IECore.ClassVectorParameter( |
| 159 | |
| 160 | "cv", |
| 161 | "d", |
| 162 | "IECORE_OP_PATHS", |
| 163 | [ |
| 164 | ( "mult", os.path.join( "maths", "multiply" ), 2 ), |
| 165 | ( "coIO", "compoundObjectInOut", 2 ), |
| 166 | ] |
| 167 | |
| 168 | ), |
| 169 | |
| 170 | IECore.ClassParameter( |
| 171 | |
| 172 | "c", |
| 173 | "d", |
| 174 | "IECORE_OP_PATHS", |
| 175 | "classParameterTest", 1 |
| 176 | |
| 177 | ) |
| 178 | |
| 179 | ] |
| 180 | |
| 181 | ) |
| 182 | |
| 183 | p["c"]["cp"].setClass( "classVectorParameterTest", 1 ) |
| 184 | |
| 185 | p["c"]["cp"]["cv"].setClasses( [ |
| 186 | ( "mult", os.path.join( "maths", "multiply" ), 2 ), |
| 187 | ( "coIO", "compoundObjectInOut", 2 ) |
| 188 | ] ) |
| 189 | |
| 190 | p2 = IECore.CompoundParameter( |
| 191 | |
| 192 | name = "q", |
| 193 | description = "", |
| 194 | members = [ |
| 195 | |
| 196 | IECore.ClassVectorParameter( |
| 197 | |
| 198 | "cv", |
| 199 | "d", |
| 200 | "IECORE_OP_PATHS", |
| 201 | |
| 202 | ), |
| 203 | |
| 204 | IECore.ClassParameter( |
| 205 | |
| 206 | "c", |
| 207 | "d", |
nothing calls this directly
no test coverage detected