Assertion interface refactor - #140
Merged
Merged
Conversation
… directory, and namespace
Derived class is the one that depends on the assertion framework
… be an object. It just needs to be move only
… instead templating the mock interface. Neat
… people can signal errors at this stage.
…s... and also binding to references of the base type... Which is a bit rubbish but I can't think of a good way around it until I have reflection...
…opy and pasted mapping types in place of a mapping template
…at is expected to happen in this part of the interface. ReadbackResults implied that the buffers should be readback to the CPU at that point but that is not the case.
…an actually do readbacks. Add Engine parameter to ProcesReadbacks function so that interfaces can actually process the readbacks.
…o that they can support byte readers if they wish. This means that the concept of byte readers is removed from both the driver and the fixture, but can still be implemented by implementations of the interface
…lso template the test driver run function and the results struct.
…sentially the assertionsv1 test fixture.
… work. This could be useful in defining how people choose what assertion interface to use in their tests
…This then injects what framework to use in tests.
…e assertion library include to shaders compiled with that interface.
Test Results 134 files + 2 134 suites +2 30s ⏱️ -2s Results for commit 8882701. ± Comparison against base commit 361cc6b. This pull request removes 30 and adds 15 tests. Note that renamed tests count towards both. |
Test Results 134 files + 2 134 suites +2 31s ⏱️ -1s Results for commit e219eb7. ± Comparison against base commit 361cc6b. This pull request removes 30 and adds 15 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
…o make it look like an actual browser rather than a bot
… the rate limiting a little less
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Huge refactor to support multiple assertion libraries.
There are docs on how to take advantage of this new facility to provide your own HLSL assertion library