File tree Expand file tree Collapse file tree
lib/core/commands/command_implementation
test/unit/serialization/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,4 +20,5 @@ analyzer:
2020
2121 exclude :
2222 - lib/src/**.pb*.dart
23- - lib/**.g.dart
23+ - lib/**.g.dart
24+ - test/**.mocks.dart
Original file line number Diff line number Diff line change 1- import 'dart:ui' ;
21import 'package:equatable/equatable.dart' ;
32import 'package:paintroid/core/commands/command_implementation/graphic/clipboard_command.dart' ;
43import 'package:paintroid/core/commands/command_implementation/graphic/delete_region_command.dart' ;
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ class DummyVersionStrategy implements IVersionStrategy {
1313 final int clipboardCommandVersion;
1414 final int deleteRegionCommandVersion;
1515 final int textCommandVersion;
16+ final int dashedPathCommandVersion;
1617 final int clipPathCommandVersion;
1718 final int clipAreaCommandVersion;
1819
@@ -32,6 +33,8 @@ class DummyVersionStrategy implements IVersionStrategy {
3233 this .deleteRegionCommandVersion =
3334 SerializerVersion .DELETE_REGION_COMMAND_VERSION ,
3435 this .textCommandVersion = SerializerVersion .TEXT_COMMAND_VERSION ,
36+ this .dashedPathCommandVersion =
37+ SerializerVersion .DASHED_PATH_COMMAND_VERSION ,
3538 this .clipPathCommandVersion = SerializerVersion .CLIP_PATH_COMMAND_VERSION ,
3639 this .clipAreaCommandVersion = SerializerVersion .CLIP_AREA_COMMAND_VERSION ,
3740 });
@@ -69,6 +72,9 @@ class DummyVersionStrategy implements IVersionStrategy {
6972 @override
7073 int getTextCommandVersion () => textCommandVersion;
7174
75+ @override
76+ int getDashedPathCommandVersion () => dashedPathCommandVersion;
77+
7278 @override
7379 int getClipPathCommandVersion () => clipPathCommandVersion;
7480
You can’t perform that action at this time.
0 commit comments