Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E522115B2 for ; Fri, 1 Aug 2014 11:00:23 +0000 (UTC) Received: (qmail 15875 invoked by uid 500); 1 Aug 2014 11:00:22 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 15719 invoked by uid 500); 1 Aug 2014 11:00:22 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 15691 invoked by uid 99); 1 Aug 2014 11:00:22 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2014 11:00:22 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 9B09A9BCE24; Fri, 1 Aug 2014 11:00:22 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: erikdebruin@apache.org To: commits@flex.apache.org Date: Fri, 01 Aug 2014 11:00:23 -0000 Message-Id: <0832bb25746544cf8a5200c97742d1da@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [02/33] git commit: [flex-falcon] [refs/heads/develop] - MXML tests not working for the moment. MXML tests not working for the moment. Signed-off-by: Erik de Bruin Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/80309b93 Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/80309b93 Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/80309b93 Branch: refs/heads/develop Commit: 80309b93be703175a0031ae2b7b58030ebce3e60 Parents: 380b82d Author: Erik de Bruin Authored: Mon Jun 30 13:55:16 2014 +0200 Committer: Erik de Bruin Committed: Fri Aug 1 12:59:14 2014 +0200 ---------------------------------------------------------------------- .../mxml/vf2js/TestVF2JSMXMLAttributes.java | 42 ---------- .../codegen/mxml/vf2js/TestVF2JSMXMLNodes.java | 87 -------------------- 2 files changed, 129 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/80309b93/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/TestVF2JSMXMLAttributes.java ---------------------------------------------------------------------- diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/TestVF2JSMXMLAttributes.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/TestVF2JSMXMLAttributes.java deleted file mode 100644 index 9568d1e..0000000 --- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/TestVF2JSMXMLAttributes.java +++ /dev/null @@ -1,42 +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. - * - */ -package org.apache.flex.compiler.internal.codegen.mxml.vf2js; - -import org.apache.flex.compiler.internal.test.MXMLTestBase; -import org.apache.flex.compiler.internal.test.VF2JSTestBase; -import org.apache.flex.compiler.tree.mxml.IMXMLPropertySpecifierNode; -import org.junit.Test; - -public class TestVF2JSMXMLAttributes extends VF2JSTestBase -{ - - @Test - public void testVF2JSAttribute() - { - String code = "label=\"hello\""; - - IMXMLPropertySpecifierNode node = (IMXMLPropertySpecifierNode) getNode( - code, IMXMLPropertySpecifierNode.class, - MXMLTestBase.WRAP_LEVEL_NODE); - - mxmlBlockWalker.visitPropertySpecifier(node); - - assertOut("label=\"hello\""); - } -} http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/80309b93/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/TestVF2JSMXMLNodes.java ---------------------------------------------------------------------- diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/TestVF2JSMXMLNodes.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/TestVF2JSMXMLNodes.java deleted file mode 100644 index 24bac96..0000000 --- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/vf2js/TestVF2JSMXMLNodes.java +++ /dev/null @@ -1,87 +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. - * - */ -package org.apache.flex.compiler.internal.codegen.mxml.vf2js; - -import org.apache.flex.compiler.internal.test.MXMLTestBase; -import org.apache.flex.compiler.internal.test.VF2JSTestBase; -import org.apache.flex.compiler.tree.mxml.IMXMLPropertySpecifierNode; -import org.junit.Test; - -public class TestVF2JSMXMLNodes extends VF2JSTestBase -{ - - @Test - public void testSimpleButtonNode() - { - String code = ""; - - IMXMLPropertySpecifierNode node = (IMXMLPropertySpecifierNode) getNode( - code, IMXMLPropertySpecifierNode.class, - MXMLTestBase.WRAP_LEVEL_DOCUMENT); - - mxmlBlockWalker.visitPropertySpecifier(node); - - assertOut(""); - } - - @Test - public void testButtonNodeWithVF2JSAttribute() - { - String code = ""; - - IMXMLPropertySpecifierNode node = (IMXMLPropertySpecifierNode) getNode( - code, IMXMLPropertySpecifierNode.class, - MXMLTestBase.WRAP_LEVEL_DOCUMENT); - - mxmlBlockWalker.visitPropertySpecifier(node); - - assertOut(""); - } - - @Test - public void testButtonNodeWithNonVF2JSAttribute() - { - String code = ""; - - IMXMLPropertySpecifierNode node = (IMXMLPropertySpecifierNode) getNode( - code, IMXMLPropertySpecifierNode.class, - MXMLTestBase.WRAP_LEVEL_DOCUMENT); - - mxmlBlockWalker.visitPropertySpecifier(node); - - // (erikdebruin) The attribute doesn't exist in VF2JS, so it's ignored - assertOut(""); - } - - @Test - public void testButtonNodeWithBothVF2JSAndNonVF2JSAttribute() - { - String code = ""; - - IMXMLPropertySpecifierNode node = (IMXMLPropertySpecifierNode) getNode( - code, IMXMLPropertySpecifierNode.class, - MXMLTestBase.WRAP_LEVEL_DOCUMENT); - - mxmlBlockWalker.visitPropertySpecifier(node); - - // (erikdebruin) The attribute 'string' doesn't exist in VF2JS, so it's ignored - assertOut(""); - } - -}