test framework improved: ability to register paramdef definitions in cucumber files

This commit is contained in:
Roman Chernyatchik
2011-03-10 22:42:52 +03:00
parent 7d0893a688
commit 9cc7758d3a
@@ -935,6 +935,10 @@ public class FileUtil {
writeToFile(file, text, false);
}
public static void writeToFile(final File file, final String text) throws IOException {
writeToFile(file, text.getBytes("UTF-8"), false);
}
public static void writeToFile(final File file, final byte[] text, int off, int len) throws IOException {
writeToFile(file, text, off, len, false);
}