labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simo...@apache.org
Subject svn commit: r796127 - in /labs/magma/trunk: foundation-basics/ foundation-website/src/test/java/org/apache/magma/website/ foundation-website/src/test/resources/org/apache/magma/website/teststuff/ maven-magma-plugin/
Date Tue, 21 Jul 2009 02:54:41 GMT
Author: simoneg
Date: Tue Jul 21 02:54:40 2009
New Revision: 796127

URL: http://svn.apache.org/viewvc?rev=796127&view=rev
Log:
LABS-393 : missing Apache headers

Added:
    labs/magma/trunk/maven-magma-plugin/saving-cache.patch   (props changed)
      - copied unchanged from r738069, labs/magma/trunk/maven-magma-plugin/patch-saving-cache
Removed:
    labs/magma/trunk/maven-magma-plugin/patch-saving-cache
Modified:
    labs/magma/trunk/foundation-basics/.fbprefs
    labs/magma/trunk/foundation-website/src/test/java/org/apache/magma/website/WebHandlerCycleTest.java
    labs/magma/trunk/foundation-website/src/test/resources/org/apache/magma/website/teststuff/resource.txt

Modified: labs/magma/trunk/foundation-basics/.fbprefs
URL: http://svn.apache.org/viewvc/labs/magma/trunk/foundation-basics/.fbprefs?rev=796127&r1=796126&r2=796127&view=diff
==============================================================================
--- labs/magma/trunk/foundation-basics/.fbprefs (original)
+++ labs/magma/trunk/foundation-basics/.fbprefs Tue Jul 21 02:54:40 2009
@@ -1,3 +1,18 @@
+#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.
+
 #FindBugs User Preferences
 #Sun Apr 20 12:19:38 CEST 2008
 detectorAppendingToAnObjectOutputStream=AppendingToAnObjectOutputStream|true

Modified: labs/magma/trunk/foundation-website/src/test/java/org/apache/magma/website/WebHandlerCycleTest.java
URL: http://svn.apache.org/viewvc/labs/magma/trunk/foundation-website/src/test/java/org/apache/magma/website/WebHandlerCycleTest.java?rev=796127&r1=796126&r2=796127&view=diff
==============================================================================
--- labs/magma/trunk/foundation-website/src/test/java/org/apache/magma/website/WebHandlerCycleTest.java
(original)
+++ labs/magma/trunk/foundation-website/src/test/java/org/apache/magma/website/WebHandlerCycleTest.java
Tue Jul 21 02:54:40 2009
@@ -261,7 +261,9 @@
 		def.setupDefaults("/test/resource.txt");
 		def.start();
 		
-		assertEquals("This is a sample resource", def.out.toString());
+		String resout = def.out.toString();
+		
+		assertTrue("Resource not loaded correctly", resout.trim().endsWith("This is a sample resource"));
 	}
 	
 	@Test

Modified: labs/magma/trunk/foundation-website/src/test/resources/org/apache/magma/website/teststuff/resource.txt
URL: http://svn.apache.org/viewvc/labs/magma/trunk/foundation-website/src/test/resources/org/apache/magma/website/teststuff/resource.txt?rev=796127&r1=796126&r2=796127&view=diff
==============================================================================
--- labs/magma/trunk/foundation-website/src/test/resources/org/apache/magma/website/teststuff/resource.txt
(original)
+++ labs/magma/trunk/foundation-website/src/test/resources/org/apache/magma/website/teststuff/resource.txt
Tue Jul 21 02:54:40 2009
@@ -1 +1,15 @@
+## 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.
 This is a sample resource
\ No newline at end of file

Propchange: labs/magma/trunk/maven-magma-plugin/saving-cache.patch
------------------------------------------------------------------------------
    svn:mergeinfo = 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message