You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by go...@apache.org on 2013/01/12 00:21:32 UTC

svn commit: r1432330 - /flex/falcon/trunk/compiler.tests/feature-tests/mxml/tags/MXMLComponentTagTests.java

Author: gordonsmith
Date: Fri Jan 11 23:21:31 2013
New Revision: 1432330

URL: http://svn.apache.org/viewvc?rev=1432330&view=rev
Log:
Falcon: Fixed two warnings in a new feature test.

Modified:
    flex/falcon/trunk/compiler.tests/feature-tests/mxml/tags/MXMLComponentTagTests.java

Modified: flex/falcon/trunk/compiler.tests/feature-tests/mxml/tags/MXMLComponentTagTests.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler.tests/feature-tests/mxml/tags/MXMLComponentTagTests.java?rev=1432330&r1=1432329&r2=1432330&view=diff
==============================================================================
--- flex/falcon/trunk/compiler.tests/feature-tests/mxml/tags/MXMLComponentTagTests.java (original)
+++ flex/falcon/trunk/compiler.tests/feature-tests/mxml/tags/MXMLComponentTagTests.java Fri Jan 11 23:21:31 2013
@@ -59,9 +59,9 @@ public class MXMLComponentTagTests exten
         {
         	"import mx.core.ClassFactory", // TODO Should this have to be imported? And should c1 be type IFactory or ClassFactory?
             "assertEqual('c1', c1 is ClassFactory, true);",
-            "var generator = ClassFactory(c1).generator;",
+            "var generator:Class = ClassFactory(c1).generator;",
             "assertEqual('new generator() is Sprite', new generator() is Sprite, true);",
-            "var properties = ClassFactory(c1).properties;",
+            "var properties:Object = ClassFactory(c1).properties;",
             "assertEqual('countProperties(properties)', countProperties(properties), 1);",
             "assertEqual('properties.outerDocument', properties.outerDocument, this);",
             "assertEqual('c1.newInstance() is Sprite', c1.newInstance() is Sprite, true);",