/* * SvnKitTest.java * 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). * * Hamish Cunningham, 4th Jan 2007 */ package gate.versioning.svnkit; import java.io.*; import java.net.*; import junit.framework.*; import org.springframework.context.support.*; import org.tmatesoft.svn.examples.wc.*; import gate.util.*; import org.apache.log4j.Logger; /** * SVNKit example code. */ public class SvnKitTest extends TestCase { /** Create the test case */ public SvnKitTest(String testName) { super(testName); } /** Logger */ static Logger lgr = Logger.getLogger("gate.versioning.svnkit"); /** SInS (plain) logger */ static Logger slgr = Logger.getLogger("gate.sins"); /** * Test the SVNKit example code. */ public void testExamples() throws Exception { slgr.info("============= SvnKitTest.testTMateExamples() ==============="); lgr.info("Running TMate working copy main..."); WorkingCopy wc = new WorkingCopy(); wc.main(null); slgr.info("============================================================"); } // testExamples() }