blob: d766277b484d5ad363f00718068eef65b77efaac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
package com.vaadin.tests.components.tabsheet;
import com.vaadin.tests.components.TestBase;
import com.vaadin.ui.Label;
import com.vaadin.ui.TabSheet;
public class TabSheetWithoutTabCaption extends TestBase {
@Override
protected String getDescription() {
return "There should be a tabsheet with one tab visible. The tab has no caption and contains a label saying 'Tab contents'.";
}
@Override
protected Integer getTicketNumber() {
// TODO Auto-generated method stub
return null;
}
@Override
protected void setup() {
final TabSheet moduleArea = new TabSheet();
Label label = new Label("Tab contents");
moduleArea.addTab(label);
addComponent(moduleArea);
}
}
|