You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2010/05/19 05:57:05 UTC

svn commit: r946013 - /tomcat/trunk/test/org/apache/catalina/util/TestServerInfo.java

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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org