You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2012/05/07 20:41:53 UTC
[1/7] android commit: Adding Apache headers to the tests on the branch
Updated Branches:
refs/heads/CordovaWebView 5abe8dd50 -> 27e511b78
Adding Apache headers to the tests on the branch
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/27e511b7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/27e511b7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/27e511b7
Branch: refs/heads/CordovaWebView
Commit: 27e511b785e8542d518eaeb9a89bfd4b8ff5cbca
Parents: 9dfa503
Author: Joe Bowser <bo...@apache.org>
Authored: Mon May 7 11:41:34 2012 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Mon May 7 11:41:34 2012 -0700
----------------------------------------------------------------------
test/res/xml/phonegap.xml | 5 ----
.../apache/cordova/test/CordovaActivityTest.java | 19 +++++++++++++++
.../apache/cordova/test/CordovaDriverAction.java | 19 +++++++++++++++
.../org/apache/cordova/test/CordovaSplashTest.java | 19 +++++++++++++++
test/src/org/apache/cordova/test/CordovaTest.java | 18 ++++++++++++++
.../apache/cordova/test/CordovaViewFactory.java | 19 +++++++++++++++
.../src/org/apache/cordova/test/GapClientTest.java | 19 +++++++++++++++
.../org/apache/cordova/test/PhoneGapActivity.java | 18 ++++++++++++++
.../org/apache/cordova/test/PhoneGapSplash.java | 19 +++++++++++++++
.../cordova/test/PhoneGapViewTestActivity.java | 19 +++++++++++++++
.../org/apache/cordova/test/PluginManagerTest.java | 19 +++++++++++++++
.../src/org/apache/cordova/test/WebDriverTest.java | 19 +++++++++++++++
12 files changed, 207 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/27e511b7/test/res/xml/phonegap.xml
----------------------------------------------------------------------
diff --git a/test/res/xml/phonegap.xml b/test/res/xml/phonegap.xml
deleted file mode 100644
index 97f31ea..0000000
--- a/test/res/xml/phonegap.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<phonegap>
- <access origin="http://127.0.0.1*"/>
- <log level="DEBUG"/>
-</phonegap>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/27e511b7/test/src/org/apache/cordova/test/CordovaActivityTest.java
----------------------------------------------------------------------
diff --git a/test/src/org/apache/cordova/test/CordovaActivityTest.java b/test/src/org/apache/cordova/test/CordovaActivityTest.java
index b415125..8a38b1a 100644
--- a/test/src/org/apache/cordova/test/CordovaActivityTest.java
+++ b/test/src/org/apache/cordova/test/CordovaActivityTest.java
@@ -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.cordova.test;
import org.apache.cordova.CordovaWebView;
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/27e511b7/test/src/org/apache/cordova/test/CordovaDriverAction.java
----------------------------------------------------------------------
diff --git a/test/src/org/apache/cordova/test/CordovaDriverAction.java b/test/src/org/apache/cordova/test/CordovaDriverAction.java
index bfb8c0d..49926ed 100644
--- a/test/src/org/apache/cordova/test/CordovaDriverAction.java
+++ b/test/src/org/apache/cordova/test/CordovaDriverAction.java
@@ -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.cordova.test;
import android.app.Activity;
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/27e511b7/test/src/org/apache/cordova/test/CordovaSplashTest.java
----------------------------------------------------------------------
diff --git a/test/src/org/apache/cordova/test/CordovaSplashTest.java b/test/src/org/apache/cordova/test/CordovaSplashTest.java
index c834094..9fdf42a 100644
--- a/test/src/org/apache/cordova/test/CordovaSplashTest.java
+++ b/test/src/org/apache/cordova/test/CordovaSplashTest.java
@@ -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.cordova.test;
import org.apache.cordova.CordovaWebView;
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/27e511b7/test/src/org/apache/cordova/test/CordovaTest.java
----------------------------------------------------------------------
diff --git a/test/src/org/apache/cordova/test/CordovaTest.java b/test/src/org/apache/cordova/test/CordovaTest.java
index c41262a..ef87007 100644
--- a/test/src/org/apache/cordova/test/CordovaTest.java
+++ b/test/src/org/apache/cordova/test/CordovaTest.java
@@ -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.
+*/
package org.apache.cordova.test;
import org.apache.cordova.CordovaWebView;
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/27e511b7/test/src/org/apache/cordova/test/CordovaViewFactory.java
----------------------------------------------------------------------
diff --git a/test/src/org/apache/cordova/test/CordovaViewFactory.java b/test/src/org/apache/cordova/test/CordovaViewFactory.java
index 4e2e6a5..f591773 100644
--- a/test/src/org/apache/cordova/test/CordovaViewFactory.java
+++ b/test/src/org/apache/cordova/test/CordovaViewFactory.java
@@ -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.cordova.test;
import org.openqa.selenium.android.library.WebViewFactory;
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/27e511b7/test/src/org/apache/cordova/test/GapClientTest.java
----------------------------------------------------------------------
diff --git a/test/src/org/apache/cordova/test/GapClientTest.java b/test/src/org/apache/cordova/test/GapClientTest.java
index 01b3bbf..41fe970 100644
--- a/test/src/org/apache/cordova/test/GapClientTest.java
+++ b/test/src/org/apache/cordova/test/GapClientTest.java
@@ -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.cordova.test;
import org.apache.cordova.CordovaWebView;
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/27e511b7/test/src/org/apache/cordova/test/PhoneGapActivity.java
----------------------------------------------------------------------
diff --git a/test/src/org/apache/cordova/test/PhoneGapActivity.java b/test/src/org/apache/cordova/test/PhoneGapActivity.java
index d15bdb1..dc9e50f 100644
--- a/test/src/org/apache/cordova/test/PhoneGapActivity.java
+++ b/test/src/org/apache/cordova/test/PhoneGapActivity.java
@@ -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.
+*/
package org.apache.cordova.test;
import org.apache.cordova.DroidGap;
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/27e511b7/test/src/org/apache/cordova/test/PhoneGapSplash.java
----------------------------------------------------------------------
diff --git a/test/src/org/apache/cordova/test/PhoneGapSplash.java b/test/src/org/apache/cordova/test/PhoneGapSplash.java
index bda34b3..e93a883 100644
--- a/test/src/org/apache/cordova/test/PhoneGapSplash.java
+++ b/test/src/org/apache/cordova/test/PhoneGapSplash.java
@@ -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.cordova.test;
import org.apache.cordova.CordovaWebView;
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/27e511b7/test/src/org/apache/cordova/test/PhoneGapViewTestActivity.java
----------------------------------------------------------------------
diff --git a/test/src/org/apache/cordova/test/PhoneGapViewTestActivity.java b/test/src/org/apache/cordova/test/PhoneGapViewTestActivity.java
index 784332a..e35f359 100644
--- a/test/src/org/apache/cordova/test/PhoneGapViewTestActivity.java
+++ b/test/src/org/apache/cordova/test/PhoneGapViewTestActivity.java
@@ -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.cordova.test;
import org.apache.cordova.CordovaWebView;
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/27e511b7/test/src/org/apache/cordova/test/PluginManagerTest.java
----------------------------------------------------------------------
diff --git a/test/src/org/apache/cordova/test/PluginManagerTest.java b/test/src/org/apache/cordova/test/PluginManagerTest.java
index 2f0ee52..15234e6 100644
--- a/test/src/org/apache/cordova/test/PluginManagerTest.java
+++ b/test/src/org/apache/cordova/test/PluginManagerTest.java
@@ -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.cordova.test;
import org.apache.cordova.CordovaWebView;
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/27e511b7/test/src/org/apache/cordova/test/WebDriverTest.java
----------------------------------------------------------------------
diff --git a/test/src/org/apache/cordova/test/WebDriverTest.java b/test/src/org/apache/cordova/test/WebDriverTest.java
index 31a3cca..975e7ce 100644
--- a/test/src/org/apache/cordova/test/WebDriverTest.java
+++ b/test/src/org/apache/cordova/test/WebDriverTest.java
@@ -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.cordova.test;
import org.apache.cordova.CordovaWebViewClient;