Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions flow/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ if (is_fuchsia) {
import("//build/fuchsia/sdk.gni")
}

import("$flutter_root/testing/testing.gni")

source_set("flow") {
sources = [
"compositor_context.cc",
Expand Down Expand Up @@ -100,6 +102,10 @@ source_set("flow") {
}
}

test_fixtures("flow_fixtures") {
fixtures = []
}

executable("flow_unittests") {
testonly = true

Expand All @@ -114,6 +120,7 @@ executable("flow_unittests") {

deps = [
":flow",
":flow_fixtures",
"$flutter_root/fml",
"//third_party/dart/runtime:libdart_jit", # for tracing
"//third_party/googletest:gtest",
Expand Down
6 changes: 6 additions & 0 deletions fml/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# found in the LICENSE file.

import("//build/fuchsia/sdk.gni")
import("$flutter_root/testing/testing.gni")

source_set("fml") {
sources = [
Expand Down Expand Up @@ -182,6 +183,10 @@ source_set("fml") {
}
}

test_fixtures("fml_fixtures") {
fixtures = []
}

executable("fml_unittests") {
testonly = true

Expand All @@ -208,6 +213,7 @@ executable("fml_unittests") {
]

deps = [
":fml_fixtures",
"$flutter_root/fml",
"$flutter_root/testing",
"//third_party/dart/runtime:libdart_jit",
Expand Down
2 changes: 1 addition & 1 deletion runtime/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ source_set("runtime") {
}

test_fixtures("runtime_fixtures") {
fixtures = [ "fixtures/runtime_test.dart" ]
dart_main = "fixtures/runtime_test.dart"
}

source_set("runtime_unittests_common") {
Expand Down
2 changes: 1 addition & 1 deletion shell/common/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ shell_gpu_configuration("shell_unittests_gpu_configuration") {
}

test_fixtures("shell_unittests_fixtures") {
fixtures = [ "fixtures/shell_test.dart" ]
dart_main = "fixtures/shell_test.dart"
}

shell_host_executable("shell_unittests") {
Expand Down
6 changes: 6 additions & 0 deletions shell/platform/common/cpp/client_wrapper/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("$flutter_root/testing/testing.gni")
import("publish.gni")

_wrapper_includes = [
Expand Down Expand Up @@ -75,6 +76,10 @@ source_set("client_wrapper_library_stubs") {
]
}

test_fixtures("client_wrapper_fixtures") {
fixtures = []
}

executable("client_wrapper_unittests") {
testonly = true

Expand All @@ -91,6 +96,7 @@ executable("client_wrapper_unittests") {

deps = [
":client_wrapper",
":client_wrapper_fixtures",
":client_wrapper_library_stubs",
"$flutter_root/testing",

Expand Down
6 changes: 6 additions & 0 deletions shell/platform/darwin/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

assert(is_mac || is_ios)

import("$flutter_root/testing/testing.gni")
import("framework_shared.gni")

group("darwin") {
Expand Down Expand Up @@ -61,6 +62,10 @@ source_set("framework_shared") {
public_configs = [ "$flutter_root:config" ]
}

test_fixtures("flutter_channels_fixtures") {
fixtures = []
}

executable("flutter_channels_unittests") {
testonly = true

Expand All @@ -71,6 +76,7 @@ executable("flutter_channels_unittests") {

deps = [
":flutter_channels",
":flutter_channels_fixtures",
"$flutter_root/testing",
"//third_party/dart/runtime:libdart_jit",
]
Expand Down
2 changes: 1 addition & 1 deletion shell/platform/embedder/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ source_set("embedder") {
}

test_fixtures("fixtures") {
fixtures = [ "fixtures/main.dart" ]
dart_main = "fixtures/main.dart"
}

executable("embedder_unittests") {
Expand Down
6 changes: 6 additions & 0 deletions shell/platform/glfw/client_wrapper/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# found in the LICENSE file.

import("$flutter_root/shell/platform/common/cpp/client_wrapper/publish.gni")
import("$flutter_root/testing/testing.gni")

_wrapper_includes = [
"include/flutter/flutter_window.h",
Expand Down Expand Up @@ -63,6 +64,10 @@ source_set("client_wrapper_library_stubs_glfw") {
]
}

test_fixtures("client_wrapper_glfw_fixtures") {
fixtures = []
}

executable("client_wrapper_glfw_unittests") {
testonly = true

Expand All @@ -73,6 +78,7 @@ executable("client_wrapper_glfw_unittests") {

deps = [
":client_wrapper_glfw",
":client_wrapper_glfw_fixtures",
":client_wrapper_library_stubs_glfw",
"$flutter_root/shell/platform/common/cpp/client_wrapper:client_wrapper_library_stubs",
"$flutter_root/testing",
Expand Down
27 changes: 0 additions & 27 deletions testing/build/gen_fixtures_location_symbol.py

This file was deleted.

Loading