You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by tv...@apache.org on 2007/05/05 08:58:51 UTC

svn commit: r535465 [46/49] - in /jakarta/turbine/fulcrum/trunk: ./ bsf/ bsf/src/java/org/apache/fulcrum/bsf/ bsf/src/test/ bsf/xdocs/ cache/ cache/src/java/org/apache/fulcrum/cache/ cache/src/java/org/apache/fulcrum/cache/impl/ cache/src/test/ cache/s...

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestComponentConfig.xml
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestComponentConfig.xml?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestComponentConfig.xml (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestComponentConfig.xml Fri May  4 23:58:06 2007
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
 <componentConfig>
 
   <!--
@@ -29,7 +47,7 @@
     tresholds/info@millis := the treshold for the info trace level
     tresholds/warn@millis := the treshold for the warn trace level
     tresholds/error@millis := the treshold for the error trace level
-    tresholds/fatal@millis := the treshold for the fatal trace level    
+    tresholds/fatal@millis := the treshold for the fatal trace level
     services := the list of services being monitored
     services/service@name := the name of the service being monitored
   -->
@@ -57,7 +75,7 @@
     reportFile := the file for the JAMON report
     reportOnExit := create a HTML report on disposal
     services := the list of services being monitored
-    services/service@name := the name of the service being monitored    
+    services/service@name := the name of the service being monitored
   -->
 
   <JamonInterceptorService>
@@ -76,7 +94,7 @@
     interceptors := the list of interceptors for an advised object
     interceptors/interceptor := the name of an interceptor service
   -->
-  
+
   <AdviceService>
     <interceptors>
       <interceptor>org.apache.fulcrum.yaafi.interceptor.performance.PerformanceInterceptorService</interceptor>

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestFortressContainerConfig.xml
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestFortressContainerConfig.xml?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestFortressContainerConfig.xml (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestFortressContainerConfig.xml Fri May  4 23:58:06 2007
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
 
 <fulcrum-yaafi>
   <containerFlavour>fortress</containerFlavour>
@@ -11,7 +29,7 @@
   <parameters>
     <location>./src/test/TestParameters.properties</location>
   </parameters>
-  <hasDynamicProxies>true</hasDynamicProxies>  
+  <hasDynamicProxies>true</hasDynamicProxies>
   <interceptors>
     <interceptor>org.apache.fulcrum.yaafi.interceptor.performance.PerformanceInterceptorService</interceptor>
     <interceptor>org.apache.fulcrum.yaafi.interceptor.logging.LoggingInterceptorService</interceptor>

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestMerlinContainerConfig.xml
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestMerlinContainerConfig.xml?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestMerlinContainerConfig.xml (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestMerlinContainerConfig.xml Fri May  4 23:58:06 2007
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
 
 <fulcrum-yaafi>
   <containerFlavour>merlin</containerFlavour>
@@ -11,7 +29,7 @@
   <parameters>
     <location>./src/test/TestParameters.properties</location>
   </parameters>
-  <hasDynamicProxies>true</hasDynamicProxies>  
+  <hasDynamicProxies>true</hasDynamicProxies>
   <interceptors>
     <interceptor>org.apache.fulcrum.yaafi.interceptor.performance.PerformanceInterceptorService</interceptor>
     <interceptor>org.apache.fulcrum.yaafi.interceptor.logging.LoggingInterceptorService</interceptor>

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestParameters.properties
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestParameters.properties?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestParameters.properties (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestParameters.properties Fri May  4 23:58:06 2007
@@ -1 +1,17 @@
+# 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.
 BAR=BAR

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestPhoenixContainerConfig.xml
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestPhoenixContainerConfig.xml?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestPhoenixContainerConfig.xml (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestPhoenixContainerConfig.xml Fri May  4 23:58:06 2007
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
 
 <fulcrum-yaafi>
   <containerFlavour>phoenix</containerFlavour>

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestReconfigurationConfig.xml
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestReconfigurationConfig.xml?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestReconfigurationConfig.xml (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestReconfigurationConfig.xml Fri May  4 23:58:06 2007
@@ -1,19 +1,37 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+
+<componentConfig>
 
-<componentConfig>  
- 
  <TestComponent>
     <FOO>YAAFI</FOO>
   </TestComponent>
- 
+
  <SystemPropertyService>
     <property name="FOO">YAAFI</property>
   </SystemPropertyService>
-  
+
   <ReconfigurationService interval="10000">
     <entry>
       <location>./src/test/TestComponentConfig.xml</location>
     </entry>
   </ReconfigurationService>
-  
-</componentConfig>
\ No newline at end of file
+
+</componentConfig>

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestRoleConfig.xml
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestRoleConfig.xml?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestRoleConfig.xml (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestRoleConfig.xml Fri May  4 23:58:06 2007
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
 
 <role-list>
   <!-- Define an interceptor service  -->
@@ -28,7 +46,7 @@
     name="org.apache.fulcrum.yaafi.service.advice.AdviceService"
     shorthand="AdviceService"
     default-class="org.apache.fulcrum.yaafi.service.advice.AdviceServiceImpl"
-  />  
+  />
   <!-- For the rest of the services use a full-blown role entry -->
   <role
     name="org.apache.fulcrum.yaafi.service.systemproperty.SystemPropertyService"
@@ -80,4 +98,4 @@
     early-init="false"
     description="A simple service deriving from BaseService"
   />
-</role-list>
\ No newline at end of file
+</role-list>

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestYaafiContainerConfig.xml
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestYaafiContainerConfig.xml?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestYaafiContainerConfig.xml (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/TestYaafiContainerConfig.xml Fri May  4 23:58:06 2007
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
 <fulcrum-yaafi>
   <reconfigurationDelay>0</reconfigurationDelay>
   <hasDynamicProxies>true</hasDynamicProxies>

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/data/plain-iso-8859-1.xml
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/data/plain-iso-8859-1.xml?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/data/plain-iso-8859-1.xml (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/data/plain-iso-8859-1.xml Fri May  4 23:58:06 2007
@@ -1,32 +1,50 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ 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.
+-->
 
 <role-list>
-  <!-- Use minimal role entry --> 
+  <!-- Use minimal role entry -->
   <role
     name="org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerService"
     default-class="org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerServiceImpl"
-  />    
-  <!-- For the rest of the services use a full-blown role entry --> 
+  />
+  <!-- For the rest of the services use a full-blown role entry -->
   <role
     name="org.apache.fulcrum.yaafi.service.systemproperty.SystemPropertyService"
     shorthand="SystemPropertyService"
     default-class="org.apache.fulcrum.yaafi.service.systemproperty.SystemPropertyServiceImpl"
     early-init="true"
     description="ÜÖÄüöäß"
-  />   
-  <!-- 
+  />
+  <!--
     This ReconfigurationService is instantiated during the first access. Until
     then it is doing nothing.
-  --> 
+  -->
   <role
     name="org.apache.fulcrum.yaafi.service.reconfiguration.ReconfigurationService"
     shorthand="ReconfigurationService"
     default-class="org.apache.fulcrum.yaafi.service.reconfiguration.ReconfigurationServiceImpl"
     early-init="false"
     component-type="avalon"
-    component-flavour="yaafi"    
+    component-flavour="yaafi"
     description="Monitors the componentConfiguration.xml to reconfigure YAAFI"
-  />   
+  />
   <role
     name="org.apache.fulcrum.yaafi.TestComponent"
     shorthand="test"
@@ -34,5 +52,5 @@
     early-init="true"
     component-type="merlin"
     description="A simple test component"
-  />        
-</role-list>
\ No newline at end of file
+  />
+</role-list>

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/data/plain-utf16.xml
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/data/plain-utf16.xml?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
Binary files - no diff available.

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/data/plain-utf8.xml
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/data/plain-utf8.xml?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/data/plain-utf8.xml (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/data/plain-utf8.xml Fri May  4 23:58:06 2007
@@ -1,32 +1,50 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
 
 <role-list>
-  <!-- Use minimal role entry --> 
+  <!-- Use minimal role entry -->
   <role
     name="org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerService"
     default-class="org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerServiceImpl"
-  />    
-  <!-- For the rest of the services use a full-blown role entry --> 
+  />
+  <!-- For the rest of the services use a full-blown role entry -->
   <role
     name="org.apache.fulcrum.yaafi.service.systemproperty.SystemPropertyService"
     shorthand="SystemPropertyService"
     default-class="org.apache.fulcrum.yaafi.service.systemproperty.SystemPropertyServiceImpl"
     early-init="true"
     description="ÜÖÄüöäß"
-  />   
-  <!-- 
+  />
+  <!--
     This ReconfigurationService is instantiated during the first access. Until
     then it is doing nothing.
-  --> 
+  -->
   <role
     name="org.apache.fulcrum.yaafi.service.reconfiguration.ReconfigurationService"
     shorthand="ReconfigurationService"
     default-class="org.apache.fulcrum.yaafi.service.reconfiguration.ReconfigurationServiceImpl"
     early-init="false"
     component-type="avalon"
-    component-flavour="yaafi"    
+    component-flavour="yaafi"
     description="Monitors the componentConfiguration.xml to reconfigure YAAFI"
-  />   
+  />
   <role
     name="org.apache.fulcrum.yaafi.TestComponent"
     shorthand="test"
@@ -34,5 +52,5 @@
     early-init="true"
     component-type="merlin"
     description="A simple test component"
-  />        
-</role-list>
\ No newline at end of file
+  />
+</role-list>

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/data/plain.groovy
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/data/plain.groovy?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/data/plain.groovy (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/data/plain.groovy Fri May  4 23:58:06 2007
@@ -1,3 +1,21 @@
+/*
+ * 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.
+ */
 import java.io.File;
 
 def getVerse() {
@@ -23,4 +41,4 @@
 
 println "\nAs a single string ...\n"
 println myFile.readLines().join(" | ")
-myFile.delete();
\ No newline at end of file
+myFile.delete();

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/data/plain.xml
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/data/plain.xml?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
Binary files /tmp/tmpmRV2y7 and /tmp/tmpz5JNwF differ

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/jce/crypto/CryptoUtilTest.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/jce/crypto/CryptoUtilTest.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/jce/crypto/CryptoUtilTest.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/jce/crypto/CryptoUtilTest.java Fri May  4 23:58:06 2007
@@ -1,19 +1,22 @@
 package org.apache.fulcrum.jce.crypto;
 
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * 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
  *
- * Licensed 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
  *
- *     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.
+ * 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.
  */
 
 

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/jce/crypto/SmartDecryptingInputStreamTest.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/jce/crypto/SmartDecryptingInputStreamTest.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/jce/crypto/SmartDecryptingInputStreamTest.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/jce/crypto/SmartDecryptingInputStreamTest.java Fri May  4 23:58:06 2007
@@ -1,19 +1,22 @@
 package org.apache.fulcrum.jce.crypto;
 
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * 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
  *
- * Licensed 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
  *
- *     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.
+ * 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.
  */
 
 

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/DependentTestComponent.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/DependentTestComponent.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/DependentTestComponent.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/DependentTestComponent.java Fri May  4 23:58:06 2007
@@ -1,32 +1,35 @@
-package org.apache.fulcrum.yaafi;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed 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 simple component that is only used to test the avalon component
- * service.
- *
- * @author <a href="mailto:quintonm@bellsouth.net">Quinton McCombs</a>
- */
-public interface DependentTestComponent
-{
-    /** the role name of the service */
-    static final String ROLE = "org.apache.fulcrum.yaafi.DependentTestComponent";
-    
-    /** the service method to be called during testing */
-    void test();
-}
+package org.apache.fulcrum.yaafi;
+
+/*
+ * 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 simple component that is only used to test the avalon component
+ * service.
+ *
+ * @author <a href="mailto:quintonm@bellsouth.net">Quinton McCombs</a>
+ */
+public interface DependentTestComponent
+{
+    /** the role name of the service */
+    static final String ROLE = "org.apache.fulcrum.yaafi.DependentTestComponent";
+
+    /** the service method to be called during testing */
+    void test();
+}

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/DependentTestComponentImpl.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/DependentTestComponentImpl.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/DependentTestComponentImpl.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/DependentTestComponentImpl.java Fri May  4 23:58:06 2007
@@ -1,50 +1,53 @@
-package org.apache.fulcrum.yaafi;
-
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed 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.
- */
-
-
-import org.apache.avalon.framework.logger.AbstractLogEnabled;
-import org.apache.avalon.framework.service.ServiceException;
-import org.apache.avalon.framework.service.ServiceManager;
-import org.apache.avalon.framework.service.Serviceable;
-
-/**
- * Implementation of the mainly artifical component depending on TestComponent 
- *
- * @author <a href="mailto:quintonm@bellsouth.net">Quinton McCombs</a>
- */
-public class DependentTestComponentImpl
-        extends AbstractLogEnabled
-        implements Serviceable, DependentTestComponent
-{
-    /** out test component */
-    private TestComponent testComponent;
-    
-    /**
-     * @see org.apache.avalon.framework.service.Serviceable#service(org.apache.avalon.framework.service.ServiceManager)
-     */
-    public void service(ServiceManager serviceManager) throws ServiceException
-    {
-        this.testComponent = (TestComponent) serviceManager.lookup(TestComponent.ROLE);
-    }
-    
-    public void test()
-    {
-        this.testComponent.test();
-    }
-}
+package org.apache.fulcrum.yaafi;
+
+
+/*
+ * 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.
+ */
+
+
+import org.apache.avalon.framework.logger.AbstractLogEnabled;
+import org.apache.avalon.framework.service.ServiceException;
+import org.apache.avalon.framework.service.ServiceManager;
+import org.apache.avalon.framework.service.Serviceable;
+
+/**
+ * Implementation of the mainly artifical component depending on TestComponent
+ *
+ * @author <a href="mailto:quintonm@bellsouth.net">Quinton McCombs</a>
+ */
+public class DependentTestComponentImpl
+        extends AbstractLogEnabled
+        implements Serviceable, DependentTestComponent
+{
+    /** out test component */
+    private TestComponent testComponent;
+
+    /**
+     * @see org.apache.avalon.framework.service.Serviceable#service(org.apache.avalon.framework.service.ServiceManager)
+     */
+    public void service(ServiceManager serviceManager) throws ServiceException
+    {
+        this.testComponent = (TestComponent) serviceManager.lookup(TestComponent.ROLE);
+    }
+
+    public void test()
+    {
+        this.testComponent.test();
+    }
+}

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/DependentTestComponentTest.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/DependentTestComponentTest.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/DependentTestComponentTest.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/DependentTestComponentTest.java Fri May  4 23:58:06 2007
@@ -1,56 +1,59 @@
-package org.apache.fulcrum.yaafi;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed 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.
- */
-
-
-import org.apache.fulcrum.yaafi.testcontainer.BaseUnitTest;
-
-/**
- * Test suite for ensuring that a dependent test component 
- * properly works even if it is declared before the service
- * it depends on.
- *
- * @author <a href="mailto:siegfried.goeschl@it20one.at">Siegfried Goeschl</a>
- */
-
-public class DependentTestComponentTest extends BaseUnitTest
-{
-    /**
-     * Constructor
-     * @param name the name of the test case
-     */
-    public DependentTestComponentTest( String name )
-    {
-        super(name);
-    }
-
-    /**
-     * DependentTestComponentImpl uses a TestComponent which. Make
-     * sure that the container resolves this cyclic dependency.
-     * 
-     * @throws Exception
-     */
-    public void testDependentTestComponent() throws Exception
-    {
-        DependentTestComponent dependentTestComponent = (DependentTestComponent) this.lookup(
-            DependentTestComponent.ROLE
-            );
-        
-        dependentTestComponent.test();
-        dependentTestComponent.toString();
-    }
-}
+package org.apache.fulcrum.yaafi;
+
+/*
+ * 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.
+ */
+
+
+import org.apache.fulcrum.yaafi.testcontainer.BaseUnitTest;
+
+/**
+ * Test suite for ensuring that a dependent test component
+ * properly works even if it is declared before the service
+ * it depends on.
+ *
+ * @author <a href="mailto:siegfried.goeschl@it20one.at">Siegfried Goeschl</a>
+ */
+
+public class DependentTestComponentTest extends BaseUnitTest
+{
+    /**
+     * Constructor
+     * @param name the name of the test case
+     */
+    public DependentTestComponentTest( String name )
+    {
+        super(name);
+    }
+
+    /**
+     * DependentTestComponentImpl uses a TestComponent which. Make
+     * sure that the container resolves this cyclic dependency.
+     *
+     * @throws Exception
+     */
+    public void testDependentTestComponent() throws Exception
+    {
+        DependentTestComponent dependentTestComponent = (DependentTestComponent) this.lookup(
+            DependentTestComponent.ROLE
+            );
+
+        dependentTestComponent.test();
+        dependentTestComponent.toString();
+    }
+}

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/TestComponent.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/TestComponent.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/TestComponent.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/TestComponent.java Fri May  4 23:58:06 2007
@@ -1,19 +1,22 @@
 package org.apache.fulcrum.yaafi;
 
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * 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
  *
- * Licensed 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
  *
- *     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.
+ * 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.
  */
 
 
@@ -82,7 +85,7 @@
      * Alwayas throws an exception
      */
     void createException(String reason, Object caller);
-    
+
     /**
      * Do something for the given time
      * @param millis

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/TestComponentImpl.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/TestComponentImpl.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/TestComponentImpl.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/TestComponentImpl.java Fri May  4 23:58:06 2007
@@ -2,19 +2,22 @@
 
 
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * 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
  *
- * Licensed 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
  *
- *     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.
+ * 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.
  */
 
 
@@ -172,7 +175,7 @@
     {
         throw new RuntimeException(reason);
     }
-    
+
     public void doSomething(long millis, Object arg)
     {
         try

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/TestComponentTest.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/TestComponentTest.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/TestComponentTest.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/TestComponentTest.java Fri May  4 23:58:06 2007
@@ -1,19 +1,22 @@
 package org.apache.fulcrum.yaafi;
 
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * 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
  *
- * Licensed 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
  *
- *     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.
+ * 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.
  */
 
 
@@ -56,7 +59,7 @@
 
         Object [] temp = new Object[10];
         System.out.println(temp.toString());
-        
+
         try
         {
             testComponent.createException("enforce exception", this);

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/baseservice/DerivedService.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/baseservice/DerivedService.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/baseservice/DerivedService.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/baseservice/DerivedService.java Fri May  4 23:58:06 2007
@@ -4,19 +4,22 @@
 
 
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * 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
  *
- * Licensed 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
  *
- *     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.
+ * 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.
  */
 
 /**

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/baseservice/DerivedServiceImpl.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/baseservice/DerivedServiceImpl.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/baseservice/DerivedServiceImpl.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/baseservice/DerivedServiceImpl.java Fri May  4 23:58:06 2007
@@ -1,19 +1,22 @@
 package org.apache.fulcrum.yaafi.baseservice;
 
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * 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
  *
- * Licensed 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
  *
- *     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.
+ * 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.
  */
 
 

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/baseservice/DerivedServiceTest.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/baseservice/DerivedServiceTest.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/baseservice/DerivedServiceTest.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/baseservice/DerivedServiceTest.java Fri May  4 23:58:06 2007
@@ -1,19 +1,22 @@
 package org.apache.fulcrum.yaafi.baseservice;
 
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * 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
  *
- * Licensed 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
  *
- *     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.
+ * 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.
  */
 
 

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/cli/MainTest.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/cli/MainTest.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/cli/MainTest.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/cli/MainTest.java Fri May  4 23:58:06 2007
@@ -1,19 +1,22 @@
 package org.apache.fulcrum.yaafi.cli;
 
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * 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
  *
- * Licensed 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
  *
- *     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.
+ * 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.
  */
 
 import junit.framework.TestCase;

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/framework/container/ServiceLifecycleManagerTest.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/framework/container/ServiceLifecycleManagerTest.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/framework/container/ServiceLifecycleManagerTest.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/framework/container/ServiceLifecycleManagerTest.java Fri May  4 23:58:06 2007
@@ -1,19 +1,22 @@
 package org.apache.fulcrum.yaafi.framework.container;
 
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * 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
  *
- * Licensed 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
  *
- *     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.
+ * 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.
  */
 
 import junit.framework.Test;

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/framework/factory/ServiceContainerFactoryTest.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/framework/factory/ServiceContainerFactoryTest.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/framework/factory/ServiceContainerFactoryTest.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/framework/factory/ServiceContainerFactoryTest.java Fri May  4 23:58:06 2007
@@ -1,19 +1,22 @@
 package org.apache.fulcrum.yaafi.framework.factory;
 
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * 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
  *
- * Licensed 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
  *
- *     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.
+ * 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.
  */
 
 import java.io.File;

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/interceptor/util/ArgumentToStringBuilderTest.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/interceptor/util/ArgumentToStringBuilderTest.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/interceptor/util/ArgumentToStringBuilderTest.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/interceptor/util/ArgumentToStringBuilderTest.java Fri May  4 23:58:06 2007
@@ -1,286 +1,289 @@
-package org.apache.fulcrum.yaafi.interceptor.util;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed 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.
- */
-
-import java.io.File;
-import java.util.ArrayList;
-import java.util.Hashtable;
-import java.util.Properties;
-
-import junit.framework.TestCase;
-
-/**
- * Test suite for the SmartToStringBuilderImpl. 
- * 
- * @author <a href="mailto:siegfried.goeschl@it20one.at">Siegfried Goeschl</a>
- */
-
-public class ArgumentToStringBuilderTest extends TestCase
-{
-    private String result;
-    private ArgumentToStringBuilderImpl toStringBuilder;
-    private int maxArgLength = 100;
-    int mode = 3;
-    
-    
-    /**
-     * Constructor
-     * @param name the name of the test case
-     */
-    public ArgumentToStringBuilderTest( String name )
-    {
-        super(name);
-    }
-        
-    /**
-     * @see junit.framework.TestCase#setUp()
-     */
-    protected void setUp() throws Exception
-    {
-        super.setUp();
-        this.toStringBuilder = new ArgumentToStringBuilderImpl();
-        this.toStringBuilder.setMaxArgLength(this.maxArgLength);
-        this.toStringBuilder.setMode(this.mode);
-        System.out.println( "=== " + this.getName() + " ====================================");
-    }
-    
-    /**
-     * @see junit.framework.TestCase#setUp()
-     */
-    protected void tearDown() throws Exception
-    {
-        System.out.println(this.result);
-        super.tearDown();
-    }
-
-    /**
-     * Test with a simple String
-     */
-    public void testString()
-    {
-        String target = "In vino veritas";
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-
-    /**
-     * Test with a simple Integer
-     */
-    public void testInteger()
-    {
-        Integer target = new Integer(69);
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-
-    /**
-     * Test with an empty array
-     */
-    public void testEmptyArray()
-    {
-        String[] target = {};
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-
-    /**
-     * Test with a simple String[]
-     */
-    public void testStringArray()
-    {
-        String[] target = {"foo","bar"};
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-    
-    /**
-     * Test with a simple Integer[]
-     */
-    public void testIntegerArray()
-    {
-        Integer[] target = {new Integer(4711), new Integer(815)};
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-    
-    /**
-     * Test with an Exception
-     */
-    public void testException()
-    {
-        Exception target = new RuntimeException(this.getName());
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-
-    /**
-     * Test with an NULL object
-     */
-    public void testNull()
-    {
-        Object target = null;
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-
-    /**
-     * Test with an array containing NULL values
-     */
-    public void testWithANullArray()
-    {
-        Object target = new String[] { "foo", null, "bar" };
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-
-    /**
-     * Create a plain vanilla Java object
-     */
-    public void testPlainVanillaObject() throws Exception
-    {
-        File target = new File("./LICENSE.txt");
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-
-    /**
-     * Test with a char[]
-     */
-    public void testCharArray()
-    {
-        char[] target = this.getName().toCharArray();
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-
-    /**
-     * Test with a long char[] which will be truncated
-     */
-    public void testLongCharArray()
-    {
-        char[] target = System.getProperties().toString().toCharArray();
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-
-    /**
-     * Test with a byte[]
-     */
-    public void testByteArray()
-    {
-        Exception target = new RuntimeException(this.getName());
-        this.toStringBuilder.setTarget(target.toString().getBytes());
-        result = toStringBuilder.toString();
-    }
-
-    /**
-     * Test with a multidimensional array
-     */
-    public void  testMultiDimensionalArray()
-    {
-        String[] row1 = {"r1.1", "1.2", "r1.3" };
-        int[] row2 = { 1, 2, 3 };
-        String[] row3 = {"r3.1" };
-        Object[] target = { row1, row2, row3, this.getName().toCharArray() };
-        
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-
-    /**
-     * Test with a hashtable
-     */
-    public void testHashtable()
-    {
-        Hashtable target = new Hashtable();
-        target.put("foo","foo");
-        target.put("bar","bar");
-        
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-
-    /**
-     * Test with a java.util.Properties
-     */
-    public void testProperties()
-    {
-        Properties target = System.getProperties();
-        
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-    
-    /**
-     * Test with an ArrayList
-     */
-    public void testArrayList()
-    {
-        ArrayList target = new ArrayList();
-        target.add("foo");
-        target.add("bar");
-        
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-
-    /**
-     * Test with a non-empty int[]
-     */
-    public void testIntArray()
-    {
-        int[] target = { 1, 2, 3, 4, 5, 6, 7, 8, 9 };
-        
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-
-    /**
-     * Test with an empty int[]
-     */
-    public void testEmptyIntArray()
-    {
-        int[] target = {};
-        
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-
-    /**
-     * Test with an boolean[]
-     */
-    public void testBooleanArray()
-    {
-        boolean[] target = { true, false };
-        
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-
-    /**
-     * Test with an File[]
-     */
-    public void testFileArray()
-    {
-        File[] target = { new File("foo"), new File("bar") };
-        
-        this.toStringBuilder.setTarget(target);
-        result = toStringBuilder.toString();
-    }
-
-    
-}
+package org.apache.fulcrum.yaafi.interceptor.util;
+
+/*
+ * 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.
+ */
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.Hashtable;
+import java.util.Properties;
+
+import junit.framework.TestCase;
+
+/**
+ * Test suite for the SmartToStringBuilderImpl.
+ *
+ * @author <a href="mailto:siegfried.goeschl@it20one.at">Siegfried Goeschl</a>
+ */
+
+public class ArgumentToStringBuilderTest extends TestCase
+{
+    private String result;
+    private ArgumentToStringBuilderImpl toStringBuilder;
+    private int maxArgLength = 100;
+    int mode = 3;
+
+
+    /**
+     * Constructor
+     * @param name the name of the test case
+     */
+    public ArgumentToStringBuilderTest( String name )
+    {
+        super(name);
+    }
+
+    /**
+     * @see junit.framework.TestCase#setUp()
+     */
+    protected void setUp() throws Exception
+    {
+        super.setUp();
+        this.toStringBuilder = new ArgumentToStringBuilderImpl();
+        this.toStringBuilder.setMaxArgLength(this.maxArgLength);
+        this.toStringBuilder.setMode(this.mode);
+        System.out.println( "=== " + this.getName() + " ====================================");
+    }
+
+    /**
+     * @see junit.framework.TestCase#setUp()
+     */
+    protected void tearDown() throws Exception
+    {
+        System.out.println(this.result);
+        super.tearDown();
+    }
+
+    /**
+     * Test with a simple String
+     */
+    public void testString()
+    {
+        String target = "In vino veritas";
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with a simple Integer
+     */
+    public void testInteger()
+    {
+        Integer target = new Integer(69);
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with an empty array
+     */
+    public void testEmptyArray()
+    {
+        String[] target = {};
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with a simple String[]
+     */
+    public void testStringArray()
+    {
+        String[] target = {"foo","bar"};
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with a simple Integer[]
+     */
+    public void testIntegerArray()
+    {
+        Integer[] target = {new Integer(4711), new Integer(815)};
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with an Exception
+     */
+    public void testException()
+    {
+        Exception target = new RuntimeException(this.getName());
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with an NULL object
+     */
+    public void testNull()
+    {
+        Object target = null;
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with an array containing NULL values
+     */
+    public void testWithANullArray()
+    {
+        Object target = new String[] { "foo", null, "bar" };
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Create a plain vanilla Java object
+     */
+    public void testPlainVanillaObject() throws Exception
+    {
+        File target = new File("./LICENSE.txt");
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with a char[]
+     */
+    public void testCharArray()
+    {
+        char[] target = this.getName().toCharArray();
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with a long char[] which will be truncated
+     */
+    public void testLongCharArray()
+    {
+        char[] target = System.getProperties().toString().toCharArray();
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with a byte[]
+     */
+    public void testByteArray()
+    {
+        Exception target = new RuntimeException(this.getName());
+        this.toStringBuilder.setTarget(target.toString().getBytes());
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with a multidimensional array
+     */
+    public void  testMultiDimensionalArray()
+    {
+        String[] row1 = {"r1.1", "1.2", "r1.3" };
+        int[] row2 = { 1, 2, 3 };
+        String[] row3 = {"r3.1" };
+        Object[] target = { row1, row2, row3, this.getName().toCharArray() };
+
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with a hashtable
+     */
+    public void testHashtable()
+    {
+        Hashtable target = new Hashtable();
+        target.put("foo","foo");
+        target.put("bar","bar");
+
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with a java.util.Properties
+     */
+    public void testProperties()
+    {
+        Properties target = System.getProperties();
+
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with an ArrayList
+     */
+    public void testArrayList()
+    {
+        ArrayList target = new ArrayList();
+        target.add("foo");
+        target.add("bar");
+
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with a non-empty int[]
+     */
+    public void testIntArray()
+    {
+        int[] target = { 1, 2, 3, 4, 5, 6, 7, 8, 9 };
+
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with an empty int[]
+     */
+    public void testEmptyIntArray()
+    {
+        int[] target = {};
+
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with an boolean[]
+     */
+    public void testBooleanArray()
+    {
+        boolean[] target = { true, false };
+
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+    /**
+     * Test with an File[]
+     */
+    public void testFileArray()
+    {
+        File[] target = { new File("foo"), new File("bar") };
+
+        this.toStringBuilder.setTarget(target);
+        result = toStringBuilder.toString();
+    }
+
+
+}

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/service/AdviceServiceTest.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/service/AdviceServiceTest.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/service/AdviceServiceTest.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/service/AdviceServiceTest.java Fri May  4 23:58:06 2007
@@ -1,172 +1,175 @@
-package org.apache.fulcrum.yaafi.service;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed 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.
- */
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.apache.avalon.framework.service.ServiceException;
-import org.apache.fulcrum.yaafi.DependentTestComponent;
-import org.apache.fulcrum.yaafi.framework.container.ServiceContainer;
-import org.apache.fulcrum.yaafi.framework.factory.ServiceContainerConfiguration;
-import org.apache.fulcrum.yaafi.framework.factory.ServiceContainerFactory;
-import org.apache.fulcrum.yaafi.interceptor.logging.LoggingInterceptorService;
-import org.apache.fulcrum.yaafi.service.advice.AdviceService;
-
-/**
- * Test suite for the ServiceManagereService.
- *
- * @author <a href="mailto:siegfried.goeschl@it20one.at">Siegfried Goeschl</a>
- */
-
-public class AdviceServiceTest extends TestCase implements DependentTestComponent
-{
-    private AdviceService service;
-    private DependentTestComponent advisedThis;
-    private ServiceContainer container;
-
-    
-    /**
-     * Constructor
-     * @param name the name of the test case
-     */
-    public AdviceServiceTest( String name )
-    {
-        super(name);
-    }
-
-    /**
-     * @see junit.framework.TestCase#setUp()
-     */
-    protected void setUp() throws Exception
-    {
-        super.setUp();
-        ServiceContainerConfiguration config = new ServiceContainerConfiguration();
-        config.loadContainerConfiguration( "./src/test/TestYaafiContainerConfig.xml" );
-        this.container = ServiceContainerFactory.create( config );
-        service = (AdviceService) this.container.lookup(AdviceService.class.getName());
-    }
-
-    /**
-     * @see junit.framework.TestCase#tearDown()
-     */
-    protected void tearDown() throws Exception
-    {
-        ServiceContainerFactory.dispose(this.container);
-        super.tearDown();
-    }
-
-    public static Test suite()
-    {
-        TestSuite suite= new TestSuite();
-
-        suite.addTest( new AdviceServiceTest("testSimpleObject") );
-        suite.addTest( new AdviceServiceTest("testDefaultAdvice") );
-        suite.addTest( new AdviceServiceTest("testChainedAdvices") );
-        suite.addTest( new AdviceServiceTest("testMultipleProxies") );
-
-        
-        return suite;
-    }
-
-    /**
-     * Advice a StringBuffer based on the CharSequence interface
-     */
-    public void testSimpleAdvice() throws Exception
-    {
-        String[] interceptorList = { LoggingInterceptorService.class.getName() };
-        StringBuffer unadvicedObject = new StringBuffer("foo");
-        CharSequence advicedObject = (CharSequence) this.service.advice(unadvicedObject );
-        
-        int length = advicedObject.length();
-        assertTrue(this.service.isAdviced(advicedObject));
-        assertFalse(this.service.isAdviced(unadvicedObject));
-        assertTrue(unadvicedObject.length() == length);
-    }
-
-    /**
-     * Advice a StringBuffer based on the CharSequence interface
-     */
-    public void testSimpleObject() throws Exception
-    {
-        String[] interceptorList = { LoggingInterceptorService.class.getName() };
-        StringBuffer unadvicedObject = new StringBuffer("foo");
-        CharSequence advicedObject = (CharSequence) this.service.advice("adviced", interceptorList, unadvicedObject );
-        
-        int length = advicedObject.length();
-        assertTrue(this.service.isAdviced(advicedObject));
-        assertFalse(this.service.isAdviced(unadvicedObject));
-        assertTrue(unadvicedObject.length() == length);
-    }
-
-    /**
-     * Advice a StringBuffer based on the CharSequenceInterface with default interceptors
-     */
-    public void testDefaultAdvice() throws Exception
-    {
-        StringBuffer unadvicedObject = new StringBuffer("foo");
-        CharSequence advicedObject = (CharSequence) this.service.advice("default adviced", unadvicedObject );
-        
-        advicedObject.length();
-    }
-
-    /**
-     * The test implements the DependentTestComponent interface therefore we
-     * are able to intercept the invocation of test(). Whereas test() invokes
-     * another advised component.
-     */
-    public void testChainedAdvices() throws Exception
-    {
-        String[] interceptorList = { LoggingInterceptorService.class.getName() };
-        this.advisedThis = (DependentTestComponent) this.service.advice(interceptorList, this);
-        this.advisedThis.test();
-    }
-
-    /**
-     * Advice a StringBuffer based on the CharSequenceInterface
-     */
-    public void testMultipleProxies() throws Exception
-    {
-        String[] interceptorList = { LoggingInterceptorService.class.getName() };
-        StringBuffer unadvicedObject = new StringBuffer("foo");
-        CharSequence advicedObject = (CharSequence) this.service.advice("first advice", interceptorList, unadvicedObject);
-        CharSequence advicedAdvicedObject = (CharSequence) this.service.advice("second advice", interceptorList, advicedObject );
-        
-        advicedAdvicedObject.length();
-        assertTrue(this.service.isAdviced(advicedAdvicedObject));
-    }
-
-    /**
-     * Advice a StringBuffer based on the CharSequenceInterface
-     */
-    public void test()
-    {
-        try
-        {
-            DependentTestComponent testComponent = (DependentTestComponent) this.container.lookup(
-                DependentTestComponent.class.getName()
-                );
-            
-            testComponent.test();
-        }
-        catch (ServiceException e)
-        {
-            throw new RuntimeException(e.getMessage());
-        }
-    }
-}
+package org.apache.fulcrum.yaafi.service;
+
+/*
+ * 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.
+ */
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+import org.apache.avalon.framework.service.ServiceException;
+import org.apache.fulcrum.yaafi.DependentTestComponent;
+import org.apache.fulcrum.yaafi.framework.container.ServiceContainer;
+import org.apache.fulcrum.yaafi.framework.factory.ServiceContainerConfiguration;
+import org.apache.fulcrum.yaafi.framework.factory.ServiceContainerFactory;
+import org.apache.fulcrum.yaafi.interceptor.logging.LoggingInterceptorService;
+import org.apache.fulcrum.yaafi.service.advice.AdviceService;
+
+/**
+ * Test suite for the ServiceManagereService.
+ *
+ * @author <a href="mailto:siegfried.goeschl@it20one.at">Siegfried Goeschl</a>
+ */
+
+public class AdviceServiceTest extends TestCase implements DependentTestComponent
+{
+    private AdviceService service;
+    private DependentTestComponent advisedThis;
+    private ServiceContainer container;
+
+
+    /**
+     * Constructor
+     * @param name the name of the test case
+     */
+    public AdviceServiceTest( String name )
+    {
+        super(name);
+    }
+
+    /**
+     * @see junit.framework.TestCase#setUp()
+     */
+    protected void setUp() throws Exception
+    {
+        super.setUp();
+        ServiceContainerConfiguration config = new ServiceContainerConfiguration();
+        config.loadContainerConfiguration( "./src/test/TestYaafiContainerConfig.xml" );
+        this.container = ServiceContainerFactory.create( config );
+        service = (AdviceService) this.container.lookup(AdviceService.class.getName());
+    }
+
+    /**
+     * @see junit.framework.TestCase#tearDown()
+     */
+    protected void tearDown() throws Exception
+    {
+        ServiceContainerFactory.dispose(this.container);
+        super.tearDown();
+    }
+
+    public static Test suite()
+    {
+        TestSuite suite= new TestSuite();
+
+        suite.addTest( new AdviceServiceTest("testSimpleObject") );
+        suite.addTest( new AdviceServiceTest("testDefaultAdvice") );
+        suite.addTest( new AdviceServiceTest("testChainedAdvices") );
+        suite.addTest( new AdviceServiceTest("testMultipleProxies") );
+
+
+        return suite;
+    }
+
+    /**
+     * Advice a StringBuffer based on the CharSequence interface
+     */
+    public void testSimpleAdvice() throws Exception
+    {
+        String[] interceptorList = { LoggingInterceptorService.class.getName() };
+        StringBuffer unadvicedObject = new StringBuffer("foo");
+        CharSequence advicedObject = (CharSequence) this.service.advice(unadvicedObject );
+
+        int length = advicedObject.length();
+        assertTrue(this.service.isAdviced(advicedObject));
+        assertFalse(this.service.isAdviced(unadvicedObject));
+        assertTrue(unadvicedObject.length() == length);
+    }
+
+    /**
+     * Advice a StringBuffer based on the CharSequence interface
+     */
+    public void testSimpleObject() throws Exception
+    {
+        String[] interceptorList = { LoggingInterceptorService.class.getName() };
+        StringBuffer unadvicedObject = new StringBuffer("foo");
+        CharSequence advicedObject = (CharSequence) this.service.advice("adviced", interceptorList, unadvicedObject );
+
+        int length = advicedObject.length();
+        assertTrue(this.service.isAdviced(advicedObject));
+        assertFalse(this.service.isAdviced(unadvicedObject));
+        assertTrue(unadvicedObject.length() == length);
+    }
+
+    /**
+     * Advice a StringBuffer based on the CharSequenceInterface with default interceptors
+     */
+    public void testDefaultAdvice() throws Exception
+    {
+        StringBuffer unadvicedObject = new StringBuffer("foo");
+        CharSequence advicedObject = (CharSequence) this.service.advice("default adviced", unadvicedObject );
+
+        advicedObject.length();
+    }
+
+    /**
+     * The test implements the DependentTestComponent interface therefore we
+     * are able to intercept the invocation of test(). Whereas test() invokes
+     * another advised component.
+     */
+    public void testChainedAdvices() throws Exception
+    {
+        String[] interceptorList = { LoggingInterceptorService.class.getName() };
+        this.advisedThis = (DependentTestComponent) this.service.advice(interceptorList, this);
+        this.advisedThis.test();
+    }
+
+    /**
+     * Advice a StringBuffer based on the CharSequenceInterface
+     */
+    public void testMultipleProxies() throws Exception
+    {
+        String[] interceptorList = { LoggingInterceptorService.class.getName() };
+        StringBuffer unadvicedObject = new StringBuffer("foo");
+        CharSequence advicedObject = (CharSequence) this.service.advice("first advice", interceptorList, unadvicedObject);
+        CharSequence advicedAdvicedObject = (CharSequence) this.service.advice("second advice", interceptorList, advicedObject );
+
+        advicedAdvicedObject.length();
+        assertTrue(this.service.isAdviced(advicedAdvicedObject));
+    }
+
+    /**
+     * Advice a StringBuffer based on the CharSequenceInterface
+     */
+    public void test()
+    {
+        try
+        {
+            DependentTestComponent testComponent = (DependentTestComponent) this.container.lookup(
+                DependentTestComponent.class.getName()
+                );
+
+            testComponent.test();
+        }
+        catch (ServiceException e)
+        {
+            throw new RuntimeException(e.getMessage());
+        }
+    }
+}

Modified: jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/service/ReconfigurationTest.java
URL: http://svn.apache.org/viewvc/jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/service/ReconfigurationTest.java?view=diff&rev=535465&r1=535464&r2=535465
==============================================================================
--- jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/service/ReconfigurationTest.java (original)
+++ jakarta/turbine/fulcrum/trunk/yaafi/src/test/org/apache/fulcrum/yaafi/service/ReconfigurationTest.java Fri May  4 23:58:06 2007
@@ -1,19 +1,22 @@
 package org.apache.fulcrum.yaafi.service;
 
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * 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
  *
- * Licensed 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
  *
- *     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.
+ * 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.
  */
 
 import junit.framework.TestCase;
@@ -86,7 +89,7 @@
             );
 
         assertNotNull(reconfigurationService);
-        
+
         // comment out if you want to tinker with componentConfiguration manually
 
         // Thread.sleep(60000);



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org