01: /*
02: * WbTestCase.java
03: *
04: * This file is part of SQL Workbench/J, http://www.sql-workbench.net
05: *
06: * Copyright 2002-2008, Thomas Kellerer
07: * No part of this code maybe reused without the permission of the author
08: *
09: * To contact the author please send an email to: support@sql-workbench.net
10: *
11: */
12: package workbench;
13:
14: import junit.framework.TestCase;
15:
16: /**
17: * @author support@sql-workbench.net
18: */
19: public class WbTestCase extends TestCase {
20: public WbTestCase(String testName) {
21: super (testName);
22: }
23:
24: protected TestUtil getTestUtil() {
25: TestUtil util = new TestUtil(getName());
26: return util;
27: }
28:
29: protected TestUtil getTestUtil(String method) {
30: return new TestUtil(getName() + "_" + "method");
31: }
32: }
|