1 package org.unicode.cldr.util; 2 3 /** 4 * Utilities for the TestShims should go away when we move to all junit tests. These are here so 5 * they can be shared between tools/java and tools/cldr-apps 6 */ 7 public class TestShimUtils { getArgs(Class<?> clazz, String defaultArgs)8 public static String[] getArgs(Class<?> clazz, String defaultArgs) { 9 final String packageName = clazz.getPackage().getName(); 10 final String propKey = packageName + ".testArgs"; 11 final String toSplit = System.getProperty(propKey, defaultArgs); 12 System.err.println(propKey + "=" + toSplit); 13 final String s[] = toSplit.split(" "); // TODO: quoted strings, etc. 14 return s; 15 } 16 } 17