From c7dfa1accef2adc31170a79505f690f0037fd4f9 Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Wed, 17 Apr 2013 14:38:48 +0200 Subject: Added various self-describing tests for codebase --- .../browsertesting/browsers/firefox/FirefoxProfilesOperator.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test-extensions') diff --git a/tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/firefox/FirefoxProfilesOperator.java b/tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/firefox/FirefoxProfilesOperator.java index 7e919eb..9a5064e 100644 --- a/tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/firefox/FirefoxProfilesOperator.java +++ b/tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/firefox/FirefoxProfilesOperator.java @@ -125,7 +125,7 @@ public class FirefoxProfilesOperator { } } - private static void copyFile(File from, File to) throws IOException { + public static void copyFile(File from, File to) throws IOException { FileInputStream is = new FileInputStream(from); FileOutputStream fos = new FileOutputStream(to); FileChannel f = is.getChannel(); @@ -138,7 +138,7 @@ public class FirefoxProfilesOperator { } } - private static void deleteRecursively(File f) throws IOException { + public static void deleteRecursively(File f) throws IOException { if (f.isDirectory()) { for (File c : f.listFiles()) { deleteRecursively(c); @@ -151,7 +151,7 @@ public class FirefoxProfilesOperator { } } - private static void copyRecursively(File srcFileDir, File destDir) throws IOException { + public static void copyRecursively(File srcFileDir, File destDir) throws IOException { if (srcFileDir.isDirectory()) { File nwDest = new File(destDir, srcFileDir.getName()); nwDest.mkdir(); -- cgit v1.2.3