* Created a TransformsBaseTest module.
Moving some unit testing of Transforms module to a base class.
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Updated four transforms tests to use TransformsBaseTest.
- AllocationTransformTest
- BuiltinTranformTest
- CDLTransformTest
- ColorSpaceTransformTest
Updated to add a space at the end of TransformBaseTest per feedback.
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Updated four transforms tests to use TransformsBaseTest.
- DisplayViewTransformTest
- ExponentTransformTest
- ExponentWithLinearTransformTest
- ExposureContrastTransformTest
- FileTransformTest
- FixedFunctionTransformTest
- LogTransformTest
- LookTransformTest
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Address feedback https://github.com/AcademySoftwareFoundation/OpenColorIO/pull/1288#discussion_r565265034
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Updated a few transforms unit tests with TransformsBaseTest.
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Updated to prioritize setUp methods first in individual python unit tests.
Signed-off-by: Mei Chu <meimchu@gmail.com>
Co-authored-by: Patrick Hodoul <patrick.hodoul@autodesk.com>
* Named color transforms
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Allow NamedTransforms to be inactive using the same mechanism as color spaces.
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Wrong enum
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Fix issue introduced by merge from master (version checking for NamedTransform serialization in config)
Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
* Add defStr to transform classes, cleanup param names
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Update unit test params
Signed-off-by: Michael Dolan <michdolan@gmail.com>
* Update param name in DisplayViewTransform test
Signed-off-by: Michael Dolan <michdolan@gmail.com>