This is an automated email from the ASF dual-hosted git repository.
dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 4e7135e full license headers on unicode test input source files
(#4822)
4e7135e is described below
commit 4e7135eeff64c50f02bf93d6c2597a1f67fa3ed8
Author: David Grove <[email protected]>
AuthorDate: Tue Feb 11 10:47:09 2020 -0500
full license headers on unicode test input source files (#4822)
---
tests/dat/actions/unicode.tests/go-1.11.txt | 17 +++++++++++++++++
tests/dat/actions/unicode.tests/nodejs-10.txt | 18 ++++++++++++++++--
tests/dat/actions/unicode.tests/nodejs-12.txt | 18 ++++++++++++++++--
tests/dat/actions/unicode.tests/nodejs-6.txt | 18 ++++++++++++++++--
tests/dat/actions/unicode.tests/nodejs-8.txt | 18 ++++++++++++++++--
tests/dat/actions/unicode.tests/php-7.3.txt | 18 ++++++++++++++++--
tests/dat/actions/unicode.tests/php-7.4.txt | 18 ++++++++++++++++--
tests/dat/actions/unicode.tests/python-2.txt | 23 ++++++++++++++++++-----
tests/dat/actions/unicode.tests/python-3.txt | 23 ++++++++++++++++++-----
tests/dat/actions/unicode.tests/python.txt | 23 ++++++++++++++++++-----
tests/dat/actions/unicode.tests/ruby-2.5.txt | 18 ++++++++++++++++--
tests/dat/actions/unicode.tests/swift-4.2.txt | 18 ++++++++++++++++--
12 files changed, 199 insertions(+), 31 deletions(-)
diff --git a/tests/dat/actions/unicode.tests/go-1.11.txt
b/tests/dat/actions/unicode.tests/go-1.11.txt
index 05852a7..0419947 100644
--- a/tests/dat/actions/unicode.tests/go-1.11.txt
+++ b/tests/dat/actions/unicode.tests/go-1.11.txt
@@ -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 main
import "fmt"
diff --git a/tests/dat/actions/unicode.tests/nodejs-10.txt
b/tests/dat/actions/unicode.tests/nodejs-10.txt
index 4db30ea..a14319c 100644
--- a/tests/dat/actions/unicode.tests/nodejs-10.txt
+++ b/tests/dat/actions/unicode.tests/nodejs-10.txt
@@ -1,5 +1,19 @@
-// Licensed to the Apache Software Foundation (ASF) under one or more
contributor
-// license agreements; and to You under the Apache License, Version 2.0.
+/*
+ * 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.
+ */
function main(args) {
var str = args.delimiter + " ☃ " + args.delimiter;
diff --git a/tests/dat/actions/unicode.tests/nodejs-12.txt
b/tests/dat/actions/unicode.tests/nodejs-12.txt
index 4db30ea..a14319c 100644
--- a/tests/dat/actions/unicode.tests/nodejs-12.txt
+++ b/tests/dat/actions/unicode.tests/nodejs-12.txt
@@ -1,5 +1,19 @@
-// Licensed to the Apache Software Foundation (ASF) under one or more
contributor
-// license agreements; and to You under the Apache License, Version 2.0.
+/*
+ * 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.
+ */
function main(args) {
var str = args.delimiter + " ☃ " + args.delimiter;
diff --git a/tests/dat/actions/unicode.tests/nodejs-6.txt
b/tests/dat/actions/unicode.tests/nodejs-6.txt
index 4db30ea..a14319c 100644
--- a/tests/dat/actions/unicode.tests/nodejs-6.txt
+++ b/tests/dat/actions/unicode.tests/nodejs-6.txt
@@ -1,5 +1,19 @@
-// Licensed to the Apache Software Foundation (ASF) under one or more
contributor
-// license agreements; and to You under the Apache License, Version 2.0.
+/*
+ * 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.
+ */
function main(args) {
var str = args.delimiter + " ☃ " + args.delimiter;
diff --git a/tests/dat/actions/unicode.tests/nodejs-8.txt
b/tests/dat/actions/unicode.tests/nodejs-8.txt
index 4db30ea..a14319c 100644
--- a/tests/dat/actions/unicode.tests/nodejs-8.txt
+++ b/tests/dat/actions/unicode.tests/nodejs-8.txt
@@ -1,5 +1,19 @@
-// Licensed to the Apache Software Foundation (ASF) under one or more
contributor
-// license agreements; and to You under the Apache License, Version 2.0.
+/*
+ * 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.
+ */
function main(args) {
var str = args.delimiter + " ☃ " + args.delimiter;
diff --git a/tests/dat/actions/unicode.tests/php-7.3.txt
b/tests/dat/actions/unicode.tests/php-7.3.txt
index bdd88cb..478e125 100644
--- a/tests/dat/actions/unicode.tests/php-7.3.txt
+++ b/tests/dat/actions/unicode.tests/php-7.3.txt
@@ -1,6 +1,20 @@
<?php
-// Licensed to the Apache Software Foundation (ASF) under one or more
contributor
-// license agreements; and to You under the Apache License, Version 2.0.
+/*
+ * 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.
+ */
function main(array $args) : array {
$str = $args['delimiter'] . " ☃ " . $args['delimiter'];
diff --git a/tests/dat/actions/unicode.tests/php-7.4.txt
b/tests/dat/actions/unicode.tests/php-7.4.txt
index bdd88cb..478e125 100644
--- a/tests/dat/actions/unicode.tests/php-7.4.txt
+++ b/tests/dat/actions/unicode.tests/php-7.4.txt
@@ -1,6 +1,20 @@
<?php
-// Licensed to the Apache Software Foundation (ASF) under one or more
contributor
-// license agreements; and to You under the Apache License, Version 2.0.
+/*
+ * 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.
+ */
function main(array $args) : array {
$str = $args['delimiter'] . " ☃ " . $args['delimiter'];
diff --git a/tests/dat/actions/unicode.tests/python-2.txt
b/tests/dat/actions/unicode.tests/python-2.txt
index 4a83cf7..8ef252f 100644
--- a/tests/dat/actions/unicode.tests/python-2.txt
+++ b/tests/dat/actions/unicode.tests/python-2.txt
@@ -1,8 +1,21 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
contributor
-# license agreements; and to You under the Apache License, Version 2.0.
-
-"""Python 2 Unicode test."""
-
+"""Python 2 Unicode test.
+/*
+ * 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.
+ */
+"""
def main(args):
sep = args['delimiter']
diff --git a/tests/dat/actions/unicode.tests/python-3.txt
b/tests/dat/actions/unicode.tests/python-3.txt
index 58399de..d416171 100644
--- a/tests/dat/actions/unicode.tests/python-3.txt
+++ b/tests/dat/actions/unicode.tests/python-3.txt
@@ -1,8 +1,21 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
contributor
-# license agreements; and to You under the Apache License, Version 2.0.
-
-"""Python 3 Unicode test."""
-
+"""Python 3 Unicode test.
+/*
+ * 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.
+ */
+"""
def main(args):
sep = args['delimiter']
diff --git a/tests/dat/actions/unicode.tests/python.txt
b/tests/dat/actions/unicode.tests/python.txt
index 4a83cf7..8ef252f 100644
--- a/tests/dat/actions/unicode.tests/python.txt
+++ b/tests/dat/actions/unicode.tests/python.txt
@@ -1,8 +1,21 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
contributor
-# license agreements; and to You under the Apache License, Version 2.0.
-
-"""Python 2 Unicode test."""
-
+"""Python 2 Unicode test.
+/*
+ * 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.
+ */
+"""
def main(args):
sep = args['delimiter']
diff --git a/tests/dat/actions/unicode.tests/ruby-2.5.txt
b/tests/dat/actions/unicode.tests/ruby-2.5.txt
index 0326ab0..22d899c 100644
--- a/tests/dat/actions/unicode.tests/ruby-2.5.txt
+++ b/tests/dat/actions/unicode.tests/ruby-2.5.txt
@@ -1,5 +1,19 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
contributor
-# license agreements; and to You under the Apache License, Version 2.0.
+#
+# 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.
+#
def main(args)
str = args["delimiter"] + " ☃ " + args["delimiter"]
diff --git a/tests/dat/actions/unicode.tests/swift-4.2.txt
b/tests/dat/actions/unicode.tests/swift-4.2.txt
index 756d9cd..aff9c50 100644
--- a/tests/dat/actions/unicode.tests/swift-4.2.txt
+++ b/tests/dat/actions/unicode.tests/swift-4.2.txt
@@ -1,5 +1,19 @@
-// Licensed to the Apache Software Foundation (ASF) under one or more
contributor
-// license agreements; and to You under the Apache License, Version 2.0.
+/*
+ * 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.
+ */
func main(args: [String:Any]) -> [String:Any] {
if let str = args["delimiter"] as? String {