Download flutter/dev/integration_tests/ui/test_driver/defines_test.dart from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 590 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/dev/integration_tests/ui/test_driver/defines_test.dart
- Command line
-
hf download hf://luom2645/agent-workspace/flutter/dev/integration_tests/ui/test_driver/defines_test.dart
-
curl -L -o defines_test.dart https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/dev/integration_tests/ui/test_driver/defines_test.dart
590 Bytes
| // 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. | |
| import 'package:flutter_driver/flutter_driver.dart'; | |
| import 'package:test/test.dart' hide TypeMatcher, isInstanceOf; | |
| void main() { | |
| FlutterDriver? driver; | |
| setUpAll(() async { | |
| driver = await FlutterDriver.connect(); | |
| }); | |
| tearDownAll(() async { | |
| await driver?.close(); | |
| }); | |
| test('Can run with --dart-define', () async { | |
| await driver?.waitFor(find.text('Example,AValue')); | |
| }, timeout: Timeout.none); | |
| } | |