@Test public void testSetFileHeader() throws IOException { System.out.println("setFileHeader"); String str = "Test\\t\\r\\n"; FlexibleFileWriter instance = new FlexibleFileWriter(); File f = File.createTempFile("ffw_test_", ".txt"); instance.setFilename(f.getAbsolutePath()); instance.setFileHeader(str); instance.testStarted(); instance.testEnded(); assertEquals(7, f.length()); }
public void setFileHeader(String str) { setProperty(HEADER, str); }
FlexibleFileWriter extends AbstractListenerElement implements SampleListener, Serializable,
        TestStateListener, Remoteable, NoThreadClone { public void setFileHeader(String str) { setProperty(HEADER, str); } }
FlexibleFileWriter extends AbstractListenerElement implements SampleListener, Serializable,
        TestStateListener, Remoteable, NoThreadClone { public void setFileHeader(String str) { setProperty(HEADER, str); } FlexibleFileWriter(); }
FlexibleFileWriter extends AbstractListenerElement implements SampleListener, Serializable,
        TestStateListener, Remoteable, NoThreadClone { public void setFileHeader(String str) { setProperty(HEADER, str); } FlexibleFileWriter(); @Override void sampleStarted(SampleEvent e); @Override void sampleStopped(SampleEvent e); @Override void testStarted(); @Override void testStarted(String host); @Override void testEnded(); @Override void testEnded(String host); void setFilename(String name); String getFilename(); void setColumns(String cols); String getColumns(); boolean isOverwrite(); void setOverwrite(boolean ov); void setFileHeader(String str); String getFileHeader(); void setFileFooter(String str); String getFileFooter(); @Override void sampleOccurred(SampleEvent evt); }
FlexibleFileWriter extends AbstractListenerElement implements SampleListener, Serializable,
        TestStateListener, Remoteable, NoThreadClone { public void setFileHeader(String str) { setProperty(HEADER, str); } FlexibleFileWriter(); @Override void sampleStarted(SampleEvent e); @Override void sampleStopped(SampleEvent e); @Override void testStarted(); @Override void testStarted(String host); @Override void testEnded(); @Override void testEnded(String host); void setFilename(String name); String getFilename(); void setColumns(String cols); String getColumns(); boolean isOverwrite(); void setOverwrite(boolean ov); void setFileHeader(String str); String getFileHeader(); void setFileFooter(String str); String getFileFooter(); @Override void sampleOccurred(SampleEvent evt); static final String AVAILABLE_FIELDS; }