From 10362ab9d67d87c0c3217e804e64d3e7038211df Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Fri, 12 Mar 2010 11:13:50 -0800 Subject: [PATCH] Add missing license notices on test classes Change number and file origin info 34691-p9 frameworks/base/test-runner/src/android/test/ProviderTestCase2.java 48099-p9 frameworks/base/test-runner/src/android/test/RenamingDelegatingContext.java 40550-p9 frameworks/base/test-runner/src/android/test/BundlePrinter.java 87783-p9 frameworks/base/test-runner/src/android/test/IsolatedContext.java 34691-p9 frameworks/base/test-runner/src/android/test/ProviderTestCase.java Change-Id: I1fea36db24e73f91ffdf43b84ff73be55478b53a --- .../src/android/test/BundlePrinter.java | 16 ++++++++++++++++ .../src/android/test/IsolatedContext.java | 16 ++++++++++++++++ .../src/android/test/ProviderTestCase.java | 16 ++++++++++++++++ .../src/android/test/ProviderTestCase2.java | 16 ++++++++++++++++ .../test/RenamingDelegatingContext.java | 18 +++++++++++++++++- 5 files changed, 81 insertions(+), 1 deletion(-) diff --git a/test-runner/src/android/test/BundlePrinter.java b/test-runner/src/android/test/BundlePrinter.java index 96213e735bac2..3c473798ab6ae 100644 --- a/test-runner/src/android/test/BundlePrinter.java +++ b/test-runner/src/android/test/BundlePrinter.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2007 The Android Open Source Project + * + * 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. + */ + package android.test; import java.io.PrintStream; diff --git a/test-runner/src/android/test/IsolatedContext.java b/test-runner/src/android/test/IsolatedContext.java index f0935989b545b..b483b825fdef6 100644 --- a/test-runner/src/android/test/IsolatedContext.java +++ b/test-runner/src/android/test/IsolatedContext.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2008 The Android Open Source Project + * + * 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. + */ + package android.test; import com.google.android.collect.Lists; diff --git a/test-runner/src/android/test/ProviderTestCase.java b/test-runner/src/android/test/ProviderTestCase.java index 668e9f7adb11e..e1172cf21ff7b 100644 --- a/test-runner/src/android/test/ProviderTestCase.java +++ b/test-runner/src/android/test/ProviderTestCase.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2007 The Android Open Source Project + * + * 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. + */ + package android.test; import android.content.ContentProvider; diff --git a/test-runner/src/android/test/ProviderTestCase2.java b/test-runner/src/android/test/ProviderTestCase2.java index f3655fc781dd7..28ecee51af0ae 100644 --- a/test-runner/src/android/test/ProviderTestCase2.java +++ b/test-runner/src/android/test/ProviderTestCase2.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2007 The Android Open Source Project + * + * 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. + */ + package android.test; import android.content.ContentProvider; diff --git a/test-runner/src/android/test/RenamingDelegatingContext.java b/test-runner/src/android/test/RenamingDelegatingContext.java index 0ea43ab5abe10..973b9f285f952 100644 --- a/test-runner/src/android/test/RenamingDelegatingContext.java +++ b/test-runner/src/android/test/RenamingDelegatingContext.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2007 The Android Open Source Project + * + * 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. + */ + package android.test; import com.google.android.collect.Sets; @@ -230,4 +246,4 @@ public class RenamingDelegatingContext extends ContextWrapper { // } // return files.toArray(new String[]{}); // } -} \ No newline at end of file +}