- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for destClass (0.1 sec)
-
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
* @param destClass コピー先となるBeanの型。{@literal null}であってはいけません * @return コピーされた新しいBean */ public static <T> T copyBeanToNewBean(final Object src, final Class<T> destClass) { return copyBeanToNewBean(src, destClass, DEFAULT_OPTIONS); } public static <T> T copyBeanToNewBean(final Object src, final Class<T> destClass, final Consumer<CopyOptions> option) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java
BeanUtil.copyMapToBean(src, dest, option); } protected static <T> T copyBeanToNewBean(final Object src, final Class<T> destClass) { return BeanUtil.copyBeanToNewBean(src, destClass); } protected String buildThrowableMessage(final Throwable t) { final StringBuilder buf = new StringBuilder(100); Throwable current = t;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
} /** * */ @Test public void testCopyBeanToNewBean_DestClassNull() { exception.expect(NullArgumentException.class); exception.expectMessage(is("[ECL0008]argument[destClass] is null.")); BeanUtil.copyBeanToNewBean(new Object(), (Class<?>) null); } /** * */ @Test public void testCopyMapToNewBean_SrcNull() {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 34.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
String toTest = MoreObjects.toStringHelper(new TestClass()).add("field1", "Hello").toString(); assertEquals("TestClass{field1=Hello}", toTest); } @GwtIncompatible // Class names are obfuscated in GWT public void testToString_oneIntegerField() { String toTest = MoreObjects.toStringHelper(new TestClass()).add("field1", Integer.valueOf(42)).toString(); assertEquals("TestClass{field1=42}", toTest); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 09 21:19:18 UTC 2024 - 21.3K bytes - Viewed (0) -
native-image-tests/src/test/kotlin/okhttp3/nativeImage/NativeImageTestsTest.kt
val x = findTests(testSelector) x.find { it is ClassBasedTestDescriptor && it.testClass == SampleTest::class.java } } @Test fun testFindsModuleTests() { val testSelector = DiscoverySelectors.selectPackage("okhttp3") val x = findTests(listOf(testSelector)) x.find { it is ClassBasedTestDescriptor && it.testClass == SampleTest::class.java } } @Test fun testFindsProjectTests() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.8K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt
val knownTestFile = File("src/main/resources/testlist.txt").absoluteFile knownTestFile.readLines().forEach { try { val testClass = access.findClassByName(it) if (testClass != null) { access.registerAsUsed(testClass) registerTest(access, testClass) } } catch (e: Exception) { // If you throw an exception here then native image building fails half way through
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/MoreObjectsTest.java
tester.testAllPublicStaticMethods(MoreObjects.class); tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass())); } /** Test class for testing formatting of inner classes. */ private static class TestClass {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/MoreObjectsTest.java
tester.testAllPublicStaticMethods(MoreObjects.class); tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass())); } /** Test class for testing formatting of inner classes. */ private static class TestClass {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
} } List<Class<?>> result = Lists.newArrayList(); NEXT_CANDIDATE: for (Class<?> candidate : Iterables.filter(candidateClasses, classFilter)) { for (Class<?> testClass : testClasses.get(candidate)) { if (hasTest(testClass, explicitTestNames)) { // covered by explicit test continue NEXT_CANDIDATE; } } result.add(candidate); } return result;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 17.9K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt
val testSelector = DiscoverySelectors.selectPackage("okhttp3") val testClasses = findTests(listOf(testSelector)) .filter { it.isContainer } .mapNotNull { (it as? ClassBasedTestDescriptor)?.testClass?.name } .filterNot { it in avoidedTests } .sorted() .distinct() knownTestFile.writeText(testClasses.joinToString("\n"))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0)