forked from firka/flutter
Revert "Minimal test harness for iOS (#13029)" (flutter/engine#18631)
This reverts commit 7fb9737129.
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
# 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.
|
||||
|
||||
template("ios_app") {
|
||||
assert(is_ios)
|
||||
|
||||
copy("${target_name}__info_plist") {
|
||||
sources = [
|
||||
invoker.info_plist,
|
||||
]
|
||||
outputs = [
|
||||
"$root_out_dir/${target_name}.app/Info.plist",
|
||||
]
|
||||
}
|
||||
executable("$target_name") {
|
||||
forward_variables_from(invoker, "*")
|
||||
output_name = "${target_name}.app/$target_name"
|
||||
|
||||
deps += [ ":${target_name}__info_plist" ]
|
||||
}
|
||||
}
|
||||
@@ -851,8 +851,6 @@ FILE: ../../../flutter/shell/platform/darwin/common/framework/Source/FlutterStan
|
||||
FILE: ../../../flutter/shell/platform/darwin/common/framework/Source/FlutterStandardCodec_Internal.h
|
||||
FILE: ../../../flutter/shell/platform/darwin/common/framework/Source/flutter_codecs_unittest.mm
|
||||
FILE: ../../../flutter/shell/platform/darwin/common/framework/Source/flutter_standard_codec_unittest.mm
|
||||
FILE: ../../../flutter/shell/platform/darwin/ios/FlutterTestsInfo.plist
|
||||
FILE: ../../../flutter/shell/platform/darwin/ios/flutter_unittests.mm
|
||||
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Flutter.podspec
|
||||
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Headers/Flutter.h
|
||||
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Headers/FlutterAppDelegate.h
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
assert(is_ios)
|
||||
|
||||
import("//build/config/ios/ios_sdk.gni")
|
||||
import("//flutter/build/darwin/ios_app.gni")
|
||||
import("//flutter/common/config.gni")
|
||||
import("//flutter/shell/gpu/gpu.gni")
|
||||
import("//flutter/shell/platform/darwin/common/framework_shared.gni")
|
||||
@@ -331,29 +330,6 @@ shared_library("copy_and_verify_framework_headers") {
|
||||
]
|
||||
}
|
||||
|
||||
test_fixtures("flutter_tests_fixtures") {
|
||||
fixtures = []
|
||||
}
|
||||
|
||||
# Note: This currently isn't used, it might be removed.
|
||||
ios_app("FlutterTests") {
|
||||
testonly = true
|
||||
|
||||
info_plist = "FlutterTestsInfo.plist"
|
||||
|
||||
sources = [
|
||||
"flutter_unittests.mm",
|
||||
]
|
||||
|
||||
libs = [ "Foundation.framework" ]
|
||||
|
||||
deps = [
|
||||
":flutter_tests_fixtures",
|
||||
"//flutter/runtime:libdart",
|
||||
"//flutter/testing",
|
||||
]
|
||||
}
|
||||
|
||||
group("flutter_framework") {
|
||||
deps = [
|
||||
":copy_and_verify_framework_headers",
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>FlutterTests</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>io.flutter.FlutterTests</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>FlutterTests</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -1,19 +0,0 @@
|
||||
// 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.
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#include "flutter/testing/testing.h"
|
||||
|
||||
namespace flutter_tests {
|
||||
|
||||
TEST(SmokeTest, Success) {
|
||||
EXPECT_EQ(1, 1);
|
||||
}
|
||||
|
||||
TEST(SmokeTest, Fail) {
|
||||
EXPECT_EQ(1, 2);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user