Introduce end2end tests.

This commit adds a test harness that handles instantiating tests on
multiple backends, and have deferred expectations on the content of
resources.
This commit is contained in:
Corentin Wallez
2017-06-16 18:34:35 -04:00
committed by Corentin Wallez
parent ef199c0310
commit eaae746433
6 changed files with 473 additions and 0 deletions

View File

@@ -31,6 +31,8 @@ namespace utils {
class BackendBinding {
public:
virtual ~BackendBinding() = default;
virtual void SetupGLFWWindowHints() = 0;
virtual void GetProcAndDevice(nxtProcTable* procs, nxtDevice* device) = 0;
virtual void SwapBuffers() = 0;