1 43 44 package de.susebox; 45 46 50 54 63 public class TestUtilities { 64 65 81 public static void run(String [] tests, String [] args) { 82 if (args != null && args.length > 0) { 83 if (args[0].equals("swingui")) { 84 new junit.swingui.TestRunner().main(tests); 85 } else if (args[0].equals("awtui")) { 86 new junit.awtui.TestRunner().main(tests); 87 } else { 88 new junit.textui.TestRunner().main(tests); 89 } 90 } else { 91 new junit.textui.TestRunner().main(tests); 92 } 93 } 94 } 95 | Popular Tags |