KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > myfaces > AllTests


1 /*
2  * Copyright 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 at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * 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 and
14  * limitations under the License.
15  */

16 package org.apache.myfaces;
17
18 import junit.framework.Test;
19 import junit.framework.TestSuite;
20 import org.apache.myfaces.application.ApplicationTest;
21 import org.apache.myfaces.context.servlet.ApplicationMapTest;
22 import org.apache.myfaces.context.servlet.CookieMapTest;
23 import org.apache.myfaces.el.MethodBindingTest;
24 import org.apache.myfaces.el.SetValueBindingTest;
25 import org.apache.myfaces.el.ValueBindingTest;
26
27
28 public class AllTests {
29
30     public static void main(String JavaDoc[] args) {
31         junit.textui.TestRunner.run(AllTests.class);
32     }
33
34     public static Test suite() {
35         TestSuite suite = new TestSuite(
36                 "Test for org.apache.myfaces.application");
37         
38         //$JUnit-BEGIN$
39
suite.addTestSuite(ApplicationTest.class);
40         suite.addTestSuite(ValueBindingTest.class);
41         suite.addTestSuite(SetValueBindingTest.class);
42         suite.addTestSuite(MethodBindingTest.class);
43         suite.addTestSuite(ApplicationMapTest.class);
44         suite.addTestSuite(CookieMapTest.class);
45         //$JUnit-END$
46

47         return suite;
48     }
49 }
50
Popular Tags