File size: 544 Bytes
ad74a76 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | // 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_test/flutter_test.dart';
import 'package:texture/main.dart' as texture;
void main() {
testWidgets('Texture smoke test', (WidgetTester tester) async {
texture
.main(); // builds the app and schedules a frame but doesn't trigger one
await tester.pump(); // triggers a frame
expect(find.text('Flutter Blue'), findsOneWidget);
});
}
|