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

PreconditionViolationException: authoriseCustomerLoan specifies neither a class, a method, nor a package. #2

Open
mussa-ibragimov opened this issue Jun 12, 2017 · 0 comments

Comments

@mussa-ibragimov
Copy link

mussa-ibragimov commented Jun 12, 2017

Cannot run test on Android Studio 2.3.3

org.junit.platform.commons.util.PreconditionViolationException: 'com.hadihariri.mockito.sample.test.LoanServiceTest#authoriseCustomerLoan' specifies neither a class, a method, nor a package. at org.junit.platform.engine.discovery.DiscoverySelectors.selectName(DiscoverySelectors.java:228) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at org.junit.platform.engine.discovery.DiscoverySelectors.selectNames(DiscoverySelectors.java:279) at com.intellij.junit5.JUnit5TestRunnerUtil.buildRequest(JUnit5TestRunnerUtil.java:75) at com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:39) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:262) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)

@mussa-ibragimov mussa-ibragimov changed the title org.junit.platform.commons.util.PreconditionViolationException: 'com.hadihariri.mockito.sample.test.LoanServiceTest#authoriseCustomerLoan' specifies neither a class, a method, nor a package. PreconditionViolationException: authoriseCustomerLoan specifies neither a class, a method, nor a package. Jun 12, 2017
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

No branches or pull requests

1 participant