Skip to content

Commit

Permalink
Revert "fix failing tests"
Browse files Browse the repository at this point in the history
This reverts commit 07cc6f4.
  • Loading branch information
Jeff Brown committed Mar 27, 2012
1 parent 9d36b50 commit 8523396
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -20,9 +20,9 @@ class GroovyPageWithJSPTagsTests extends AbstractGrailsTagTests {
GroovySystem.metaClassRegistry.removeMetaClass MockHttpServletRequest
TagLibraryResolver.metaClass.resolveRootLoader = {->
def rootLoader = new RootLoader([] as URL[], Thread.currentThread().getContextClassLoader())
def res = new FileSystemResource("../lib/taglibs/standard/1.1.2/jars/standard-1.1.2.jar")
def res = new FileSystemResource("../lib/taglibs/standard/1.1.2/jar/standard-1.1.2.jar")
rootLoader.addURL res.getURL()
resolver.getResources("file:../lib/org.springframework/spring-web*/*/jars/*.jar").each {
resolver.getResources("file:../lib/org.springframework/spring-web*/*/jar/*.jar").each {
rootLoader.addURL it.getURL()
}
return rootLoader
Expand Down
Expand Up @@ -32,7 +32,7 @@ class IterativeJspTagTests extends GroovyTestCase {

TagLibraryResolver.metaClass.resolveRootLoader = {->
def rootLoader = new RootLoader([] as URL[], Thread.currentThread().getContextClassLoader())
def res = new FileSystemResource("../lib/taglibs/standard/1.1.2/jars/standard-1.1.2.jar")
def res = new FileSystemResource("../lib/taglibs/standard/1.1.2/jar/standard-1.1.2.jar")
rootLoader.addURL res.getURL()
return rootLoader
}
Expand Down
Expand Up @@ -13,7 +13,7 @@ class MockRootLoaderTagLibraryResolver extends TagLibraryResolver {

protected RootLoader resolveRootLoader() {
def rootLoader = new RootLoader([] as URL[], Thread.currentThread().getContextClassLoader())
def res = new FileSystemResource("../lib/taglibs/standard/1.1.2/jars/standard-1.1.2.jar")
def res = new FileSystemResource("../lib/taglibs/standard/1.1.2/jar/standard-1.1.2.jar")
rootLoader.addURL res.getURL()
return rootLoader
}
Expand Down

0 comments on commit 8523396

Please sign in to comment.