Skip to content

Commit 10e16a4

Browse files
committed
created integration tests folder
1 parent 5142ca4 commit 10e16a4

File tree

6 files changed

+58
-0
lines changed

6 files changed

+58
-0
lines changed

integration_tests/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 0.0.0
2+
3+
- Initial version

integration_tests/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# integration_tests
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Defines a default set of lint rules enforced for
2+
# projects at Google. For details and rationale,
3+
# see https://github.com/dart-lang/pedantic#enabled-lints.
4+
include: package:pedantic/analysis_options.yaml
5+
6+
# For lint rules and documentation, see http://dart-lang.github.io/linter/lints.
7+
# Uncomment to specify additional rules.
8+
# linter:
9+
# rules:
10+
# - camel_case_types
11+
12+
analyzer:
13+
# exclude:
14+
# - path/to/excluded/files/**

integration_tests/pubspec.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: integration_tests
2+
description:
3+
version: 0.0.0
4+
5+
environment:
6+
sdk: '>=2.7.0 <3.0.0'
7+
8+
dependencies:
9+
dartstruct:
10+
path: ../core
11+
12+
dev_dependencies:
13+
build_runner:
14+
dartstruct_generator:
15+
path: ../generator
16+
pedantic: ^1.8.0
17+
test: ^1.6.0
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
import 'package:dartstruct/dartstruct.dart';
3+
4+
part 'empty_mapper.g.dart';
5+
6+
@Mapper()
7+
abstract class EmptyMapper {
8+
static EmptyMapper get INSTANCE => EmptyMapperImpl();
9+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
import 'package:test/test.dart';
3+
4+
import 'empty_mapper.dart';
5+
6+
void main() {
7+
group('EmptyMapper', () {
8+
9+
test('Should not be null', () {
10+
expect(EmptyMapper.INSTANCE, isNotNull);
11+
});
12+
13+
});
14+
}

0 commit comments

Comments
 (0)