You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2007/06/19 08:15:49 UTC

svn commit: r548607 - in /incubator/tuscany/java/sca/modules/http-tomcat/src/test: java/org/apache/tuscany/sca/http/tomcat/TomcatServerTestCase.java resources/content/test.html

Author: jsdelfino
Date: Mon Jun 18 23:15:48 2007
New Revision: 548607

URL: http://svn.apache.org/viewvc?view=rev&rev=548607
Log:
Added license to HTML file.

Modified:
    incubator/tuscany/java/sca/modules/http-tomcat/src/test/java/org/apache/tuscany/sca/http/tomcat/TomcatServerTestCase.java
    incubator/tuscany/java/sca/modules/http-tomcat/src/test/resources/content/test.html

Modified: incubator/tuscany/java/sca/modules/http-tomcat/src/test/java/org/apache/tuscany/sca/http/tomcat/TomcatServerTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/http-tomcat/src/test/java/org/apache/tuscany/sca/http/tomcat/TomcatServerTestCase.java?view=diff&rev=548607&r1=548606&r2=548607
==============================================================================
--- incubator/tuscany/java/sca/modules/http-tomcat/src/test/java/org/apache/tuscany/sca/http/tomcat/TomcatServerTestCase.java (original)
+++ incubator/tuscany/java/sca/modules/http-tomcat/src/test/java/org/apache/tuscany/sca/http/tomcat/TomcatServerTestCase.java Mon Jun 18 23:15:48 2007
@@ -160,7 +160,7 @@
         os.flush();
         
         String document = read(client);
-        assertTrue(document.indexOf("<html><body><p>hello</body></html>") != -1);
+        assertTrue(document.indexOf("<body><p>hello</body>") != -1);
         
         service.destroy();
     }
@@ -180,7 +180,7 @@
         os.flush();
         
         String document = read(client);
-        assertTrue(document.indexOf("<html><body><p>hello</body></html>") != -1);
+        assertTrue(document.indexOf("<body><p>hello</body>") != -1);
         
         service.destroy();
     }

Modified: incubator/tuscany/java/sca/modules/http-tomcat/src/test/resources/content/test.html
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/http-tomcat/src/test/resources/content/test.html?view=diff&rev=548607&r1=548606&r2=548607
==============================================================================
--- incubator/tuscany/java/sca/modules/http-tomcat/src/test/resources/content/test.html (original)
+++ incubator/tuscany/java/sca/modules/http-tomcat/src/test/resources/content/test.html Mon Jun 18 23:15:48 2007
@@ -1 +1,21 @@
-<html><body><p>hello</body></html>
\ No newline at end of file
+<html>
+<!--
+    * 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.    
+-->
+<body><p>hello</body>
+</html>
\ No newline at end of file



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