Examples of DeviceCategory


Examples of net.sf.uadetector.DeviceCategory

    assertThat(os.getProducerUrl()).isEqualTo("http://www.apple.com/");
    assertThat(os.getUrl()).isEqualTo("http://www.apple.com/osx/");
    assertThat(os.getVersionNumber().toVersionString()).isEqualTo("10.6.8");

    // check device category informations
    final DeviceCategory category = agent.getDeviceCategory();
    assertThat(category.getCategory()).isEqualTo(Category.PERSONAL_COMPUTER);
    assertThat(category.getName()).isEqualTo(Category.PERSONAL_COMPUTER.getName());
    assertThat(category.getIcon()).isEqualTo("desktop.png");
    assertThat(category.getInfoUrl()).isEqualTo("/list-of-ua/device-detail?device=Personal computer");
  }
View Full Code Here

Examples of net.sf.uadetector.DeviceCategory

    assertThat(os.getProducerUrl()).isEqualTo("http://www.apple.com/");
    assertThat(os.getUrl()).isEqualTo("http://www.apple.com/osx/");
    assertThat(os.getVersionNumber().toVersionString()).isEqualTo("10.7.4");

    // check device category informations
    final DeviceCategory category = agent.getDeviceCategory();
    assertThat(category.getCategory()).isEqualTo(Category.PERSONAL_COMPUTER);
    assertThat(category.getName()).isEqualTo(Category.PERSONAL_COMPUTER.getName());
    assertThat(category.getIcon()).isEqualTo("desktop.png");
    assertThat(category.getInfoUrl()).isEqualTo("/list-of-ua/device-detail?device=Personal computer");
  }
View Full Code Here

Examples of net.sf.uadetector.DeviceCategory

    assertThat(agent.getTypeName()).isEqualTo("Email client");
    assertThat(agent.getUrl()).isEqualTo("http://www.eudora.com/archive.html");
    assertThat(agent.getVersionNumber().toVersionString()).isEqualTo("");

    // check device category informations
    final DeviceCategory category = agent.getDeviceCategory();
    assertThat(category.getCategory()).isEqualTo(Category.PERSONAL_COMPUTER);
    assertThat(category.getName()).isEqualTo(Category.PERSONAL_COMPUTER.getName());
    assertThat(category.getIcon()).isEqualTo("desktop.png");
    assertThat(category.getInfoUrl()).isEqualTo("/list-of-ua/device-detail?device=Personal computer");
  }
View Full Code Here

Examples of net.sf.uadetector.DeviceCategory

    assertThat(os.getProducerUrl()).isEqualTo("http://www.apple.com/");
    assertThat(os.getUrl()).isEqualTo("http://en.wikipedia.org/wiki/Mac_OS");
    assertThat(os.getVersionNumber().toVersionString()).isEqualTo("");

    // check device category informations
    final DeviceCategory category = agent.getDeviceCategory();
    assertThat(category.getCategory()).isEqualTo(Category.PERSONAL_COMPUTER);
    assertThat(category.getName()).isEqualTo(Category.PERSONAL_COMPUTER.getName());
    assertThat(category.getIcon()).isEqualTo("desktop.png");
    assertThat(category.getInfoUrl()).isEqualTo("/list-of-ua/device-detail?device=Personal computer");
  }
View Full Code Here

Examples of net.sf.uadetector.DeviceCategory

    assertThat(os.getProducerUrl()).isEqualTo("http://www.apple.com/");
    assertThat(os.getUrl()).isEqualTo("http://www.apple.com/osx/");
    assertThat(os.getVersionNumber().toVersionString()).isEqualTo("10.7");

    // check device category informations
    final DeviceCategory category = agent.getDeviceCategory();
    assertThat(category.getCategory()).isEqualTo(Category.PERSONAL_COMPUTER);
    assertThat(category.getName()).isEqualTo(Category.PERSONAL_COMPUTER.getName());
    assertThat(category.getIcon()).isEqualTo("desktop.png");
    assertThat(category.getInfoUrl()).isEqualTo("/list-of-ua/device-detail?device=Personal computer");
  }
