* Ensure that the latest device repository has duplicate secondary
* header ID regular expressions for each one starting with X-WAP-PROFILE.
*/
// SEE NOTE ABOVE AS TO WHY THIS WAS DISABLED.
public void NOtestLatestDeviceRepository() throws Exception {
DeviceRepositoryFactory factory =
DeviceRepositoryFactory.getDefaultInstance();
// NOTE: THIS IS VERY SLOW AS THE LATEST DEVICES FILE IS HUGE.
// IT HAS BEEN DELETED FOR THE MOMENT. IF YOU WANT TO TEST THIS YOU
// NEED TO ADD YOUR OWN MANUALLY.
File deviceRepositoryFile = extractTempZipFromJarFile(
DevicePatternTestCase.class,
"latest-devices.mdpr",
DeviceRepositoryConstants.REPOSITORY_EXTENSION);
URL deviceRepositoryUrl = deviceRepositoryFile.toURL();
DeviceRepository deviceRepository =
factory.getDeviceRepository(deviceRepositoryUrl, null);
List devicesWithXWAPProfileSecondaryIDs = new ArrayList();
devicesWithXWAPProfileSecondaryIDs.add("Palm-Blazer");
devicesWithXWAPProfileSecondaryIDs.add("Blazer-3_0");
devicesWithXWAPProfileSecondaryIDs.add("XHTML-Handset");