Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Commit

Permalink
Fix paths to run tests in unix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-medeiros committed Sep 21, 2015
1 parent 10ed9fc commit b037b35
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@

public class OraclePackageDescribeParser_Test extends CommonGoToolingTest {

@Override
protected String getClassResourceAsString(String resourceName) {
return fixTestsPaths(super.getClassResourceAsString(resourceName));
}

public static ElementAttributes attrib(EProtection protection, EAttributeFlag... flags) {
return new ElementAttributes(protection, flags);
}
Expand Down Expand Up @@ -139,7 +144,7 @@ public SourceRange sr(String marker) {
}

goSource = getClassResourceAsString("oracle_describe.2_Test.go");
testParseStructure(fixTestsPaths(getClassResourceAsString("oracle_describe.2_Test.json")), goSource,
testParseStructure(getClassResourceAsString("oracle_describe.2_Test.json"), goSource,
Location.create(fixTestsPaths("D:/devel/tools.Go/go-workspace/src/util/libfoo/libfoo.go")),

elem("encodeFragment", sr("encodeFragment"), CONST, attPriv(), "util.encoding", null),
Expand Down

0 comments on commit b037b35

Please sign in to comment.