daily pastebin goal
33%
SHARE
TWEET

Untitled

a guest Jul 17th, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -------------------------------------------------------------------------------
  2. Test set: org.openmrs.api.EncounterServiceTest
  3. -------------------------------------------------------------------------------
  4. Tests run: 67, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 16.892 sec <<< FAILURE!
  5. getEncountersByPatientId_shouldNotGetVoidedEncounters(org.openmrs.api.EncounterServiceTest)  Time elapsed: 0.208 sec  <<< FAILURE!
  6. java.lang.AssertionError: expected:<2> but was:<4>
  7.     at org.junit.Assert.fail(Assert.java:91)
  8.     at org.junit.Assert.failNotEquals(Assert.java:645)
  9.     at org.junit.Assert.assertEquals(Assert.java:126)
  10.     at org.junit.Assert.assertEquals(Assert.java:470)
  11.     at org.junit.Assert.assertEquals(Assert.java:454)
  12.     at org.openmrs.api.EncounterServiceTest.getEncountersByPatientId_shouldNotGetVoidedEncounters(EncounterServiceTest.java:571)
  13.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  14.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  15.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  16.     at java.lang.reflect.Method.invoke(Method.java:597)
  17.     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  18.     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  19.     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  20.     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  21.     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  22.     at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
  23.     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  24.     at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  25.     at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
  26.     at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
  27.     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  28.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  29.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  30.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  31.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  32.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  33.     at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  34.     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  35.     at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  36.     at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  37.     at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
  38.     at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
  39.     at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
  40.     at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
  41.     at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
  42.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  43.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  44.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  45.     at java.lang.reflect.Method.invoke(Method.java:597)
  46.     at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
  47.     at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
  48.  
  49. getEncountersByPatientIdentifier_shouldNotGetVoidedEncounters(org.openmrs.api.EncounterServiceTest)  Time elapsed: 0.246 sec  <<< FAILURE!
  50. java.lang.AssertionError: expected:<2> but was:<4>
  51.     at org.junit.Assert.fail(Assert.java:91)
  52.     at org.junit.Assert.failNotEquals(Assert.java:645)
  53.     at org.junit.Assert.assertEquals(Assert.java:126)
  54.     at org.junit.Assert.assertEquals(Assert.java:470)
  55.     at org.junit.Assert.assertEquals(Assert.java:454)
  56.     at org.openmrs.api.EncounterServiceTest.getEncountersByPatientIdentifier_shouldNotGetVoidedEncounters(EncounterServiceTest.java:592)
  57.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  58.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  59.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  60.     at java.lang.reflect.Method.invoke(Method.java:597)
  61.     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  62.     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  63.     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  64.     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  65.     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  66.     at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
  67.     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  68.     at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
  69.     at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
  70.     at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
  71.     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  72.     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  73.     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  74.     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  75.     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  76.     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  77.     at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  78.     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  79.     at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  80.     at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  81.     at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
  82.     at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
  83.     at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
  84.     at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
  85.     at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
  86.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  87.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  88.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  89.     at java.lang.reflect.Method.invoke(Method.java:597)
  90.     at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
  91.     at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
RAW Paste Data
Top