Guest User

Output of UserSearchAdviserTest

a guest
Nov 26th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.11 KB | None | 0 0
  1. cd C:\Users\Administrator\Documents\NetBeansProjects\openmrs-module-locationbasedaccess\api; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_181" cmd /c "\"\"C:\\Program Files (x86)\\NetBeans 8.2\\java\\maven\\bin\\mvn.bat\" -Dtest=org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest -Dmaven.ext.class.path=\"C:\\Program Files (x86)\\NetBeans 8.2\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 surefire:test\""
  2. Running NetBeans Compile On Save execution. Phase execution is skipped and output directories of dependency projects (with Compile on Save turned on) will be used instead of their jar artifacts.
  3. Scanning for projects...
  4.  
  5. Some problems were encountered while building the effective model for org.openmrs.module:locationbasedaccess-api:jar:0.2.0-SNAPSHOT
  6. 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 5, column 12
  7.  
  8. It is highly recommended to fix these problems because they threaten the stability of your build.
  9.  
  10. For this reason, future Maven versions might no longer support building such malformed projects.
  11.  
  12.  
  13. ------------------------------------------------------------------------
  14. Building Location Based Access Control API 0.2.0-SNAPSHOT
  15. ------------------------------------------------------------------------
  16.  
  17. --- maven-surefire-plugin:2.10:test (default-cli) @ locationbasedaccess-api ---
  18. Surefire report directory: C:\Users\Administrator\Documents\NetBeansProjects\openmrs-module-locationbasedaccess\api\target\surefire-reports
  19.  
  20. -------------------------------------------------------
  21. T E S T S
  22. -------------------------------------------------------
  23. Running org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest
  24. Tests run: 21, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 79.397 sec <<< FAILURE!
  25.  
  26. Results :
  27.  
  28. Failed tests: getUserByPerson_nonAdminUserWithOutLocationPropertyShouldNotGetUserInformation(org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest): expected:<0> but was:<1>
  29. getUsers_nonAdminUserWithOutLocationPropertyShouldNotGetUserInformation(org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest): expected:<0> but was:<1>
  30. getUserByUuid_nonAdminUserWithOutLocationPropertyShouldNotGetUserInformation(org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest): expected null, but was:<username1>
  31. getUser_nonAdminUserWithOutLocationPropertyShouldNotGetUserInformation(org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest): expected null, but was:<username1>
  32. getAllUsers_nonAdminUserWithOutLocationPropertyShouldNotGetUserInformation(org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest): expected:<0> but was:<1>
  33. getUserByName_nonAdminUserWithOutLocationPropertyShouldNotGetUserInformation(org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest): expected:<0> but was:<1>
  34. getUserByUsername_nonAdminUserWithOutLocationPropertyShouldNotGetUserInformation(org.openmrs.module.locationbasedaccess.aop.UserSearchAdviserTest): expected null, but was:<username1>
  35.  
  36. Tests run: 21, Failures: 7, Errors: 0, Skipped: 0
  37.  
  38. ------------------------------------------------------------------------
  39. BUILD FAILURE
  40. ------------------------------------------------------------------------
  41. Total time: 1:37.691s
  42. Finished at: Mon Nov 26 23:34:10 IST 2018
  43. Final Memory: 11M/177M
  44. ------------------------------------------------------------------------
  45. Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-cli) on project locationbasedaccess-api: There are test failures.
  46.  
  47. Please refer to C:\Users\Administrator\Documents\NetBeansProjects\openmrs-module-locationbasedaccess\api\target\surefire-reports for the individual test results.
  48. -> [Help 1]
  49.  
  50. To see the full stack trace of the errors, re-run Maven with the -e switch.
  51. Re-run Maven using the -X switch to enable full debug logging.
  52.  
  53. For more information about the errors and possible solutions, please read the following articles:
  54. [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Add Comment
Please, Sign In to add comment