📄 alltests.java
字号:
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */package org.apache.wicket.examples;import junit.framework.Test;import junit.framework.TestSuite;import org.apache.wicket.examples.ajax.prototype.AjaxTest;import org.apache.wicket.examples.compref.ComprefTest;import org.apache.wicket.examples.encodings.EncodingTest;import org.apache.wicket.examples.forminput.FormInputTest;import org.apache.wicket.examples.guestbook.GuestbookTest;import org.apache.wicket.examples.hangman.HangManTest;import org.apache.wicket.examples.hangman.WordGeneratorTest;import org.apache.wicket.examples.helloworld.HelloWorldTest;import org.apache.wicket.examples.images.ImagesTest;import org.apache.wicket.examples.library.LibraryTest;import org.apache.wicket.examples.linkomatic.LinkomaticTest;import org.apache.wicket.examples.niceurl.NiceUrlTest;import org.apache.wicket.examples.panels.signin.CookieTest;import org.apache.wicket.examples.repeater.RepeaterTest;import org.apache.wicket.examples.signin2.Signin2Test;import org.apache.wicket.util.license.ApacheLicenceHeaderTest;import com.meterware.httpunit.HttpUnitOptions;/** * All tests in the project; used by Maven. */public final class AllTests extends TestSuite{ /** * Suite method. * * @return test suite */ public static Test suite() { // The javascript 'history' variable is not supported by // httpunit and we don't want httpunit to throw an // exception just because they can not handle it. HttpUnitOptions.setExceptionsThrownOnScriptError(false); TestSuite suite = new TestSuite(); suite.addTestSuite(HangManTest.class); suite.addTestSuite(WordGeneratorTest.class); suite.addTestSuite(HelloWorldTest.class); suite.addTestSuite(GuestbookTest.class); suite.addTestSuite(FormInputTest.class); suite.addTestSuite(LinkomaticTest.class); suite.addTestSuite(Signin2Test.class); suite.addTestSuite(CookieTest.class); suite.addTestSuite(AjaxTest.class); suite.addTestSuite(ComprefTest.class); suite.addTestSuite(EncodingTest.class); suite.addTestSuite(NiceUrlTest.class); suite.addTestSuite(RepeaterTest.class); suite.addTestSuite(ImagesTest.class); suite.addTestSuite(LibraryTest.class); suite.addTestSuite(ApacheLicenceHeaderTest.class); JettyTestCaseDecorator deco = new JettyTestCaseDecorator(suite); return deco; } /** * Construct. */ public AllTests() { super(); } /** * Construct. * * @param arg0 */ public AllTests(Class arg0) { super(arg0); } /** * Construct. * * @param arg0 * @param arg1 */ public AllTests(Class arg0, String arg1) { super(arg0, arg1); } /** * Construct. * * @param arg0 */ public AllTests(String arg0) { super(arg0); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -