Skip to content

Conversation

hodoulp
Copy link
Contributor

@hodoulp hodoulp commented Jul 8, 2025

The pull request creates a library from RenderingFramework RenderingUtils with a restricted public API to let other projects have access to this Unit Test Framework.

@hodoulp hodoulp force-pushed the hodoulp/create_lib_1 branch from c4f6e63 to e5727d1 Compare July 8, 2025 19:36

/// An instance of this class will set the baseline folder to the given path and restore the
/// previous one when it goes out of scope.
class ScopedBaselineContextFolder
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this be moved internally?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in HVTEx

@@ -1,15 +1,19 @@
// Copyright 2025 Autodesk, Inc.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall comment - really like this approach. Thanks for tackling it.

Semi-minor: Can we rename this impl folder to TestFramework (testFramework?); and should the namespace be testFramework instead of TestFramework?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed testHelpers.* to testFramework.* but not convinced about the directory

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 Why wouldn't the source directory be named consistent with the include directory? ie. test/testFramework/...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't remember why but there are two libraries part of the Unit Test Framework and I do not want this internal implementation be visible in the public API. If this proposal is finally the right one, I will perhaps merge these two libraries.

@@ -0,0 +1,36 @@
// Copyright 2025 Autodesk, Inc.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do headers have different copyright comments from implementations files? I can't remember for hvt.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope

@hodoulp hodoulp force-pushed the hodoulp/create_lib_1 branch from 1ff8296 to 20086d3 Compare July 17, 2025 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants