use of com.intellij.javaee.XMLCatalogManager in project intellij-community by JetBrains.
the class XMLCatalogManagerTest method testCatalogManager.
public void testCatalogManager() throws Exception {
XMLCatalogManager manager = getManager();
CatalogManager catalogManager = manager.getManager();
Vector files = catalogManager.getCatalogFiles();
assertEquals(1, files.size());
String filePath = (String) files.get(0);
assertTrue(filePath, filePath.endsWith("catalog.xml"));
assertTrue(filePath, new File(new URI(filePath)).exists());
}
Aggregations