Skip to content

Commit

Permalink
returning to flutter_test
Browse files Browse the repository at this point in the history
  • Loading branch information
craiglabenz committed May 14, 2024
1 parent 62930d8 commit 04495b9
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 8 deletions.
5 changes: 4 additions & 1 deletion packages/mediapipe-task-text/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ environment:
dependencies:
async: ^2.11.0
ffi: ^2.1.0
flutter:
sdk: flutter
http: ^1.1.0
logging: ^1.2.0
mediapipe_core: ^0.0.1
Expand All @@ -31,4 +33,5 @@ dependencies:
dev_dependencies:
ffigen: ^9.0.1
lints: ^2.0.0
test: ^1.21.0
flutter_test:
sdk: flutter
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'dart:io' as io;
import 'package:path/path.dart' as path;
import 'package:mediapipe_core/io.dart';
import 'package:mediapipe_text/io.dart';
import 'package:test/test.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
final pathToModel = path.joinAll([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import 'package:mediapipe_core/io.dart';
import 'package:mediapipe_text/io.dart';
import 'package:mediapipe_text/src/io/third_party/mediapipe/generated/mediapipe_text_bindings.dart'
as bindings;
import 'package:test/test.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
group('LanguageDetectorResult.native should', () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'dart:io' as io;
import 'package:path/path.dart' as path;
import 'package:mediapipe_core/io.dart';
import 'package:mediapipe_text/io.dart';
import 'package:test/test.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
final pathToModel = path.joinAll([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'package:mediapipe_core/src/io/third_party/mediapipe/generated/mediapipe_
as core_bindings;
import 'package:mediapipe_text/src/io/third_party/mediapipe/generated/mediapipe_text_bindings.dart'
as bindings;
import 'package:test/test.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
group('TextClassifierResult.native should', () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'dart:io' as io;
import 'package:path/path.dart' as path;
import 'package:mediapipe_core/io.dart';
import 'package:mediapipe_text/io.dart';
import 'package:test/test.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
final pathToModel = path.joinAll([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'package:mediapipe_core/src/io/third_party/mediapipe/generated/mediapipe_
as core_bindings;
import 'package:mediapipe_text/src/io/third_party/mediapipe/generated/mediapipe_text_bindings.dart'
as bindings;
import 'package:test/test.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
group('TextEmbedderResult.native should', () {
Expand Down
3 changes: 2 additions & 1 deletion tool/ci_script_shared.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ function ci_package () {
# Run the actual tests if they exist.
if [ -d "test" ]
then
dart --enable-experiment=native-assets test
# dart --enable-experiment=native-assets test
flutter test
fi

if [ -f "/Users/runner/work/flutter-mediapipe/flutter-mediapipe/packages/mediapipe-task-text/build/live-run-build-log.txt" ]
Expand Down

0 comments on commit 04495b9

Please sign in to comment.