Issue 2 in ocpsoft-tools: com.ocpsoft.spm.ws.rest.user.UserServiceTest fails

0 views
Skip to first unread message

ocpsof...@googlecode.com

unread,
Dec 12, 2009, 9:34:58 AM12/12/09
to ocpsoft-soc...@googlegroups.com
Status: Accepted
Owner: dominik.dorn
Labels: Type-Defect Priority-Medium

New issue 2 by dominik.dorn: com.ocpsoft.spm.ws.rest.user.UserServiceTest
fails
http://code.google.com/p/ocpsoft-tools/issues/detail?id=2

What steps will reproduce the problem?
1. mvn clean compile install in trunk/socialpm

What is the expected output?
The tests should run without failures.

What do you see instead?
The spring application context tries to access
%userdir%/.socialpm/db.properties
but fails, as it is not there.

A test should never access files/directories outside target/test-classes
We should provide a db.properties file for the tests. Tests should never
run against the productive database that is specified in
%userdir%/.socialpm/db.properties



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

ocpsof...@googlecode.com

unread,
Dec 12, 2009, 9:53:31 AM12/12/09
to ocpsoft-soc...@googlegroups.com

Comment #1 on issue 2 by dominik.dorn:
com.ocpsoft.spm.ws.rest.user.UserServiceTest fails
http://code.google.com/p/ocpsoft-tools/issues/detail?id=2

The surefire report of the failing testcase.
(I know the test would work if I copy config to ~/.socialpm )

Attachments:
com.ocpsoft.spm.ws.rest.user.UserServiceTest.txt 15.0 KB

ocpsof...@googlecode.com

unread,
Dec 12, 2009, 10:05:51 AM12/12/09
to ocpsoft-soc...@googlegroups.com
Updates:
Status: Fixed
Mergedinto: -

Comment #2 on issue 2 by dominik.dorn:
com.ocpsoft.spm.ws.rest.user.UserServiceTest fails
http://code.google.com/p/ocpsoft-tools/issues/detail?id=2

This issue was closed by revision r33.
Reply all
Reply to author
Forward
0 new messages