junithelper icon indicating copy to clipboard operation
junithelper copied to clipboard

should use project not workspace Absolute Path, because some project not under default workspace home dir

Open hunthu2000 opened this issue 10 years ago • 1 comments

when the project source is not under default workspace home dir, junithelper will still create the test class file under workspace home, then user can't see the test file.

replace follow code: String projectRootAbsolutePath = getWorkspaceRootAbsolutePath(getIWorkspaceRoot()) + StringValue.DirectorySeparator.General + projectName + StringValue.DirectorySeparator.General;

with these code: String projectRootAbsolutePath = getIProject(projectName).getLocation() + StringValue.DirectorySeparator.General;

hunthu2000 avatar Nov 03 '14 06:11 hunthu2000

bugfix code commit to: https://github.com/hunthu2000/junithelper

hunthu2000 avatar Nov 03 '14 07:11 hunthu2000