Skip to content
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

Foo 1527 more unit tests #999

Merged
merged 18 commits into from
Aug 27, 2020
Merged

Foo 1527 more unit tests #999

merged 18 commits into from
Aug 27, 2020

Conversation

BernhardBln
Copy link
Contributor

No description provided.

@BernhardBln BernhardBln changed the base branch from master to issue942 August 25, 2020 08:56
@codecov
Copy link

codecov bot commented Aug 25, 2020

Codecov Report

Merging #999 into issue942 will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@              Coverage Diff               @@
##             issue942     #999      +/-   ##
==============================================
+ Coverage       74.06%   74.13%   +0.06%     
+ Complexity         17        5      -12     
==============================================
  Files             212      208       -4     
  Lines            4342     4260      -82     
  Branches          295      295              
==============================================
- Hits             3216     3158      -58     
+ Misses           1021      993      -28     
- Partials          105      109       +4     

Copy link
Member

@uweschaefer uweschaefer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please pull. did some minor renames already...
also, you may want to "mvn spotless:apply" before pushing, or use the githooks provided (see /use_local_hooks.sh)

Copy link
Contributor Author

@BernhardBln BernhardBln left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to address some of your remarks. However, I got a bit lost what is resolved already and what is not, can you resolve your comments when there is nothing left to do? Also please resolve if my changes fixed what you found.

// projection,
// the lock would be broken
assertThat(locked.specs())
.isEqualTo(specs);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same same

eventSerializer,
new DuplicateHandlerProjection()))
// ASSERT
.isInstanceOf(UnsupportedOperationException.class)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something fancy like UnsatisfiedLinkError or LayerInstantiationException? :P

I agree, I suggest to create your own exception type though

@uweschaefer
Copy link
Member

all resolved, adding more tiny tests

@uweschaefer uweschaefer marked this pull request as ready for review August 27, 2020 14:01
@uweschaefer uweschaefer merged commit d45d851 into issue942 Aug 27, 2020
@uweschaefer uweschaefer deleted the FOO-1527-more-unit-tests branch August 27, 2020 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants