Search in sources :

Example 6 with HasLabel

use of com.vaadin.flow.component.HasLabel in project flow-components by vaadin.

the class HasLabelTest method numberField.

@Test
public void numberField() {
    NumberField c = new NumberField();
    Assert.assertTrue(c instanceof HasLabel);
}
Also used : HasLabel(com.vaadin.flow.component.HasLabel) NumberField(com.vaadin.flow.component.textfield.NumberField) Test(org.junit.Test)

Example 7 with HasLabel

use of com.vaadin.flow.component.HasLabel in project flow-components by vaadin.

the class HasLabelTest method textArea.

@Test
public void textArea() {
    TextArea c = new TextArea();
    Assert.assertTrue(c instanceof HasLabel);
}
Also used : HasLabel(com.vaadin.flow.component.HasLabel) TextArea(com.vaadin.flow.component.textfield.TextArea) Test(org.junit.Test)

Example 8 with HasLabel

use of com.vaadin.flow.component.HasLabel in project flow-components by vaadin.

the class HasLabelTest method passwordField.

@Test
public void passwordField() {
    TextField c = new TextField();
    Assert.assertTrue(c instanceof HasLabel);
}
Also used : HasLabel(com.vaadin.flow.component.HasLabel) TextField(com.vaadin.flow.component.textfield.TextField) Test(org.junit.Test)

Example 9 with HasLabel

use of com.vaadin.flow.component.HasLabel in project flow-components by vaadin.

the class HasLabelTest method tab.

@Test
public void tab() {
    Tab c = new Tab();
    Assert.assertTrue(c instanceof HasLabel);
}
Also used : HasLabel(com.vaadin.flow.component.HasLabel) Tab(com.vaadin.flow.component.tabs.Tab) Test(org.junit.Test)

Example 10 with HasLabel

use of com.vaadin.flow.component.HasLabel in project flow-components by vaadin.

the class HasLabelTest method tab.

@Test
public void tab() {
    TimePicker c = new TimePicker();
    Assert.assertTrue(c instanceof HasLabel);
}
Also used : HasLabel(com.vaadin.flow.component.HasLabel) TimePicker(com.vaadin.flow.component.timepicker.TimePicker) Test(org.junit.Test)

Aggregations

HasLabel (com.vaadin.flow.component.HasLabel)10 Test (org.junit.Test)10 TextField (com.vaadin.flow.component.textfield.TextField)2 Checkbox (com.vaadin.flow.component.checkbox.Checkbox)1 Tab (com.vaadin.flow.component.tabs.Tab)1 BigDecimalField (com.vaadin.flow.component.textfield.BigDecimalField)1 EmailField (com.vaadin.flow.component.textfield.EmailField)1 IntegerField (com.vaadin.flow.component.textfield.IntegerField)1 NumberField (com.vaadin.flow.component.textfield.NumberField)1 TextArea (com.vaadin.flow.component.textfield.TextArea)1 TimePicker (com.vaadin.flow.component.timepicker.TimePicker)1