Repository: flex-falcon Updated Branches: refs/heads/develop 8227fd6f3 -> de38e3807
Removed missing.js from tests, use the file located in externals/ Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/de38e380 Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/de38e380 Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/de38e380 Branch: refs/heads/develop Commit: de38e38079394374f6ad7af1fcafcbe596c50282 Parents: 8227fd6 Author: Michael Schmalle <[email protected]> Authored: Sun Jun 21 13:42:59 2015 -0400 Committer: Michael Schmalle <[email protected]> Committed: Sun Jun 21 13:42:59 2015 -0400 ---------------------------------------------------------------------- .../codegen/externals/ExternalsTestUtils.java | 2 +- compiler.jx.tests/test-files/externals/d3.js | 52 ----------- .../test-files/externals/missing.js | 97 -------------------- 3 files changed, 1 insertion(+), 150 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/de38e380/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/externals/ExternalsTestUtils.java ---------------------------------------------------------------------- diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/externals/ExternalsTestUtils.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/externals/ExternalsTestUtils.java index da020e7..8cdca1b 100644 --- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/externals/ExternalsTestUtils.java +++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/externals/ExternalsTestUtils.java @@ -32,7 +32,7 @@ public class ExternalsTestUtils // XXX missing.js is a temp location until we can figure out where it should placed in the build public static File MISSING_JS_FILE = FilenameNormalization.normalize(new File( - "test-files/externals/missing.js")); + "../externs/js/missing.js")); public static File EXTERNAL_JS_DIR = FilenameNormalization.normalize(new File( "../externs/js/externs")); http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/de38e380/compiler.jx.tests/test-files/externals/d3.js ---------------------------------------------------------------------- diff --git a/compiler.jx.tests/test-files/externals/d3.js b/compiler.jx.tests/test-files/externals/d3.js deleted file mode 100644 index 965aad0..0000000 --- a/compiler.jx.tests/test-files/externals/d3.js +++ /dev/null @@ -1,52 +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. - * - */ - -/** - * @const - */ -var d3 = {}; - -/** - * Stores the current event, if any. - * - * @type {!Event} - */ -d3.event; - -/** - * Stores the current event, if any. - * - * @param {!Element} container The container may be an HTML or SVG container element. - */ -d3.mouse = function (container) {}; - - -d3.touch = function (container, opt_touches, opt_identifier) {}; - - -d3.touches = function (container, opt_touches) {}; - - -selection.transition([name]) - - - - - - http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/de38e380/compiler.jx.tests/test-files/externals/missing.js ---------------------------------------------------------------------- diff --git a/compiler.jx.tests/test-files/externals/missing.js b/compiler.jx.tests/test-files/externals/missing.js deleted file mode 100644 index 5833dd4..0000000 --- a/compiler.jx.tests/test-files/externals/missing.js +++ /dev/null @@ -1,97 +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. - * - */ - - -// webkit_notifications -/** - * @constructor - */ -function ExtendableEvent() {} - -// HACK @enum page_visibility -/** - * @constructor - */ -function VisibilityState(description) {} - - -// chrome.js -/** - * @constructor - */ -function HTMLEmbedElement() {}; - -/** - * @type {!Window} - * @const - */ -var window; - -/** - * @type {!HTMLDocument} - */ -Window.prototype.document; - -/** - * @constructor - */ -function Promise() {} - -/** - * @constructor - */ -function FontFaceSetLoadStatus() {} - -/** - * @constructor - */ -function FontFaceLoadStatus() {} - -/** - * @constructor - */ -function Navigator() {} - - -/** - * @constructor - */ -function Screen() {} - -/** - * @constructor - */ -function uint() {} - -/** - * @constructor - */ -function int() {} - -// gecko - -/** - * @constructor - */ -function History() {} - -/** - * @constructor - */ -function Location() {} \ No newline at end of file
