- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for setDefault (0.13 sec)
-
fastapi/openapi/utils.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 22.6K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java
@BeforeEach void setLocaleToUseBuddhistCalendar() { defaultLocale = Locale.getDefault(); Locale.setDefault(new Locale("th", "TH")); } @AfterEach void restoreLocale() { Locale.setDefault(defaultLocale); } static String gregorianDate() { SimpleDateFormat df = new SimpleDateFormat("yyyyMMdd");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
} @Test void testLocaleIndependent() { Locale orig = Locale.getDefault(); Locale[] locales = {Locale.ENGLISH, new Locale("tr"), Locale.getDefault()}; try { for (Locale locale : locales) { Locale.setDefault(locale); checkVersionsEqual("1-abcdefghijklmnopqrstuvwxyz", "1-ABCDEFGHIJKLMNOPQRSTUVWXYZ"); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
.testEquals(); } @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() throws Exception { new NullPointerTester() .setDefault(Class.class, Color.class) .setDefault(Iterable.class, EnumSet.allOf(Color.class)) .testAllPublicStaticMethods(EnumMultiset.class); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* testing {@link Object#equals} because more than one sample instances are needed for testing * inequality. */ protected final <T> void setDefault(Class<T> type, T value) { tester.setDefault(type, value); } /** * Sets two distinct values for {@code type}. These values can be used for both null pointer * testing and equals testing. * * @since 17.0
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 17.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java
Locale orig = Locale.getDefault(); try { Locale[] locales = {Locale.ENGLISH, new Locale("tr")}; for (Locale locale : locales) { Locale.setDefault(locale); assertOrder(X_EQ_Y, "1-abcdefghijklmnopqrstuvwxyz", "1-ABCDEFGHIJKLMNOPQRSTUVWXYZ"); } } finally { Locale.setDefault(orig); } } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
} } } } public void testNulls() { NullPointerTester tester = new NullPointerTester() .setDefault(SleepingStopwatch.class, stopwatch) .setDefault(int.class, 1) .setDefault(double.class, 1.0d); tester.testStaticMethods(RateLimiter.class, Visibility.PACKAGE); tester.testInstanceMethods(RateLimiter.create(5.0, stopwatch), Visibility.PACKAGE);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
} } } } public void testNulls() { NullPointerTester tester = new NullPointerTester() .setDefault(SleepingStopwatch.class, stopwatch) .setDefault(int.class, 1) .setDefault(double.class, 1.0d); tester.testStaticMethods(RateLimiter.class, Visibility.PACKAGE); tester.testInstanceMethods(RateLimiter.create(5.0, stopwatch), Visibility.PACKAGE);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
} @J2ktIncompatible @GwtIncompatible // reflection public void testSuppliersNullChecks() throws Exception { new ClassSanityTester() .setDefault(Duration.class, Duration.ofSeconds(1)) .forAllPublicStaticMethods(Suppliers.class) .testNulls(); } @J2ktIncompatible @GwtIncompatible // reflection
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
} @J2ktIncompatible @GwtIncompatible // reflection public void testSuppliersNullChecks() throws Exception { new ClassSanityTester() .setDefault(Duration.class, Duration.ofSeconds(1)) .forAllPublicStaticMethods(Suppliers.class) .testNulls(); } @J2ktIncompatible @GwtIncompatible // reflection
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.9K bytes - Viewed (0)