1 16 17 18 package test; 19 20 import org.custommonkey.xmlunit.XMLTestCase; 21 22 26 public abstract class AxisTestBase extends XMLTestCase { 27 28 public AxisTestBase(String s) { 29 super(s); 30 } 31 32 37 public static boolean isPropertyTrue(String propertyname) { 38 String setting = System.getProperty(propertyname); 39 return "true".equalsIgnoreCase(setting) || 40 "yes".equalsIgnoreCase(setting); 41 } 42 43 47 public static boolean isOnline() { 48 return isPropertyTrue("test.functional.online"); 49 } 50 } 51 | Popular Tags |