-
Notifications
You must be signed in to change notification settings - Fork 12
Stand storage coverage improvement #196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@armiol PTAL |
Current coverage is 81.71% (diff: 100%)
@@ stand-in-memory #196 diff @@
=================================================
Files 145 145
Lines 5382 5956 +574
Methods 0 0
Messages 0 0
Branches 592 724 +132
=================================================
+ Hits 4297 4867 +570
+ Misses 975 974 -1
- Partials 110 115 +5
|
|
|
||
| protected abstract StandStorage createStorage(); | ||
|
|
||
| protected static final Supplier<AggregateStateId<ProjectId>> DEFAULT_ID_SUPPLIER = new Supplier<AggregateStateId<ProjectId>>() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check if this line fits 120 symbols.
armiol
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dmdashenkov LGTM except for minor comments.
| @Override | ||
| public AggregateStateId<ProjectId> get() { | ||
| final ProjectId projectId = ProjectId.newBuilder() | ||
| .setId(UUID.randomUUID() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use Identifiers instead of UUID.randomUUID().toString().
Cover methods:
readAll()readMultiple(ids)