You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2016/11/17 23:53:43 UTC

svn commit: r1770288 - in /directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception: MultiExceptionTest.java RuntimeMultiExceptionTest.java

Author: elecharny
Date: Thu Nov 17 23:53:43 2016
New Revision: 1770288

URL: http://svn.apache.org/viewvc?rev=1770288&view=rev
Log:
Added the missing headers

Modified:
    directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/MultiExceptionTest.java
    directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/RuntimeMultiExceptionTest.java

Modified: directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/MultiExceptionTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/MultiExceptionTest.java?rev=1770288&r1=1770287&r2=1770288&view=diff
==============================================================================
--- directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/MultiExceptionTest.java (original)
+++ directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/MultiExceptionTest.java Thu Nov 17 23:53:43 2016
@@ -1,6 +1,23 @@
 package org.apache.directory.api.util.exception;
-
-
+/*
+ *  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 static org.hamcrest.CoreMatchers.containsString;
 import static org.hamcrest.CoreMatchers.equalTo;
 import static org.junit.Assert.assertThat;
@@ -15,9 +32,12 @@ import org.junit.Before;
 import org.junit.Test;
 
 
+/**
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
 public class MultiExceptionTest
 {
-
     private PrintStream originalOut;
     private PrintStream originalErr;
 
@@ -80,5 +100,4 @@ public class MultiExceptionTest
         assertThat( customOut.toString(), containsString( "nested2" ) );
         assertThat( systemOut.size(), equalTo( 0 ) );
     }
-
 }

Modified: directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/RuntimeMultiExceptionTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/RuntimeMultiExceptionTest.java?rev=1770288&r1=1770287&r2=1770288&view=diff
==============================================================================
--- directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/RuntimeMultiExceptionTest.java (original)
+++ directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/RuntimeMultiExceptionTest.java Thu Nov 17 23:53:43 2016
@@ -1,3 +1,22 @@
+/*
+ *  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. 
+ *  
+ */
 package org.apache.directory.api.util.exception;
 
 
@@ -15,9 +34,12 @@ import org.junit.Before;
 import org.junit.Test;
 
 
+/**
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
 public class RuntimeMultiExceptionTest
 {
-
     private PrintStream originalOut;
     private PrintStream originalErr;
 
@@ -80,5 +102,4 @@ public class RuntimeMultiExceptionTest
         assertThat( customOut.toString(), containsString( "nested2" ) );
         assertThat( systemOut.size(), equalTo( 0 ) );
     }
-
 }



Re: svn commit: r1770288 - in /directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception: MultiExceptionTest.java RuntimeMultiExceptionTest.java

Posted by Stefan Seelmann <ma...@stefan-seelmann.de>.
Thanks Emmanuel, I forgot them.

On November 18, 2016 12:53:43 AM GMT+01:00, elecharny@apache.org wrote:
>Author: elecharny
>Date: Thu Nov 17 23:53:43 2016
>New Revision: 1770288
>
>URL: http://svn.apache.org/viewvc?rev=1770288&view=rev
>Log:
>Added the missing headers
>
>Modified:
>directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/MultiExceptionTest.java
>directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/RuntimeMultiExceptionTest.java
>
>Modified:
>directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/MultiExceptionTest.java
>URL:
>http://svn.apache.org/viewvc/directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/MultiExceptionTest.java?rev=1770288&r1=1770287&r2=1770288&view=diff
>==============================================================================
>---
>directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/MultiExceptionTest.java
>(original)
>+++
>directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/MultiExceptionTest.java
>Thu Nov 17 23:53:43 2016
>@@ -1,6 +1,23 @@
> package org.apache.directory.api.util.exception;
>-
>-
>+/*
>+ *  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 static org.hamcrest.CoreMatchers.containsString;
> import static org.hamcrest.CoreMatchers.equalTo;
> import static org.junit.Assert.assertThat;
>@@ -15,9 +32,12 @@ import org.junit.Before;
> import org.junit.Test;
> 
> 
>+/**
>+ * 
>+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory
>Project</a>
>+ */
> public class MultiExceptionTest
> {
>-
>     private PrintStream originalOut;
>     private PrintStream originalErr;
> 
>@@ -80,5 +100,4 @@ public class MultiExceptionTest
>       assertThat( customOut.toString(), containsString( "nested2" ) );
>         assertThat( systemOut.size(), equalTo( 0 ) );
>     }
>-
> }
>
>Modified:
>directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/RuntimeMultiExceptionTest.java
>URL:
>http://svn.apache.org/viewvc/directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/RuntimeMultiExceptionTest.java?rev=1770288&r1=1770287&r2=1770288&view=diff
>==============================================================================
>---
>directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/RuntimeMultiExceptionTest.java
>(original)
>+++
>directory/shared/trunk/util/src/test/java/org/apache/directory/api/util/exception/RuntimeMultiExceptionTest.java
>Thu Nov 17 23:53:43 2016
>@@ -1,3 +1,22 @@
>+/*
>+ *  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. 
>+ *  
>+ */
> package org.apache.directory.api.util.exception;
> 
> 
>@@ -15,9 +34,12 @@ import org.junit.Before;
> import org.junit.Test;
> 
> 
>+/**
>+ * 
>+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory
>Project</a>
>+ */
> public class RuntimeMultiExceptionTest
> {
>-
>     private PrintStream originalOut;
>     private PrintStream originalErr;
> 
>@@ -80,5 +102,4 @@ public class RuntimeMultiExceptionTest
>       assertThat( customOut.toString(), containsString( "nested2" ) );
>         assertThat( systemOut.size(), equalTo( 0 ) );
>     }
>-
> }