Search in sources :

Example 11 with AngularTemplate

use of com.vaadin.flow.template.angular.AngularTemplate in project flow by vaadin.

the class ClientDelegteHandlersTest method attach_methodCheckedExcepotion_ExceptionIsThrown.

@Test(expected = IllegalStateException.class)
public void attach_methodCheckedExcepotion_ExceptionIsThrown() {
    UI ui = new UI();
    AngularTemplate template = new TemplateWithMethodDeclaringCheckedException();
    ui.add(template);
}
Also used : UI(com.vaadin.flow.component.UI) AngularTemplate(com.vaadin.flow.template.angular.AngularTemplate) Test(org.junit.Test)

Aggregations

UI (com.vaadin.flow.component.UI)11 AngularTemplate (com.vaadin.flow.template.angular.AngularTemplate)11 Test (org.junit.Test)11 ClientDelegateHandlers (com.vaadin.flow.internal.nodefeature.ClientDelegateHandlers)5 Element (com.vaadin.flow.dom.Element)2 TemplateElementStateProviderTest (com.vaadin.flow.dom.TemplateElementStateProviderTest)2 InlineTemplate (com.vaadin.flow.template.angular.InlineTemplate)2 AtomicInteger (java.util.concurrent.atomic.AtomicInteger)2