Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros
mock_signal_handler.h File Reference
#include <glib-object.h>
#include <glib.h>
#include "gmock/gmock.h"

Go to the source code of this file.

Classes

class  flutter::testing::SignalHandler
 
class  flutter::testing::MockSignalHandler
 
class  flutter::testing::MockSignalHandler1< A1 >
 
class  flutter::testing::MockSignalHandler2< A1, A2 >
 

Namespaces

namespace  flutter
 
namespace  flutter::testing
 

Macros

#define EXPECT_SIGNAL(mock)   EXPECT_CALL(mock, Handler())
 
#define EXPECT_SIGNAL1(mock, a1)   EXPECT_CALL(mock, Handler1(a1))
 
#define EXPECT_SIGNAL2(mock, a1, a2)   EXPECT_CALL(mock, Handler2(a1, a2))
 

Macro Definition Documentation

◆ EXPECT_SIGNAL

#define EXPECT_SIGNAL (   mock)    EXPECT_CALL(mock, Handler())

Definition at line 18 of file mock_signal_handler.h.

◆ EXPECT_SIGNAL1

#define EXPECT_SIGNAL1 (   mock,
  a1 
)    EXPECT_CALL(mock, Handler1(a1))

Definition at line 25 of file mock_signal_handler.h.

◆ EXPECT_SIGNAL2

#define EXPECT_SIGNAL2 (   mock,
  a1,
  a2 
)    EXPECT_CALL(mock, Handler2(a1, a2))

Definition at line 32 of file mock_signal_handler.h.