Skip to content

Commit

Permalink
Fix functions.PackageTest#BSH1: move bsh file to resources folder
Browse files Browse the repository at this point in the history
Former-commit-id: 39fab54
  • Loading branch information
vlsi committed Aug 1, 2019
1 parent f0417ec commit bf1dc4a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public void setUp() {
}

public void BSH1() throws Exception {
String fn = "testfiles/BeanShellTest.bsh";
String fn = "src/test/resources/org/apache/jmeter/functions/testfiles/BeanShellTest.bsh";
try {
BSHFParams(null, null, null);
fail("Expected InvalidVariableException");
Expand Down Expand Up @@ -166,7 +166,7 @@ public void BSH1() throws Exception {
assertEquals(log.getClass().getName(), bsh.execute());

// Check source works
bsh = BSHFParams("source (\"testfiles/BeanShellTest.bsh\")", null, null);
bsh = BSHFParams("source (\"" + fn + "\")", null, null);
assertEquals("9876", bsh.execute());

// Check persistence
Expand Down

0 comments on commit bf1dc4a

Please sign in to comment.