Author: kkolinko
Date: Wed May 19 03:57:04 2010
New Revision: 946013

URL: http://svn.apache.org/viewvc?rev=946013&view=rev
Log:
A simple testcase that prints version info

Added:
    tomcat/trunk/test/org/apache/catalina/util/TestServerInfo.java   (with 
props)

Added: tomcat/trunk/test/org/apache/catalina/util/TestServerInfo.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/util/TestServerInfo.java?rev=946013&view=auto
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/util/TestServerInfo.java (added)
+++ tomcat/trunk/test/org/apache/catalina/util/TestServerInfo.java Wed May 19 
03:57:04 2010
@@ -0,0 +1,30 @@
+/*
+ * 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.catalina.util;
+
+import junit.framework.TestCase;
+
+public class TestServerInfo extends TestCase {
+
+    /**
+     * Test that prints the server version info. 
+     */
+    public void testServerInfo() {
+        ServerInfo.main(new String[0]);
+    }
+}

Propchange: tomcat/trunk/test/org/apache/catalina/util/TestServerInfo.java
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to