View Full Code Here

Examples of net.sf.uadetector.DeviceCategory

    assertThat(os.getProducerUrl()).isEqualTo("http://www.spi-inc.org/");
    assertThat(os.getUrl()).isEqualTo("http://www.debian.org/");
    assertThat(os.getVersionNumber()).isEqualTo(VersionNumber.UNKNOWN);

    // check device category informations
    final DeviceCategory category = agent.getDeviceCategory();
    assertThat(category.getCategory()).isEqualTo(Category.PERSONAL_COMPUTER);
    assertThat(category.getName()).isEqualTo(Category.PERSONAL_COMPUTER.getName());
    assertThat(category.getIcon()).isEqualTo("desktop.png");
    assertThat(category.getInfoUrl()).isEqualTo("/list-of-ua/device-detail?device=Personal computer");
  }
View Full Code Here

Examples of net.sf.uadetector.DeviceCategory

    assertThat(os.getProducerUrl()).isEqualTo("http://www.microsoft.com/");
    assertThat(os.getUrl()).isEqualTo("http://en.wikipedia.org/wiki/Windows_7");
    assertThat(os.getVersionNumber().toVersionString()).isEqualTo("6.1");

    // check device category informations
    final DeviceCategory category = agent.getDeviceCategory();
    assertThat(category.getCategory()).isEqualTo(Category.PERSONAL_COMPUTER);
    assertThat(category.getName()).isEqualTo(Category.PERSONAL_COMPUTER.getName());
    assertThat(category.getIcon()).isEqualTo("desktop.png");
    assertThat(category.getInfoUrl()).isEqualTo("/list-of-ua/device-detail?device=Personal computer");
  }
View Full Code Here

Examples of net.sf.uadetector.DeviceCategory

    assertThat(os.getProducerUrl()).isEqualTo("http://en.wikipedia.org/wiki/Sun_Microsystems");
    assertThat(os.getUrl()).isEqualTo("http://en.wikipedia.org/wiki/Jvm");
    assertThat(os.getVersionNumber().toVersionString()).isEqualTo("1.6.0_31");

    // check device category informations
    final DeviceCategory category = agent.getDeviceCategory();
    assertThat(category.getCategory()).isEqualTo(Category.OTHER);
    assertThat(category.getName()).isEqualTo(Category.OTHER.getName());
    assertThat(category.getIcon()).isEqualTo("other.png");
    assertThat(category.getInfoUrl()).isEqualTo("/list-of-ua/device-detail?device=Other");
  }
View Full Code Here

Examples of net.sf.uadetector.DeviceCategory

    assertThat(os.getProducerUrl()).isEqualTo("http://www.microsoft.com/");
    assertThat(os.getUrl()).isEqualTo("http://en.wikipedia.org/wiki/Windows");
    assertThat(os.getVersionNumber().toVersionString()).isEqualTo("");

    // check device category informations
    final DeviceCategory category = agent.getDeviceCategory();
    assertThat(category.getCategory()).isEqualTo(Category.SMARTPHONE);
    assertThat(category.getName()).isEqualTo(Category.SMARTPHONE.getName());
    assertThat(category.getIcon()).isEqualTo("phone.png");
    assertThat(category.getInfoUrl()).isEqualTo("/list-of-ua/device-detail?device=Smartphone");
  }
View Full Code Here

Examples of net.sf.uadetector.DeviceCategory

    assertThat(os.getProducerUrl()).isEqualTo("http://www.google.com/");
    assertThat(os.getUrl()).isEqualTo("http://en.wikipedia.org/wiki/Android_%28operating_system%29");
    assertThat(os.getVersionNumber().toVersionString()).isEqualTo("4.0.3");

    // check device category informations
    final DeviceCategory category = agent.getDeviceCategory();
    assertThat(category.getCategory()).isEqualTo(Category.TABLET);
    assertThat(category.getName()).isEqualTo(Category.TABLET.getName());
    assertThat(category.getIcon()).isEqualTo("tablet.png");
    assertThat(category.getInfoUrl()).isEqualTo("/list-of-ua/device-detail?device=Tablet");
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.