Removed unnecessary tests.

This commit is contained in:
Niklas Herder 2012-04-02 12:39:04 +02:00
parent 5620dd7221
commit 5d4554c984

@ -113,27 +113,6 @@ public class TestDeployConfiguration {
Assert.assertEquals("true", xPath.evaluate("/beanNS:beans/beanNS:bean[@id='applicationSettings']/beanNS:property[@name='acceptExternalAuthentication']/@value", applicationContextXml));
}
@Test
public void testRemoteLookupUrlCfg() throws XPathExpressionException, IOException {
InputSource applicationContextXml = getInputSource(applicationContextPath);
XPath xPath = getApplicationContextXPath();
Assert.assertEquals("https://api.dsv.su.se/rest", xPath.evaluate("/beanNS:beans/beanNS:bean[@id='applicationSettings']/beanNS:property[@name='remoteLookupUrl']/@value", applicationContextXml));
}
@Test
public void testRemoteLookupUserCfg() throws XPathExpressionException, IOException {
InputSource applicationContextXml = getInputSource(applicationContextPath);
XPath xPath = getApplicationContextXPath();
Assert.assertEquals("thesis", xPath.evaluate("/beanNS:beans/beanNS:bean[@id='applicationSettings']/beanNS:property[@name='remoteLookupUser']/@value", applicationContextXml));
}
@Test
public void testRemoteLookupPasswordCfg() throws XPathExpressionException, IOException {
InputSource applicationContextXml = getInputSource(applicationContextPath);
XPath xPath = getApplicationContextXPath();
Assert.assertEquals("dqyhIM8LU5LQ53T3aJNz4SVXeTQ95dLGkN7JlLOv7X7jeTR2NR", xPath.evaluate("/beanNS:beans/beanNS:bean[@id='applicationSettings']/beanNS:property[@name='remoteLookupPassword']/@value", applicationContextXml));
}
@Test
public void testRemoteLookupImplCfg() throws XPathExpressionException, IOException {
InputSource applicationContextXml = getInputSource(applicationContextPath);