git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@697 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
sjfink 2007-02-09 10:06:43 +00:00
parent d6a858ef99
commit 3b979958df
1 changed files with 5 additions and 8 deletions

View File

@ -23,8 +23,7 @@ public class TestAjaxsltCallGraphShape extends TestCallGraphShape {
}
public void setUp() {
Util.setTranslatorFactory(
new JavaScriptTranslatorFactory.CAstRhinoFactory());
Util.setTranslatorFactory(new JavaScriptTranslatorFactory.CAstRhinoFactory());
}
private static final Object[][] assertionsForAjaxslt = new Object[][] {
@ -32,9 +31,8 @@ public class TestAjaxsltCallGraphShape extends TestCallGraphShape {
};
public void testAjaxslt() throws IOException {
URL url =
getClass().getClassLoader().getResource("ajaxslt/test/xslt.html");
CallGraph CG = Util.makeHTMLCG( url );
URL url = getClass().getClassLoader().getResource("ajaxslt/test/xslt.html");
CallGraph CG = Util.makeHTMLCG(url);
verifyGraphAssertions(CG, assertionsForAjaxslt);
}
@ -43,9 +41,8 @@ public class TestAjaxsltCallGraphShape extends TestCallGraphShape {
};
public void testAjaxpath() throws IOException {
URL url =
getClass().getClassLoader().getResource("ajaxslt/test/xpath.html");
CallGraph CG = Util.makeHTMLCG( url );
URL url = getClass().getClassLoader().getResource("ajaxslt/test/xpath.html");
CallGraph CG = Util.makeHTMLCG(url);
verifyGraphAssertions(CG, assertionsForAjaxpath);
}