public void testGetParameters4() throws Exception { loadContentPackage1(); // Check for # Element element = new Element("test"); element.setAttribute(CP_Core.PARAMETERS, "#someParams"); assertEquals("Parameters wrong", "#someParams", cpCore.getParameters(element)); }
public void testGetParameters2() throws Exception { loadContentPackage1(); // Should be null Element element = cpCore.getRootManifestElement(); assertNull("Parameters should be null", cpCore.getParameters(element)); }
public void testGetParameters1() throws Exception { loadContentPackage1(); Element element = cpCore.getElementByIdentifier(cpCore.getRootManifestElement(), CP_Package1.ITEM1_ID); assertEquals("Parameters wrong", "?someParams", cpCore.getParameters(element)); }