Lines Matching refs:newBundle
27 * functionality of newBundle, getTimeToLive, and needsReload is
75 // Test newBundle(String, Locale, String, ClassLoader, boolean)
228 rb = CONTROL.newBundle("StressOut", Locale.JAPANESE,
232 error("newBundle: #%d got %s, expected Japan%n", testNo, s);
236 rb = CONTROL.newBundle("TestResourceRB", new Locale(""),
240 error("newBundle: #%d got %s, expected %s%n", testNo, s, CLAZZ);
243 error("newBundle: #%d threw %s%n", testNo, e);
252 rb = CONTROL.newBundle("MalformedDataRB", Locale.ENGLISH,
254 error("newBundle: doesn't throw IllegalArgumentException with malformed data.");
257 error("newBundle: threw %s%n", e);
261 rb = CONTROL.newBundle("StressOut", Locale.JAPANESE,
263 error("newBundle: doesn't throw IllegalArgumentException with invalid format.");
266 error("newBundle: threw %s%n", e);
270 rb = CONTROL.newBundle("NonResourceBundle", new Locale(""),
272 error("newBundle: doesn't throw ClassCastException with a non-ResourceBundle subclass.");
275 error("newBundle: threw %s%n", e);
284 rb = CONTROL.newBundle((String) data[0], loc,
287 error("newBundle(%s, %s, %s, %s, false) doesn't throw NPE.%n",
291 error("newBundle(%s, %s, %s, %s, false) threw %s.%n",