creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1548288 - /creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequiredTest.java
Date Thu, 05 Dec 2013 20:41:34 GMT
Author: rdonkin
Date: Thu Dec  5 20:41:34 2013
New Revision: 1548288

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

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

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequiredTest.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequiredTest.java?rev=1548288&r1=1548287&r2=1548288&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequiredTest.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequiredTest.java
Thu Dec  5 20:41:34 2013
@@ -40,10 +40,8 @@ public class GeneratedLicenseNotRequired
 	}
 
 	@Test
-	public void match() throws RatHeaderAnalysisException {
+	public void testMatchPatternLicense() throws RatHeaderAnalysisException {
 		final Document subject = new MockLocation("subject");
-		assertFalse("Does not match regex",
-				license.match(subject, "Not at all"));
 		assertTrue("Matches regex", license.match(subject, "This is Generated"));
 	}
 }



Mime
View raw message