creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1549120 - in /creadur/rat/branches/gsoc/apache-rat-core/src: main/java/org/apache/rat/document/impl/guesser/GuessUtils.java test/java/org/apache/rat/document/impl/guesser/GuessUtilsTest.java
Date Sun, 08 Dec 2013 19:07:41 GMT
Author: rdonkin
Date: Sun Dec  8 19:07:41 2013
New Revision: 1549120

URL: http://svn.apache.org/r1549120
Log:
Add test: testGuessUtilsConstructor

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/GuessUtils.java
    creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/GuessUtilsTest.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/GuessUtils.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/GuessUtils.java?rev=1549120&r1=1549119&r2=1549120&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/GuessUtils.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/GuessUtils.java
Sun Dec  8 19:07:41 2013
@@ -33,7 +33,7 @@ public final class GuessUtils {
 	/**
 	 * Instantiates a new guess utils.
 	 */
-	private GuessUtils() {
+	public GuessUtils() {
 		super();
 	}
 

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/GuessUtilsTest.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/GuessUtilsTest.java?rev=1549120&r1=1549119&r2=1549120&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/GuessUtilsTest.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/impl/guesser/GuessUtilsTest.java
Sun Dec  8 19:07:41 2013
@@ -18,6 +18,9 @@
  */ 
 package org.apache.rat.document.impl.guesser;
 
+import junit.framework.Assert;
+
+import org.apache.rat.document.impl.guesser.GuessUtils;
 import org.junit.Test;
 
 import static org.junit.Assert.assertEquals;
@@ -33,4 +36,9 @@ public class GuessUtilsTest {
         assertEquals("LICENSE.TXT", GuessUtils.normalise("some\\path\\license.txt"));
         assertEquals("", GuessUtils.normalise("/"));
     }
+    
+    @Test
+	public void testGuessUtilsConstructor() {
+		Assert.assertNotNull(new GuessUtils());
+    }
 }



Mime
View raw message