Flutter Engine
The Flutter Engine
Namespaces | Functions | Variables
shader_bundle_unittests.cc File Reference
#include "gtest/gtest.h"
#include "impeller/compiler/shader_bundle.h"
#include "flutter/testing/testing.h"
#include "impeller/compiler/source_options.h"
#include "impeller/compiler/types.h"
#include "impeller/shader_bundle/shader_bundle_flatbuffers.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 
namespace  impeller::compiler
 
namespace  impeller::compiler::testing
 

Functions

 impeller::compiler::testing::TEST (ShaderBundleTest, ParseShaderBundleConfigFailsForInvalidJSON)
 
 impeller::compiler::testing::TEST (ShaderBundleTest, ParseShaderBundleConfigFailsWhenEntryNotObject)
 
 impeller::compiler::testing::TEST (ShaderBundleTest, ParseShaderBundleConfigFailsWhenMissingFile)
 
 impeller::compiler::testing::TEST (ShaderBundleTest, ParseShaderBundleConfigFailsWhenMissingType)
 
 impeller::compiler::testing::TEST (ShaderBundleTest, ParseShaderBundleConfigFailsForInvalidType)
 
 impeller::compiler::testing::TEST (ShaderBundleTest, ParseShaderBundleConfigFailsForInvalidLanguage)
 
 impeller::compiler::testing::TEST (ShaderBundleTest, ParseShaderBundleConfigReturnsExpectedConfig)
 
template<typename T >
const Timpeller::compiler::testing::FindByName (const std::vector< std::unique_ptr< T > > &collection, const std::string &name)
 
 impeller::compiler::testing::TEST (ShaderBundleTest, GenerateShaderBundleFlatbufferProducesCorrectResult)
 

Variables

const std::string impeller::compiler::testing::kUnlitFragmentBundleConfig
 
const std::string impeller::compiler::testing::kUnlitVertexBundleConfig