From 3f1c1b75f06fc92e2fa9531b4fe3192aaaead554 Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Thu, 14 Feb 2019 18:42:28 +0100 Subject: [PATCH] Move test utilities into own folder --- sally/test/delete_test.dart | 4 ++-- sally/test/{ => lib}/tables/todos.dart | 0 sally/test/{ => lib}/tables/todos.g.dart | 0 sally/test/{ => lib}/utils/mocks.dart | 0 sally/test/{schema_tests.dart => schema_test.dart} | 4 ++-- sally/test/select_test.dart | 4 ++-- sally/test/streams_test.dart | 4 ++-- sally/test/update_test.dart | 4 ++-- 8 files changed, 10 insertions(+), 10 deletions(-) rename sally/test/{ => lib}/tables/todos.dart (100%) rename sally/test/{ => lib}/tables/todos.g.dart (100%) rename sally/test/{ => lib}/utils/mocks.dart (100%) rename sally/test/{schema_tests.dart => schema_test.dart} (96%) diff --git a/sally/test/delete_test.dart b/sally/test/delete_test.dart index b3f10765..6b44da47 100644 --- a/sally/test/delete_test.dart +++ b/sally/test/delete_test.dart @@ -1,8 +1,8 @@ import 'package:sally/sally.dart'; import 'package:test_api/test_api.dart'; -import 'tables/todos.dart'; -import 'utils/mocks.dart'; +import 'lib/tables/todos.dart'; +import 'lib/utils/mocks.dart'; void main() { TodoDb db; diff --git a/sally/test/tables/todos.dart b/sally/test/lib/tables/todos.dart similarity index 100% rename from sally/test/tables/todos.dart rename to sally/test/lib/tables/todos.dart diff --git a/sally/test/tables/todos.g.dart b/sally/test/lib/tables/todos.g.dart similarity index 100% rename from sally/test/tables/todos.g.dart rename to sally/test/lib/tables/todos.g.dart diff --git a/sally/test/utils/mocks.dart b/sally/test/lib/utils/mocks.dart similarity index 100% rename from sally/test/utils/mocks.dart rename to sally/test/lib/utils/mocks.dart diff --git a/sally/test/schema_tests.dart b/sally/test/schema_test.dart similarity index 96% rename from sally/test/schema_tests.dart rename to sally/test/schema_test.dart index 9133abac..7eb4a798 100644 --- a/sally/test/schema_tests.dart +++ b/sally/test/schema_test.dart @@ -1,8 +1,8 @@ import 'package:sally/sally.dart'; import 'package:test_api/test_api.dart'; -import 'tables/todos.dart'; -import 'utils/mocks.dart'; +import 'lib/tables/todos.dart'; +import 'lib/utils/mocks.dart'; void main() { TodoDb db; diff --git a/sally/test/select_test.dart b/sally/test/select_test.dart index 47d320f8..d951e3d7 100644 --- a/sally/test/select_test.dart +++ b/sally/test/select_test.dart @@ -1,8 +1,8 @@ import 'package:sally/sally.dart'; import 'package:test_api/test_api.dart'; -import 'tables/todos.dart'; -import 'utils/mocks.dart'; +import 'lib/tables/todos.dart'; +import 'lib/utils/mocks.dart'; void main() { TodoDb db; diff --git a/sally/test/streams_test.dart b/sally/test/streams_test.dart index 6089692f..2ab33843 100644 --- a/sally/test/streams_test.dart +++ b/sally/test/streams_test.dart @@ -1,7 +1,7 @@ import 'package:test_api/test_api.dart'; -import 'tables/todos.dart'; -import 'utils/mocks.dart'; +import 'lib/tables/todos.dart'; +import 'lib/utils/mocks.dart'; void main() { TodoDb db; diff --git a/sally/test/update_test.dart b/sally/test/update_test.dart index b82130f5..e11c9578 100644 --- a/sally/test/update_test.dart +++ b/sally/test/update_test.dart @@ -1,8 +1,8 @@ import 'package:sally/sally.dart'; import 'package:test_api/test_api.dart'; -import 'tables/todos.dart'; -import 'utils/mocks.dart'; +import 'lib/tables/todos.dart'; +import 'lib/utils/mocks.dart'; void main() { TodoDb db;