Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_newInstance (0.43 sec)

  1. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            dataStoreParams.putAll(emptyMap);
    
            assertEquals("existingValue", dataStoreParams.get("existingKey"));
        }
    
        // Test newInstance
        public void test_newInstance() {
            dataStoreParams.put("key1", "value1");
            dataStoreParams.put("key2", 123);
    
            DataStoreParams newParams = dataStoreParams.newInstance();
    
            assertNotNull(newParams);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotSame;
    
    class ProblemCollectorFactoryTest {
    
        @Test
        void testNewInstance() {
            ProblemCollector collector1 = ProblemCollectorFactory.newInstance(null);
    
            Problem problem = new DefaultProblem("MESSAGE1", null, null, -1, -1, null);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Jul 20 20:19:43 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            assertThat(beanDesc.hasPropertyDesc("hhh"), is(not(true)));
            assertThat(beanDesc.hasPropertyDesc("iii"), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testNewInstance() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(Integer.class);
            assertThat((Integer) beanDesc.newInstance(10), is(10));
            assertThat((Integer) beanDesc.newInstance("10"), is(10));
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top