From b87c0f12fc60412e060e32d25398247c127b3074 Mon Sep 17 00:00:00 2001 From: Markus Richter <8398165+mqus@users.noreply.github.com> Date: Sat, 14 Mar 2020 15:18:13 +0100 Subject: [PATCH] Adapt dao processor test --- .../test/processor/dao_processor_test.dart | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/floor_generator/test/processor/dao_processor_test.dart b/floor_generator/test/processor/dao_processor_test.dart index e6a1f7bc..59fa99d6 100644 --- a/floor_generator/test/processor/dao_processor_test.dart +++ b/floor_generator/test/processor/dao_processor_test.dart @@ -28,8 +28,9 @@ void main() { } '''); - final actual = - DaoProcessor(classElement, '', '', entities).process().methodsLength; + final actual = DaoProcessor(classElement, '', '', entities, []) + .process() + .methodsLength; expect(actual, equals(2)); }); @@ -54,8 +55,9 @@ void main() { } '''); - final actual = - DaoProcessor(classElement, '', '', entities).process().methodsLength; + final actual = DaoProcessor(classElement, '', '', entities, []) + .process() + .methodsLength; expect(actual, equals(3)); }); @@ -74,8 +76,9 @@ void main() { } '''); - final actual = - DaoProcessor(classElement, '', '', entities).process().methodsLength; + final actual = DaoProcessor(classElement, '', '', entities, []) + .process() + .methodsLength; expect(actual, equals(2)); }); @@ -94,8 +97,9 @@ void main() { } '''); - final actual = - DaoProcessor(classElement, '', '', entities).process().methodsLength; + final actual = DaoProcessor(classElement, '', '', entities, []) + .process() + .methodsLength; expect(actual, equals(2)); }); @@ -114,8 +118,9 @@ void main() { } '''); - final actual = - DaoProcessor(classElement, '', '', entities).process().methodsLength; + final actual = DaoProcessor(classElement, '', '', entities, []) + .process() + .methodsLength; expect(actual, equals(2)); });