angel_orm_test
This commit is contained in:
parent
ea3535a719
commit
db808be825
8 changed files with 31 additions and 0 deletions
|
@ -11,4 +11,6 @@ dependencies:
|
||||||
pool: ^1.0.0
|
pool: ^1.0.0
|
||||||
postgres: ^1.0.0
|
postgres: ^1.0.0
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
|
angel_orm_test:
|
||||||
|
path: ../angel_orm_test
|
||||||
test: ^1.0.0
|
test: ^1.0.0
|
6
angel_orm_postgres/test/all_test.dart
Executable file
6
angel_orm_postgres/test/all_test.dart
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
import 'package:angel_orm_postgres/angel_orm_postgres.dart';
|
||||||
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
|
||||||
|
}
|
0
angel_orm_test/README.md
Executable file
0
angel_orm_test/README.md
Executable file
2
angel_orm_test/lib/angel_orm_test.dart
Executable file
2
angel_orm_test/lib/angel_orm_test.dart
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
export 'src/cases/cases.dart';
|
||||||
|
export 'src/models/models.dart';
|
9
angel_orm_test/lib/src/cases/cases.dart
Executable file
9
angel_orm_test/lib/src/cases/cases.dart
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
import 'package:angel_orm/angel_orm.dart';
|
||||||
|
import 'package:test/test.dart';
|
||||||
|
import 'standalone.dart';
|
||||||
|
|
||||||
|
void Function() ormTests(QueryExecutor executor) {
|
||||||
|
return () {
|
||||||
|
group('standalone', standaloneTests(executor));
|
||||||
|
};
|
||||||
|
}
|
7
angel_orm_test/lib/src/cases/standalone.dart
Executable file
7
angel_orm_test/lib/src/cases/standalone.dart
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
import 'package:angel_orm/angel_orm.dart';
|
||||||
|
import 'package:angel_orm_test/angel_orm_test.dart';
|
||||||
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
void Function() standaloneTests(QueryExecutor executor) {
|
||||||
|
return () {};
|
||||||
|
}
|
1
angel_orm_test/lib/src/models/models.dart
Executable file
1
angel_orm_test/lib/src/models/models.dart
Executable file
|
@ -0,0 +1 @@
|
||||||
|
export 'todo.dart';
|
|
@ -1,8 +1,12 @@
|
||||||
name: angel_orm_test
|
name: angel_orm_test
|
||||||
publish_to: none
|
publish_to: none
|
||||||
|
description: Common tests for Angel ORM backends.s
|
||||||
|
environment:
|
||||||
|
sdk: ">=2.0.0 <3.0.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
angel_migration: ^2.0.0-alpha
|
angel_migration: ^2.0.0-alpha
|
||||||
angel_model: ^1.0.0
|
angel_model: ^1.0.0
|
||||||
|
angel_orm: ^2.0.0-dev
|
||||||
test: ^1.0.0
|
test: ^1.0.0
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
angel_orm_generator:
|
angel_orm_generator:
|
||||||
|
|
Loading…
Reference in a new issue