creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1548453 - /creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/ApacheSoftwareLicense20Test.java
Date Fri, 06 Dec 2013 09:14:43 GMT
Author: rdonkin
Date: Fri Dec  6 09:14:42 2013
New Revision: 1548453

URL: http://svn.apache.org/r1548453
Log:
For each test method there is only one assert.

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/ApacheSoftwareLicense20Test.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/ApacheSoftwareLicense20Test.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/ApacheSoftwareLicense20Test.java?rev=1548453&r1=1548452&r2=1548453&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/ApacheSoftwareLicense20Test.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/license/ApacheSoftwareLicense20Test.java
Fri Dec  6 09:14:42 2013
@@ -40,15 +40,6 @@ public class ApacheSoftwareLicense20Test
     @Test
     public void testMatchesFirstApacheLicense() {
         assertTrue(worker.matches(ApacheSoftwareLicense20.FIRST_LICENSE_LINE));
-        assertTrue(worker.matches("    Licensed under the Apache License, Version 2.0 (the
\"License\");"));
-        assertTrue(worker.matches("Licensed under the Apache License, Version 2.0 (the \"License\");"));
-        assertTrue(worker.matches(" * Licensed under the Apache License, Version 2.0 (the
\"License\");"));
-        assertTrue(worker.matches(" // Licensed under the Apache License, Version 2.0 (the
\"License\");"));
-        assertTrue(worker.matches(" /* Licensed under the Apache License, Version 2.0 (the
\"License\");"));
-        assertTrue(worker.matches("    Licensed under the Apache License, Version 2.0 (the
\"License\");"));
-        assertTrue(worker.matches(" ## Licensed under the Apache License, Version 2.0 (the
\"License\");"));
-        assertTrue(worker.matches(" ## Licensed under the Apache License, Version 2.0 (the
\"License\") ##);"));
-        assertFalse(worker.matches("'Behold, Telemachus! (nor fear the sight,)"));
     }
 
     @Test



Mime
View raw message