webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Macros | Functions
angle_test_instantiate.h File Reference
#include <gtest/gtest.h>
#include "common/debug.h"

Go to the source code of this file.

Namespaces

 angle
 

Macros

#define ANGLE_INSTANTIATE_TEST(testName, firstParam, ...)
 

Functions

bool angle::IsPlatformAvailable (const PlatformParameters &param)
 
template<typename T >
std::vector< Tangle::FilterTestParams (const T *params, size_t numParams)
 

Macro Definition Documentation

◆ ANGLE_INSTANTIATE_TEST

#define ANGLE_INSTANTIATE_TEST (   testName,
  firstParam,
  ... 
)
Value:
const decltype(firstParam) testName##params[] = { firstParam, ##__VA_ARGS__ }; \
INSTANTIATE_TEST_CASE_P(, testName, \
testing::ValuesIn(::angle::FilterTestParams(testName##params, ArraySize(testName##params))), \
testing::PrintToStringParamName());
constexpr size_t ArraySize(T(&)[N])
Definition: angleutils.h:40
std::vector< T > FilterTestParams(const T *params, size_t numParams)
Definition: angle_test_instantiate.h:27
GLenum GLint * params
Definition: gl2.h:440
testName
Definition: plotTimingTest.m:13