mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

Currently we only have a test that measures if flutter drive can fail. Unfortunately it has been failing for multiple years based on the fact that the error is due to a missing Gradle config. Add a smoke success test case, and update both tests to use the test API and the tester-device.
16 lines
400 B
Dart
16 lines
400 B
Dart
// Copyright 2014 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.
|
|
|
|
// @dart = 2.8
|
|
|
|
import '../test/common.dart';
|
|
|
|
void main() {
|
|
// Intentionally fail the test. We want to see driver return a non-zero exit
|
|
// code when this happens.
|
|
test('it fails a test', () {
|
|
expect(true, isFalse);
|
|
});
|
|
}
|