flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From josebarra...@apache.org
Subject [20/26] git commit: [flex-falcon] [refs/heads/experimental/VF2JS] - MXML tests not working for the moment.
Date Wed, 09 Jul 2014 23:39:16 GMT
MXML tests not working for the moment.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/7845818c
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/7845818c
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/7845818c

Branch: refs/heads/experimental/VF2JS
Commit: 7845818c89648907643674fc44a57f7920380d32
Parents: f673487
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Mon Jun 30 13:55:16 2014 +0200
Committer: Jose Barragan <josebarragan@apache.org>
Committed: Thu Jul 10 01:33:44 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/7845818c/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/7845818c/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 = "<s:Button />";
-
-        IMXMLPropertySpecifierNode node = (IMXMLPropertySpecifierNode) getNode(
-                code, IMXMLPropertySpecifierNode.class,
-                MXMLTestBase.WRAP_LEVEL_DOCUMENT);
-
-        mxmlBlockWalker.visitPropertySpecifier(node);
-
-        assertOut("<Button></Button>");
-    }
-
-    @Test
-    public void testButtonNodeWithVF2JSAttribute()
-    {
-        String code = "<s:Button label=\"hello\" />";
-
-        IMXMLPropertySpecifierNode node = (IMXMLPropertySpecifierNode) getNode(
-                code, IMXMLPropertySpecifierNode.class,
-                MXMLTestBase.WRAP_LEVEL_DOCUMENT);
-
-        mxmlBlockWalker.visitPropertySpecifier(node);
-
-        assertOut("<Button label=\"hello\"></Button>");
-    }
-
-    @Test
-    public void testButtonNodeWithNonVF2JSAttribute()
-    {
-        String code = "<s:Button string=\"bye\" />";
-
-        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("<Button></Button>");
-    }
-    
-    @Test
-    public void testButtonNodeWithBothVF2JSAndNonVF2JSAttribute()
-    {
-        String code = "<s:Button label=\"hello\" string=\"bye\" />";
-        
-        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("<Button label=\"hello\"></Button>");
-    }
-
-}


Mime
View raw message