Skip to content

Conversation

@dmdashenkov
Copy link
Contributor

Cover methods:

  • readAll()
  • readMultiple(ids)

@dmdashenkov
Copy link
Contributor Author

@armiol PTAL

@codecov-io
Copy link

codecov-io commented Oct 12, 2016

Current coverage is 81.71% (diff: 100%)

Merging #196 into stand-in-memory will increase coverage by 1.87%

@@           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   

Powered by Codecov. Last update 032e28e...7e97ee8


protected abstract StandStorage createStorage();

protected static final Supplier<AggregateStateId<ProjectId>> DEFAULT_ID_SUPPLIER = new Supplier<AggregateStateId<ProjectId>>() {
Copy link
Contributor

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.

Copy link
Contributor

@armiol armiol left a 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()
Copy link
Contributor

@armiol armiol Oct 12, 2016

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().

@dmdashenkov dmdashenkov merged commit cb1f2c6 into stand-in-memory Oct 12, 2016
@dmdashenkov dmdashenkov deleted the stand-storage-cov branch October 12, 2016 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants