- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testNewInstance (0.11 sec)
-
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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sat Apr 15 17:24:20 UTC 2023 - 1.5K bytes - Viewed (0) -
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: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 13.9K bytes - Viewed (0)