blob: 73b5dc1173f35fd758cdd7aecdca33072a27c596 [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gtest/gtest.h"
#include "flutter/shell/platform/linux/public/flutter_linux/fl_application.h"
TEST(FlApplicationTest, ConstructorArgs) {
g_autoptr(FlApplication) app = fl_application_new(
"com.example.TestApplication", G_APPLICATION_FLAGS_NONE);
EXPECT_STREQ(g_application_get_application_id(G_APPLICATION(app)),
"com.example.TestApplication");
EXPECT_EQ(g_application_get_flags(G_APPLICATION(app)),
G_APPLICATION_FLAGS_NONE);
}