()
| 8 | public class Util { |
| 9 | |
| 10 | public static String getDefaultTestCmd(){ |
| 11 | String osName = System.getProperty("os.name"); |
| 12 | if (osName.startsWith("Mac")) { |
| 13 | return "open /System/Applications/Calculator.app"; |
| 14 | } |
| 15 | return "calc"; |
| 16 | } |
| 17 | |
| 18 | public static void writeObj2File(Object obj,String path) throws IOException { |
| 19 | System.out.println("set obj to "+ path); |