- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 124 for setDefault (0.44 sec)
-
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
/** * @author higa */ public class TimestampConversionUtilTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ // @Test // public void testToDate_Null() throws Exception {
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java
if (null == value) { processConfiguration(lookup, bean, loader, configuration, evaluator, listener); } else { new CompositeBeanHelper(lookup, loader, evaluator, listener).setDefault(bean, value, configuration); } return bean; } catch (final ComponentConfigurationException e) { if (null == e.getFailedConfiguration()) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/PackageSanityTests.java
setDistinctValues(NetworkBuilder.class, NETWORK_BUILDER_A, NETWORK_BUILDER_B); setDistinctValues(Network.class, IMMUTABLE_NETWORK_A, IMMUTABLE_NETWORK_B); setDefault(EndpointPair.class, EndpointPair.ordered("A", "B")); } @Override public void testNulls() throws Exception { try { super.testNulls(); } catch (AssertionFailedError e) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 09 19:24:25 GMT 2023 - 3.2K 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
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri May 12 19:22:18 GMT 2023 - 17.5K bytes - Viewed (0) -
istioctl/cmd/root.go
if root.IstioConfig != defaultIstioctlConfig { return err } return nil } func init() { viper.SetDefault("istioNamespace", constants.IstioSystemNamespace) viper.SetDefault("xds-port", 15012) } // GetRootCmd returns the root of the cobra command-tree. func GetRootCmd(args []string) *cobra.Command { rootCmd := &cobra.Command{
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
/** * @author higa */ public class DateConversionUtilTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testToDate_Null() throws Exception {
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.4K 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);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
@J2ktIncompatible @GwtIncompatible // reflection @SuppressWarnings("Java7ApiChecker") // includes test of Java 8+ API public void testSuppliersNullChecks() throws Exception { new ClassSanityTester() .setDefault(Duration.class, Duration.ofSeconds(1)) .forAllPublicStaticMethods(Suppliers.class) .testNulls(); } @J2ktIncompatible @GwtIncompatible // reflection
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 18.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
@J2ktIncompatible @GwtIncompatible // reflection @SuppressWarnings("Java7ApiChecker") // includes test of Java 8+ API public void testSuppliersNullChecks() throws Exception { new ClassSanityTester() .setDefault(Duration.class, Duration.ofSeconds(1)) .forAllPublicStaticMethods(Suppliers.class) .testNulls(); } @J2ktIncompatible @GwtIncompatible // reflection
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 18.1K 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);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.6K bytes - Viewed (0)