From 85e33c904e7e8822b47d2c35084593553db5c0a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raphael=20von=20der=20Gr=C3=BCn?= Date: Wed, 3 Nov 2021 17:42:06 +0100 Subject: [PATCH] chore: remove stale coffeescript tests (#1174) --- bin/autotest | 22 ---------------------- bin/tests/autotest.coffee | 24 ------------------------ bin/tests/create.coffee | 34 ---------------------------------- bin/tests/debug.coffee | 18 ------------------ bin/tests/test.coffee | 18 ------------------ 5 files changed, 116 deletions(-) delete mode 100755 bin/autotest delete mode 100644 bin/tests/autotest.coffee delete mode 100644 bin/tests/create.coffee delete mode 100644 bin/tests/debug.coffee delete mode 100644 bin/tests/test.coffee diff --git a/bin/autotest b/bin/autotest deleted file mode 100755 index c7b8267f2..000000000 --- a/bin/autotest +++ /dev/null @@ -1,22 +0,0 @@ -#! /usr/bin/env node - -/*! - * 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. - */ - -require('nodeunit').reporters.default.run(['bin/tests']); diff --git a/bin/tests/autotest.coffee b/bin/tests/autotest.coffee deleted file mode 100644 index da8abbe01..000000000 --- a/bin/tests/autotest.coffee +++ /dev/null @@ -1,24 +0,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. -# - - -exports['you are sane'] = (test) -> - test.expect 1 - test.ok true, "this assertion should always pass" - test.done() diff --git a/bin/tests/create.coffee b/bin/tests/create.coffee deleted file mode 100644 index 12fe61e10..000000000 --- a/bin/tests/create.coffee +++ /dev/null @@ -1,34 +0,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. -# - -util = require 'util' -exec = require('child_process').exec -path = require 'path' - -exports['default example project is generated'] = (test) -> - test.expect 1 - exec './bin/create', (error, stdout, stderr) -> - test.ok true, "this assertion should pass" unless error? - test.done() - -exports['default example project has a /phonegap folder'] = (test) -> - test.expect 1 - path.exists './example/phonegap', (exists) -> - test.ok exists, 'the other phonegap folder exists' - test.done() diff --git a/bin/tests/debug.coffee b/bin/tests/debug.coffee deleted file mode 100644 index b72aa93af..000000000 --- a/bin/tests/debug.coffee +++ /dev/null @@ -1,18 +0,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. -# diff --git a/bin/tests/test.coffee b/bin/tests/test.coffee deleted file mode 100644 index b72aa93af..000000000 --- a/bin/tests/test.coffee +++ /dev/null @@ -1,18 +0,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. -#