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.

CurrentTimeMillis.java 638B

123456789101112131415161718192021222324252627
  1. package com.vaadin.tests;
  2. import com.vaadin.server.VaadinRequest;
  3. import com.vaadin.tests.components.AbstractReindeerTestUI;
  4. /**
  5. * Test UI (empty) to check high resolution time availability in browser.
  6. *
  7. * @author Vaadin Ltd
  8. */
  9. public class CurrentTimeMillis extends AbstractReindeerTestUI {
  10. @Override
  11. protected void setup(VaadinRequest request) {
  12. // no need to add anything
  13. }
  14. @Override
  15. protected Integer getTicketNumber() {
  16. return 14716;
  17. }
  18. @Override
  19. protected String getTestDescription() {
  20. return "Use high precision time is available instead of Date.getTime().";
  21. }
  22. }