package com.vaadin.tests.components.ui;

import com.vaadin.annotations.Theme;
import com.vaadin.server.VaadinRequest;
import com.vaadin.tests.components.AbstractTestUI;
import com.vaadin.ui.Label;

@Theme("tests-tickets")
public class TestUITheme extends AbstractTestUI {

    @Override
    protected void setup(VaadinRequest request) {
        Label label = new Label("A red label");
        label.setStyleName("red");
        addComponent(label);
    }

    @Override
    public String getTestDescription() {
        return "UI with @Theme(\"tests-tickets\")";
    }

    @Override
    protected Integer getTicketNumber() {
        return Integer.valueOf(7885);
    }

}

@@ -365,19 +365,21 @@
 abel(%22A 
+g
 re
-d
+en
  label%22)
@@ -412,11 +412,13 @@
 me(%22
+g
 re
-d
+en
 %22);%0A
@@ -557,16 +557,99 @@
 ckets%5C%22)
+. The label uses a stylename that should only be defined in the test-tickets theme.
 %22;%0A    %7D

Update test to not use red for success.