* 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>
* Updated Transforms python unit tests first by breaking them down. Starting with:
- AllocatioNTransformTest
- ColorSpaceTransformTest
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Updated AllocationTransform and ColorSpaceTransform tests based on feedback. Also updated ExponentTransformTest and LogTransformTest.
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Updated FileTransformTest. Also cleaned up some previous transform tests based on recent pybind changes.
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Updated PyFileTransform to match #1042.
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Updated ExponentWithLinearTransform python test.
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Updated ColorSpaceTransform constructor from dir to direction.
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Updated ExposureContrastTransformTest and addressed previous feedbacks.
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Added new ExposureContrastTransformTest to OCIOTestSuite.
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Updated ExposureContrastTransform's python binding.
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Added FixedFunctionTransform python test. Small typo fix for ExposureContrastTransform python test.
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Fixed ExposureContrastTransform python test.
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Updated GroupTransform python unit test.
Signed-off-by: Mei Chu <meimchu@gmail.com>
* Updated ExponentWithLinearTransform and ExposureContrastTransform python unit tests per feedback.
Signed-off-by: Mei Chu <meimchu@gmail.com>