| Flutter Linux Embedder |

Functions
fl_application_test.cc File Reference
`#include "gtest/gtest.h"`
`#include "flutter/shell/platform/linux/public/flutter_linux/fl_application.h"`

Go to the source code of this file.

## Functions
| TEST (FlApplicationTest, ConstructorArgs)

## Function Documentation

## ◆ TEST()

TEST | ( | FlApplicationTest | ,
|  | ConstructorArgs |
| ) |  |

Definition at line 9 of file fl_application_test.cc.

9 {
10 g_autoptr(FlApplication) app = fl_application_new(
11 "com.example.TestApplication", G_APPLICATION_FLAGS_NONE);
12
13 EXPECT_STREQ(g_application_get_application_id(G_APPLICATION(app)),
14 "com.example.TestApplication");
15 EXPECT_EQ(g_application_get_flags(G_APPLICATION(app)),
16 G_APPLICATION_FLAGS_NONE);
17 }

References fl_application_new().

fl_application_new
G_MODULE_EXPORT FlApplication * fl_application_new(const gchar *application_id, GApplicationFlags flags)
Definition: fl_application.cc:167