5#ifndef FLUTTER_IMPELLER_COMPILER_COMPILER_TEST_H_
6#define FLUTTER_IMPELLER_COMPILER_COMPILER_TEST_H_
8#include "flutter/testing/testing.h"
18class CompilerTest :
public ::testing::TestWithParam<TargetPlatform> {
25 const char* fixture_name)
const;
28 const char* fixture_name,
32 const char* fixture_name,
35 const char* entry_point_name =
"main")
const;
38 std::string intermediates_path_;
bool CanCompileAndReflect(const char *fixture_name, SourceType source_type=SourceType::kUnknown, SourceLanguage source_language=SourceLanguage::kGLSL, const char *entry_point_name="main") const
std::unique_ptr< fml::FileMapping > GetReflectionJson(const char *fixture_name) const
std::unique_ptr< fml::FileMapping > GetShaderFile(const char *fixture_name, TargetPlatform platform) const