Author: ggregory
Date: Tue Jul 28 07:57:49 2009
New Revision: 798436

URL: http://svn.apache.org/viewvc?rev=798436&view=rev
Log:
Bring code coverage to 100%/100% line/branch.

Added:
    
commons/proper/codec/trunk/src/test/org/apache/commons/codec/net/UtilsTest.java

Added: 
commons/proper/codec/trunk/src/test/org/apache/commons/codec/net/UtilsTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/org/apache/commons/codec/net/UtilsTest.java?rev=798436&view=auto
==============================================================================
--- 
commons/proper/codec/trunk/src/test/org/apache/commons/codec/net/UtilsTest.java 
(added)
+++ 
commons/proper/codec/trunk/src/test/org/apache/commons/codec/net/UtilsTest.java 
Tue Jul 28 07:57:49 2009
@@ -0,0 +1,36 @@
+/*
+ * 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.commons.codec.net;
+
+/**
+ * Tests Utils. Methods currently get 100%/100% line/branch code coverage from 
other tests classes.
+ * 
+ * @author <a href="mailto:ggreg...@seagullsw.com";>Gary Gregory</a>
+ * @version $Id: $
+ */
+public class UtilsTest {
+
+    /**
+     * We could make the constructor private but there does not seem to be a 
point to jumping through extra code hoops
+     * to restrict instantiation right now.
+     */
+    public void testConstructor() {
+        new Utils();
+    }
+
+}


Reply via email to