creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1407964 - /creadur/whisker/trunk/apache-whisker-plugin4maven/src/test/java/org/apache/creadur/whisker/it/Helpers.java
Date Sun, 11 Nov 2012 12:45:15 GMT
Author: rdonkin
Date: Sun Nov 11 12:45:14 2012
New Revision: 1407964

URL: http://svn.apache.org/viewvc?rev=1407964&view=rev
Log:
Improve recognition of AL2 and MIT in integration tests

Modified:
    creadur/whisker/trunk/apache-whisker-plugin4maven/src/test/java/org/apache/creadur/whisker/it/Helpers.java

Modified: creadur/whisker/trunk/apache-whisker-plugin4maven/src/test/java/org/apache/creadur/whisker/it/Helpers.java
URL: http://svn.apache.org/viewvc/creadur/whisker/trunk/apache-whisker-plugin4maven/src/test/java/org/apache/creadur/whisker/it/Helpers.java?rev=1407964&r1=1407963&r2=1407964&view=diff
==============================================================================
--- creadur/whisker/trunk/apache-whisker-plugin4maven/src/test/java/org/apache/creadur/whisker/it/Helpers.java
(original)
+++ creadur/whisker/trunk/apache-whisker-plugin4maven/src/test/java/org/apache/creadur/whisker/it/Helpers.java
Sun Nov 11 12:45:14 2012
@@ -34,11 +34,13 @@ public class Helpers {
     }
 
     public static Check aLineContainsAL2() {
-        return new AnyLineContainsCheck("Version 2.0, January 2004");
+        return containsBothLines("Apache License", "Version 2.0, January 2004");
     }
 
     public static Check aLineContainsMIT() {
-        return new AnyLineContainsCheck("Permission is hereby granted, free of charge, to
any person");
+        return containsBothLines(
+                "Permission is hereby granted, free of charge, to any person",
+                "The above copyright notice and this permission notice");
     }
 
     public static Check aLineContainsCDDL1() {



Mime
View raw message