Compute Library
 22.05
TestInfo Struct Reference

Information about a test case. More...

#include <Framework.h>

Data Fields

int id
 Test ID. More...
 
std::string name
 Test name. More...
 
DatasetMode mode
 Test data set mode. More...
 
TestCaseFactory::Status status
 Test status. More...
 

Detailed Description

Information about a test case.

A test can be identified either via its id or via its name. Additionally each test is tagged with the data set mode in which it will be used and its status.

Note
The mapping between test id and test name is not guaranteed to be stable. It is subject to change as new test are added.

Definition at line 78 of file Framework.h.

Field Documentation

◆ id

◆ mode

Test data set mode.

Definition at line 82 of file Framework.h.

Referenced by TestFilter::is_selected().

◆ name

std::string name

◆ status

Test status.

Definition at line 83 of file Framework.h.

Referenced by Framework::error_on_missing_assets(), and Framework::log_failed_expectation().


The documentation for this struct was generated from the following file: