/* * FileUtilsTests.groovy * Copyright (c) 1998-2008, The University of Sheffield. * * This code is from the GATE project (http://gate.ac.uk/) and is free * software licenced under the GNU General Public License version 3. It is * distributed without any warranty. For more details see COPYING.txt in the * top level directory (or at http://gatewiki.sf.net/COPYING.txt). */ import gate.util.FileUtils import org.apache.log4j.Logger /** * Some tests for file utilities. * @author Hamish Cunningham */ class FileUtilsTests extends GroovyTestCase { void setUp() { // to print the current state of the classpath: // this.getClass().classLoader.rootLoader.URLs.each{ println it } } void testSetBodyDiv() { log.debug("doing testSetBodyDiv") String pageString = '''
''' String expected = '''