Searched refs:setDefault (Results 1 – 25 of 243) sorted by relevance
12345678910
32 setDefault(BaseEncoding.class, BaseEncoding.base64()); in PackageSanityTests()33 setDefault(int.class, 32); in PackageSanityTests()34 setDefault(String.class, "abcd"); in PackageSanityTests()35 setDefault(Method.class, AbstractPackageSanityTests.class.getDeclaredMethods()[0]); in PackageSanityTests()36 setDefault(MapMode.class, MapMode.READ_ONLY); in PackageSanityTests()
72 ULocale.setDefault(_DEFAULT_LOCALE); in TestCalendar()106 ULocale.setDefault(defLoc); in TestCalendar()112 ULocale.setDefault(_DEFAULT_LOCALE); in TestDateFormat()146 ULocale.setDefault(defLoc); in TestDateFormat()152 ULocale.setDefault(_DEFAULT_LOCALE); in TestULocale()170 ULocale.setDefault(defLoc); in TestULocale()176 ULocale.setDefault(_DEFAULT_LOCALE); in TestDisplayName()201 ULocale.setDefault(defLoc); in TestDisplayName()207 ULocale.setDefault(_DEFAULT_LOCALE); in TestUResourceBundle()230 ULocale.setDefault(defLoc); in TestUResourceBundle()
69 ULocale.setDefault(_DEFAULT_LOCALE); in TestCalendar()103 ULocale.setDefault(defLoc); in TestCalendar()109 ULocale.setDefault(_DEFAULT_LOCALE); in TestDateFormat()143 ULocale.setDefault(defLoc); in TestDateFormat()149 ULocale.setDefault(_DEFAULT_LOCALE); in TestULocale()167 ULocale.setDefault(defLoc); in TestULocale()173 ULocale.setDefault(_DEFAULT_LOCALE); in TestDisplayName()198 ULocale.setDefault(defLoc); in TestDisplayName()204 ULocale.setDefault(_DEFAULT_LOCALE); in TestUResourceBundle()227 ULocale.setDefault(defLoc); in TestUResourceBundle()
30 setDefault(BitArray.class, new BitArray(1)); in PackageSanityTests()31 setDefault(HashCode.class, HashCode.fromInt(1)); in PackageSanityTests()32 setDefault(String.class, "MD5"); in PackageSanityTests()33 setDefault(int.class, 32); in PackageSanityTests()
54 ProxySelector.setDefault(DEFAULT_PROXY_SELECTOR); in tearDown()55 CookieManager.setDefault(DEFAULT_COOKIE_HANDLER); in tearDown()56 ResponseCache.setDefault(DEFAULT_RESPONSE_CACHE); in tearDown()57 Authenticator.setDefault(DEFAULT_AUTHENTICATOR); in tearDown()120 CookieManager.setDefault(cookieManager); in copyWithDefaultsWhenDefaultIsGlobal()121 ProxySelector.setDefault(proxySelector); in copyWithDefaultsWhenDefaultIsGlobal()122 Authenticator.setDefault(authenticator); in copyWithDefaultsWhenDefaultIsGlobal()141 ResponseCache.setDefault(new ResponseCache() { in copyWithDefaultsDoesNotHonorGlobalResponseCache()
109 setDefault(byte.class, (byte) 1); in ClassSanityTester()110 setDefault(Byte.class, (byte) 1); in ClassSanityTester()111 setDefault(short.class, (short) 1); in ClassSanityTester()112 setDefault(Short.class, (short) 1); in ClassSanityTester()113 setDefault(int.class, 1); in ClassSanityTester()114 setDefault(Integer.class, 1); in ClassSanityTester()115 setDefault(long.class, 1L); in ClassSanityTester()116 setDefault(Long.class, 1L); in ClassSanityTester()117 setDefault(float.class, 1F); in ClassSanityTester()118 setDefault(Float.class, 1F); in ClassSanityTester()[all …]
48 Locale.setDefault(Locale.US); in setUp()49 ULocale.setDefault(ULocale.US); in setUp()50 java.util.TimeZone.setDefault(java.util.TimeZone.getTimeZone("PST")); in setUp()51 TimeZone.setDefault(TimeZone.getTimeZone("PST")); in setUp()55 ULocale.setDefault(oldULocale); in tearDown()56 Locale.setDefault(oldLocale); in tearDown()57 TimeZone.setDefault(oldITimeZone); in tearDown()58 java.util.TimeZone.setDefault(oldJTimeZone); in tearDown()
108 ULocale.setDefault(longULocale); in testSetDefault()115 ULocale.setDefault(oldULocale); in testSetDefault()116 Locale.setDefault(oldLocale); // in case of some error in testSetDefault()825 ULocale.setDefault(jaUS); in testSetDefaultCategoryULocale()833 ULocale.setDefault(Category.DISPLAY, frDE); in testSetDefaultCategoryULocale()841 ULocale.setDefault(orgDefault); in testSetDefaultCategoryULocale()842 ULocale.setDefault(Category.DISPLAY, orgDisplay); in testSetDefaultCategoryULocale()843 ULocale.setDefault(Category.FORMAT, orgFormat); in testSetDefaultCategoryULocale()
198 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testSetTimelong()216 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetTime()254 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetDate()267 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetHours()280 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetMinutes()293 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetSeconds()307 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString()330 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString1()401 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testToString()417 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString()[all …]
100 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString()116 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString()141 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testSetTime()307 TimeZone.setDefault(defaultTimeZone); in tearDown()
29 setDefault(CacheLoader.class, new CacheLoader<Object, Object>() { in PackageSanityTests()33 setDefault(LocalCache.class, new LocalCache<Object, Object>(CacheBuilder.newBuilder(), null)); in PackageSanityTests()34 setDefault(CacheBuilder.class, CacheBuilder.newBuilder()); in PackageSanityTests()
41 setDefault(RateLimiter.class, RateLimiter.create(1.0)); in PackageSanityTests()42 setDefault(SleepingStopwatch.class, NO_OP_STOPWATCH); in PackageSanityTests()43 setDefault(long.class, 0L); in PackageSanityTests()
45 UOption.create("sourcedir", 's', UOption.REQUIRES_ARG).setDefault("."),46 UOption.create("destdir", 'd', UOption.REQUIRES_ARG).setDefault("."),47 UOption.create("fromfile", 'f', UOption.REQUIRES_ARG).setDefault("root.txt"),48 UOption.create("tofile", 't', UOption.REQUIRES_ARG).setDefault("root.xml"),49 UOption.create("spec", 'x', UOption.REQUIRES_ARG).setDefault("false"),50 UOption.create("copyright", 'c', UOption.REQUIRES_ARG).setDefault("true")
59 CookieHandler.setDefault(null); in tearDown()65 CookieHandler.setDefault(cookieManager); in testNetscapeResponse()93 CookieHandler.setDefault(cookieManager); in testRfc2109Response()123 CookieHandler.setDefault(cookieManager); in testRfc2965Response()157 CookieHandler.setDefault(cookieManager); in testQuotedAttributeValues()203 CookieHandler.setDefault(cookieManager); in testSendingCookiesFromStore()235 CookieHandler.setDefault(cookieManager); in testRedirectsDoNotIncludeTooManyCookies()263 CookieHandler.setDefault(new CookieManager() { in testHeadersSentToCookieHandler()317 CookieHandler.setDefault(new CookieManager() { in testCookiesSentIgnoresCase()
348 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("a"); in testSetDefault()432 optionalBinder.setDefault().toInstance("a"); in testSetBindingOverridesDefault()482 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("a"); in testSpreadAcrossModules()539 .setDefault() in testExactSameBindingCollapses_defaults()542 .setDefault() in testExactSameBindingCollapses_defaults()630 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("a"); in testDifferentBindingsFail_defaults()631 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("b"); in testDifferentBindingsFail_defaults()680 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("a"); in testDifferentBindingsFail_both()681 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("b"); in testDifferentBindingsFail_both()721 .setDefault() in testQualifiedAggregatesTogether()[all …]
146 Locale.setDefault(Locale.US); in reset()147 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")); in reset()166 Authenticator.setDefault(null); in reset()167 CookieHandler.setDefault(null); in reset()168 ResponseCache.setDefault(null); in reset()
92 ResponseCache.setDefault(newResponseCache); in install()171 ResponseCache.setDefault(null); in close()181 ResponseCache.setDefault(null); in delete()
30 Locale.setDefault(Locale.CANADA); in testDefault_Locale_CANADA()35 Locale.setDefault(Locale.CHINA); in testDefault_Locale_CHINA()
34 Locale.setDefault(Locale.CANADA); in testDefault_Locale_CANADA()40 Locale.setDefault(Locale.CHINA); in testDefault_Locale_CHINA()
34 setDefault(EventSubscriber.class, new DummySubscriber().toEventSubscriber()); in PackageSanityTests()35 setDefault(Method.class, DummySubscriber.subscriberMethod()); in PackageSanityTests()
META-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
54 static void setDefault(FunctionPassCtor C) { in setDefault() function55 Registry.setDefault((MachinePassCtor)C); in setDefault()
52 static void setDefault(FunctionPassCtor C) { in setDefault() function53 Registry.setDefault((MachinePassCtor)C); in setDefault()
55 static void setDefault(FunctionPassCtor C) { in setDefault() function56 Registry.setDefault((MachinePassCtor)C); in setDefault()
26 .setDefault(CLDRPaths.COMMON_DIRECTORY)29 .setDefault(CLDRPaths.GEN_DIRECTORY + "xmlModify")32 .setDefault(".*")), pathRegex(new Params().setHelp("path regex")