use of org.robobinding.codegen.presentationmodel.PresentationModelInfo in project RoboBinding by RoboBinding.
the class ItemPresentationModelTest method shouldAllDataSetPropertiesTreatedAsProperties.
@Test
public void shouldAllDataSetPropertiesTreatedAsProperties() {
PresentationModelInfo result = processJavaFileOf(PresentationModelForDataSetProp.class);
assertThat(result.properties().size(), is(1));
assertThat(result.dataSetProperties().size(), is(0));
}
use of org.robobinding.codegen.presentationmodel.PresentationModelInfo in project RoboBinding by RoboBinding.
the class PresentationModelTest method shouldMethodForDataSetPropertyIgnored.
@Test
public void shouldMethodForDataSetPropertyIgnored() {
PresentationModelInfo result = processJavaFileOf(MethodsForDataSetPropertyIgnored.class);
assertThat(result.properties().size(), is(0));
}
use of org.robobinding.codegen.presentationmodel.PresentationModelInfo in project RoboBinding by RoboBinding.
the class PresentationModelTest method shouldInvalidEventMethodIgnored.
@Test
public void shouldInvalidEventMethodIgnored() {
PresentationModelInfo result = processJavaFileOf(InvalidEventMethodIgnored.class);
assertThat(result.eventMethods().size(), is(0));
}
use of org.robobinding.codegen.presentationmodel.PresentationModelInfo in project RoboBinding by RoboBinding.
the class PresentationModelTest method shouldInvaidPropertiesIgnored.
@Test
public void shouldInvaidPropertiesIgnored() {
PresentationModelInfo result = processJavaFileOf(InvalidPropertiesIgnored.class);
assertThat(result.properties().size(), is(0));
}
Aggregations