use of org.talend.components.api.testcomponent.TestComponentProperties in project components by Talend.
the class ComponentPropertiesInitializationTest method test.
@Test
@Ignore("This is just an example of how performance tests can be written")
@PerfTest(invocations = 5, threads = 1)
@Required(max = 200, average = 100)
public void test() {
TestComponentDefinition cd = new TestComponentDefinition();
TestComponentProperties prop = (TestComponentProperties) cd.createRuntimeProperties();
prop.init();
}
use of org.talend.components.api.testcomponent.TestComponentProperties in project components by Talend.
the class ComponentDefinitionTest method test.
@Test
public void test() {
TestComponentDefinition cd = new TestComponentDefinition();
TestComponentProperties prop = (TestComponentProperties) cd.createRuntimeProperties();
assertNotNull(prop.initLater);
assertNull(prop.mainForm);
}
Aggregations