diff options
author | Josh Micich <josh@apache.org> | 2009-02-19 19:50:20 +0000 |
---|---|---|
committer | Josh Micich <josh@apache.org> | 2009-02-19 19:50:20 +0000 |
commit | 6f1a7911c923b8a67cf28242795cc590fc8b834b (patch) | |
tree | 3818e84fd2148073b03cb96c5cbc198a9f9feece /src/testcases/org | |
parent | b339adbe7d5badfeaddd3fe241cf90d667eb398c (diff) | |
download | poi-6f1a7911c923b8a67cf28242795cc590fc8b834b.tar.gz poi-6f1a7911c923b8a67cf28242795cc590fc8b834b.zip |
Added Apache License text to files where it was missing. Also fixed some compiler warnings in those files.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@745976 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org')
-rw-r--r-- | src/testcases/org/apache/poi/hssf/usermodel/TestLinkTable.java | 19 | ||||
-rwxr-xr-x | src/testcases/org/apache/poi/poifs/property/AllPOIFSPropertyTests.java | 19 |
2 files changed, 36 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestLinkTable.java b/src/testcases/org/apache/poi/hssf/usermodel/TestLinkTable.java index e8542edd8f..5a9696096b 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestLinkTable.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestLinkTable.java @@ -1,3 +1,20 @@ +/* ==================================================================== + 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.poi.hssf.usermodel; import junit.framework.AssertionFailedError; @@ -5,7 +22,7 @@ import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; /** - * Tests for LinkTable + * Tests for {@link LinkTable} * * @author Josh Micich */ diff --git a/src/testcases/org/apache/poi/poifs/property/AllPOIFSPropertyTests.java b/src/testcases/org/apache/poi/poifs/property/AllPOIFSPropertyTests.java index a5459ed76f..99d4c99be5 100755 --- a/src/testcases/org/apache/poi/poifs/property/AllPOIFSPropertyTests.java +++ b/src/testcases/org/apache/poi/poifs/property/AllPOIFSPropertyTests.java @@ -1,3 +1,20 @@ +/* ==================================================================== + 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.poi.poifs.property; import junit.framework.Test; @@ -11,7 +28,7 @@ import junit.framework.TestSuite; public final class AllPOIFSPropertyTests { public static Test suite() { - TestSuite result = new TestSuite("Tests for org.apache.poi.poifs.property"); + TestSuite result = new TestSuite(AllPOIFSPropertyTests.class.getName()); result.addTestSuite(TestDirectoryProperty.class); result.addTestSuite(TestDocumentProperty.class); result.addTestSuite(TestPropertyFactory.class); |