01: /*
02: * $Id: InvalidResourceSpecificationExceptionTest.java 455679 2005-02-04 08:10:24Z jdonnerstag $
03: * $Revision: 455679 $
04: * $Date: 2005-02-04 09:10:24 +0100 (Fri, 04 Feb 2005) $
05: *
06: * ====================================================================
07: * Licensed under the Apache License, Version 2.0 (the "License");
08: * you may not use this file except in compliance with the License.
09: * You may obtain a copy of the License at
10: *
11: * http://www.apache.org/licenses/LICENSE-2.0
12: *
13: * Unless required by applicable law or agreed to in writing, software
14: * distributed under the License is distributed on an "AS IS" BASIS,
15: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16: * See the License for the specific language governing permissions and
17: * limitations under the License.
18: */
19: package wicket.resource;
20:
21: import wicket.WicketRuntimeException;
22: import wicket.util.ExceptionTestBase;
23:
24: /**
25: * Unit tests for the <code>InvalidResourceSpecificationException</code>.
26: * @author Chris Turner
27: */
28: public class InvalidResourceSpecificationExceptionTest extends
29: ExceptionTestBase {
30:
31: /**
32: * Create the test.
33: * @param s The test name
34: */
35: public InvalidResourceSpecificationExceptionTest(String s) {
36: super (s);
37: }
38:
39: /**
40: * Return the name of the exception class to be tested.
41: * @return The name of the exception class
42: */
43: protected String getExceptionClassName() {
44: return WicketRuntimeException.class.getName();
45: }
46: }
|