This project has retired. For details please refer to its
Attic page.
JetspeedTestCase xref
1/*2 * Copyright 2000-2004 The Apache Software Foundation.3 * 4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 */16packageorg.apache.jetspeed.test;
1718// JUnit classes19import junit.framework.TestCase;
2021// Log4j classes22import org.apache.log4j.Logger;
23import org.apache.log4j.Level;
24import org.apache.log4j.ConsoleAppender;
25import org.apache.log4j.SimpleLayout;
2627/***28 * @author <a href="mailto:harald@ommang.com">Harald Ommang</a>29 *30 * Base abstract class for testcases with static initialization used to31 * avoid Log4J configuration warnings32 *33 * @version $Id: JetspeedTestCase.java,v 1.1 2004/04/07 22:02:41 jford Exp $34 */35publicabstractclassJetspeedTestCaseextends TestCase
36 {
3738static39 {
40// Done41 ConsoleAppender ca = new ConsoleAppender(new SimpleLayout());
42 Logger root = Logger.getRootLogger();
43 root.setLevel(Level.INFO);
44 root.addAppender(ca);
45 }
4647publicJetspeedTestCase(String name)
48 {
49super(name);
50 }
5152 }
53