@Test public void testTestStartedUnhappyMask() { System.out.println("testStarted Unhappy by mask"); testInstance.testStarted(); File f = new File("testmask123.lock"); try { f.createNewFile(); } catch (IOException ex) { fail("Could not create lock file by hands"); } boolean thrown = false; try { testInstance.testStarted(); } catch (JMeterStopTestNowException e) { thrown = true; } assert thrown; f.delete(); }
public void testStarted() { testStarted(null); }
LockFile extends ConfigTestElement implements TestStateListener { public void testStarted() { testStarted(null); } }
LockFile extends ConfigTestElement implements TestStateListener { public void testStarted() { testStarted(null); }  }
LockFile extends ConfigTestElement implements TestStateListener { public void testStarted() { testStarted(null); }  void testStarted(); void testStarted(String string); void testEnded(); void testEnded(String string); String getFilename(); void setFilename(String filename); String getFilemask(); void setFilemask(String filemask); static boolean checkFileExistByPattern(String path, String pattern); }
LockFile extends ConfigTestElement implements TestStateListener { public void testStarted() { testStarted(null); }  void testStarted(); void testStarted(String string); void testEnded(); void testEnded(String string); String getFilename(); void setFilename(String filename); String getFilemask(); void setFilemask(String filemask); static boolean checkFileExistByPattern(String path, String pattern); static Logger log; static final String FILENAME; static final String FILEMASK; }