Flutter Engine
The Flutter Engine
Namespaces | Macros | Functions
proc_table_gles_unittests.cc File Reference
#include <optional>
#include "flutter/testing/testing.h"
#include "gtest/gtest.h"
#include "impeller/renderer/backend/gles/proc_table_gles.h"
#include "impeller/renderer/backend/gles/test/mock_gles.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 
namespace  impeller::testing
 

Macros

#define EXPECT_AVAILABLE(proc_ivar)    EXPECT_TRUE(mock_gles->GetProcTable().proc_ivar.IsAvailable());
 
#define EXPECT_UNAVAILABLE(proc_ivar)    EXPECT_FALSE(mock_gles->GetProcTable().proc_ivar.IsAvailable());
 

Functions

 impeller::testing::TEST (ProcTableGLES, ResolvesCorrectClearDepthProcOnES)
 
 impeller::testing::TEST (ProcTableGLES, ResolvesCorrectClearDepthProcOnDesktopGL)
 

Macro Definition Documentation

◆ EXPECT_AVAILABLE

#define EXPECT_AVAILABLE (   proc_ivar)     EXPECT_TRUE(mock_gles->GetProcTable().proc_ivar.IsAvailable());

Definition at line 15 of file proc_table_gles_unittests.cc.

◆ EXPECT_UNAVAILABLE

#define EXPECT_UNAVAILABLE (   proc_ivar)     EXPECT_FALSE(mock_gles->GetProcTable().proc_ivar.IsAvailable());

Definition at line 17 of file proc_table_gles_unittests.cc.