- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testNewInstance (0.16 sec)
-
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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 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: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 13.9K bytes - Viewed (0)