Skip to content

Commit

Permalink
Adapt dao processor test
Browse files Browse the repository at this point in the history
  • Loading branch information
mqus committed Mar 14, 2020
1 parent 97b6b1c commit b87c0f1
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions floor_generator/test/processor/dao_processor_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ void main() {
}
''');

final actual =
DaoProcessor(classElement, '', '', entities).process().methodsLength;
final actual = DaoProcessor(classElement, '', '', entities, [])
.process()
.methodsLength;

expect(actual, equals(2));
});
Expand All @@ -54,8 +55,9 @@ void main() {
}
''');

final actual =
DaoProcessor(classElement, '', '', entities).process().methodsLength;
final actual = DaoProcessor(classElement, '', '', entities, [])
.process()
.methodsLength;

expect(actual, equals(3));
});
Expand All @@ -74,8 +76,9 @@ void main() {
}
''');

final actual =
DaoProcessor(classElement, '', '', entities).process().methodsLength;
final actual = DaoProcessor(classElement, '', '', entities, [])
.process()
.methodsLength;

expect(actual, equals(2));
});
Expand All @@ -94,8 +97,9 @@ void main() {
}
''');

final actual =
DaoProcessor(classElement, '', '', entities).process().methodsLength;
final actual = DaoProcessor(classElement, '', '', entities, [])
.process()
.methodsLength;

expect(actual, equals(2));
});
Expand All @@ -114,8 +118,9 @@ void main() {
}
''');

final actual =
DaoProcessor(classElement, '', '', entities).process().methodsLength;
final actual = DaoProcessor(classElement, '', '', entities, [])
.process()
.methodsLength;

expect(actual, equals(2));
});
Expand Down

0 comments on commit b87c0f1

Please sign in to comment.