Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for destClass (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

    import java.util.Set;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class GenericsUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testClass() throws Exception {
            final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Foo.class);
            assertThat(map, is(notNullValue()));
            assertThat(map.isEmpty(), is(false));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      }
    
      @SuppressLint("NewApi")
      private fun ExtensionContext.isFlaky(): Boolean {
        return (testMethod.orElseGet { null }?.isAnnotationPresent(Flaky::class.java) == true) ||
          (testClass.orElseGet { null }?.isAnnotationPresent(Flaky::class.java) == true)
      }
    
      @Synchronized private fun logEvents() {
        // Will be ineffective if test overrides the listener
        synchronized(clientEventsList) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top