You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

WindowInUiWithNoContent.java 799B

12345678910111213141516171819202122232425262728293031323334
  1. package com.vaadin.tests.components.window;
  2. import com.vaadin.server.VaadinRequest;
  3. import com.vaadin.tests.components.AbstractReindeerTestUI;
  4. import com.vaadin.ui.Window;
  5. /**
  6. * Test UI for Window attached to the UI with not content.
  7. *
  8. * @since 7.2
  9. * @author Vaadin Ltd
  10. */
  11. public class WindowInUiWithNoContent extends AbstractReindeerTestUI {
  12. @Override
  13. protected void setup(VaadinRequest request) {
  14. // This is requires for the test
  15. setContent(null);
  16. Window window = new Window("window");
  17. addWindow(window);
  18. }
  19. @Override
  20. protected String getTestDescription() {
  21. return "Client UI component should not use VWindow as a content component";
  22. }
  23. @Override
  24. protected Integer getTicketNumber() {
  25. return 13127;
  26. }
  27. }