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

Remove MocksControl.MockType that stayed there #951

Merged
merged 1 commit into from Oct 28, 2018

Conversation

Projects
None yet
2 participants
@henri-tremblay
Contributor

henri-tremblay commented Oct 28, 2018

No description provided.

@thekingnothing

This comment has been minimized.

Member

thekingnothing commented Oct 28, 2018

@henri-tremblay

Please, could you check the compiling issue

Task :powermock-api:powermock-api-easymock:compileJava FAILED
/home/travis/build/powermock/powermock/powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/internal/invocationcontrol/EasyMockNewInvocationControl.java:54: error: cannot find symbol
final MockType mockType = ((EasyMockMethodInvocationControl<?>) MockRepository.getInstanceMethodInvocationControl(substitute))
^
symbol: class MockType
location: class EasyMockNewInvocationControl
where T is a type-variable:
T extends Object declared in class EasyMockNewInvocationControl
/home/travis/build/powermock/powermock/powermock-api/powermock-api-easymock/src/main/java/org/powermock/api/easymock/internal/invocationcontrol/EasyMockNewInvocationControl.java:59: error: cannot find symbol
if (mockType == MockType.NICE) {
^
symbol: variable MockType
location: class EasyMockNewInvocationControl
where T is a type-variable:
T extends Object declared in class EasyMockNewInvocationControl
2 errors

FAILURE: Build failed with an exception.

Also, I think that we should upgrade EasyMock version to 4.0.

@henri-tremblay

This comment has been minimized.

Contributor

henri-tremblay commented Oct 28, 2018

Sorry. I did it too hastily and missed an import. Should be alright now.

@thekingnothing thekingnothing merged commit 3e84603 into powermock:release/2.x Oct 28, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment