package com.vaadin.ui;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class LabelTest {
@Test
public void emptyLabelValue() {
assertEquals("", new Label().getValue());
}
@Test
public void labelInitialValue() {
assertEquals("initial", new Label("initial").getValue());
}
@Test
public void labelSetValue() {
Label label = new Label();
label.setValue("foo");
assertEquals("foo", label.getValue());
}
}
span='2'>
index : nextcloud-server.git | |
Nextcloud server, a safe home for all your data: https://github.com/nextcloud/server | www-data |
blob: e775717092abe2c73dc92295c50b8791665e8981 (
plain)