|
From: Robert S. <rob...@gm...> - 2007-10-11 11:20:26
|
Christian, I found this buried in that thread: Unfortunately, the new Flex Builder release includes some significant > refactoring to the framework and so the file that we released is now out > of > date. To fix this issue, you can copy/paste the following into the file > that > the compiler is complaining about and you should be good to go. > After Lukes signature line on that message in the thread is the fix for the problem (patched .as file). Have you tried getting ASUnit from the Subversion repository and building that? On 10/11/07, Robert Stackhouse <rob...@gm...> wrote: > > Could you supply one of the tests that is giving you grief? I can't > reproduce the problem on my end unless I have your test class. This sounds > like a compile time error not a runtime error. How are you compiling your > tests? With MXMLC? By hand? With Ant or NAnt? > > It also sounds like you are trying to use Flex Components, this may be > part of the cause of your problem. There is a lot of bootstrapping that > goes on with Flex Components. Which makes me wonder, is the compiler error > coming from the class under test or the test suite? > > Robert > > On 10/11/07, Christian Giordano <ml...@nu...> wrote: > > > > Hi Robert, I'm refering to this thread: > > > > http://sourceforge.net/mailarchive/message.php?msg_id=IJEOJMKCLCEKDIBJEMGHEEGPENAA.info%40robertpenner.com > > > > > > I just looked for that error in the mailing list archive. > > > > My problem is on running the tests, not creating them. At the moment > > I'm creating them kind of manually thus I'm not using XUL UI to run > > them (instead I'm compiling AsUnitTestRunner.as). Should I use a > > different procedure? > > > > I get compile error "Access of possibly undefined property > > topLevelSystemManagers through a reference with static type Class." > > and in fact that property is missing in Flex SWCs. > > > > Where is the trick? > > > > > > Thanks, chr > > > > > > On 10/11/07, Robert Stackhouse <rob...@gm... > wrote: > > > > So I went straight to ASUnit to came across the > > > > SystemManager.topLevelSystemMa > > > > nagers issue. > > > > > > When you say ASUnit are you talking about the XUL UI?. I am running > > Windows > > > Vista, and I have not succesfully gotten the XUL UI to launch. I > > think > > > there may be some incompatibility issues there. I can however write, > > > compile, and run ASUnit tests successfully with FlashDevelop and the > > Flash > > > Debug Player: http://geekswithblogs.net/rstackhouse/. > > > > > > I am afraid I am not familiar with the > > > "SystemManager.topLevelSystemManagers issue". Do you have > > > an error message or a link to where someone else has documented this > > > problem? > > > > > > Robert > > > > > > > > > On 10/11/07, Christian Giordano < ml...@nu...> wrote: > > > > > > > > Hi guys, yesterday I spent almost the whole, working, day trying to > > > > make it work. I started with Sprouts but then I found out that is > > not > > > > really Windows compatible and I couldn't make it work (the fork() > > > > issue). So I went straight to ASUnit to came across the > > > > SystemManager.topLevelSystemManagers issue. > > > > Is there a way, official or not, to make asunit working on Windows > > with > > > As3? > > > > > > > > Thanks for any tips, chr > > > > > > > > -- > > > > > > > ___________________________________________________________________ > > > > { Christian Giordano's site and blog @ http://nuthinking.com } > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by: Splunk Inc. > > > > Still grepping through log files to find problems? Stop. > > > > Now Search log events and configuration files using AJAX and a > > browser. > > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > _______________________________________________ > > > > Asunit-users mailing list > > > > Asu...@li... > > > > https://lists.sourceforge.net/lists/listinfo/asunit-users > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > Asunit-users mailing list > > > Asu...@li... > > > https://lists.sourceforge.net/lists/listinfo/asunit-users > > > > > > > > > > > > -- > > ___________________________________________________________________ > > { Christian Giordano's site and blog @ http://nuthinking.com } > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Asunit-users mailing list > > Asu...@li... > > https://lists.sourceforge.net/lists/listinfo/asunit-users > > > > |