|
From: Luke B. <lb...@gm...> - 2005-07-03 22:09:11
|
---------- Forwarded message ---------- From: Don Petersen <dpe...@cr...> Date: Jul 3, 2005 11:41 AM Subject: [osflash] ASUnit, MTASC, and Me To: Open Source Flash Mailing List <os...@os...> I've tried to work this out on my own, I've been throught the archives for this list, the MTASC list, and the ASUnit list. I can't find anyone else having this problem, leading me to believe I'm screwing *something* up. But I can't figure it out. I figure that the problem is with me, and this list is probably a better forum than the ASUnit list to find other users who have ASUnit running with FAMES. I'm trying to run the great tutorial that Aral created in his blog here: http://flashant.org/index.php?p=3D375&c=3D1 I've literally just downloaded his example files, and downloaded the newest version of ASUnit. I'm receiving the following compile error from MTASC when I try to compile the example: _______________________________________________________ /home/dpetersen/workspace/test_ut/src/com/asunit/framework/Test.as:2: characters 0-6 : Warning import not used /home/dpetersen/workspace/test_ut/src/com/asunit/framework/Assert.as:98: characters 5-22 : type error Object have no field equals _______________________________________________________ I'm including the warning in there, even though I'd imagine it's unrelated. As you can see, the errors that it's throwing are with the ASUnit source files that I downloaded. I just want to verify: This is working for some folks, correct? Under the assumption that it was something with my setup, I've tried numerous things. I was using MTASC 1.06, so I compiled 1.08 for Linux and used it, same result. I grabbed a fresh copy of the Macromedia Classes and included them, no change. I tried the modified version of ASUnit that is referenced at the top of the article, same problem. I've deleted it all and started from scratch twice, just to make sure I didn't miss any steps. No dice. My only other though was that I possibly downloaded an older version of ASUnit by mistake, since the file doesn't hint at it's version, it's just "AsUnit-src.zip". But checking the RELEASE_NOTES.TXT, it's version 2.6.4. My "installation" process for ASUnit was simply downloading the Source Code(http://prdownloads.sourceforge.net/asunit/AsUnit-src.zip?download) and unzipping it. I put the com folder in my classpath, along with the Sys.as file. I also copied the "ASUnit UI.swf" to my webroot so that I could access it from the "PHP Browser" panel, as described in the tutorial. No problems with that step, I was able to see 1 of 2 asserts pass when I ran Aral's already-compiled SWF. Did I miss anything else? Looking at the other files distributed with it, I didn't feel that they were applicable for use in FAMES. I'm stumped, and I have a bad feeling I'm missing something basic. Don Petersen _______________________________________________ osflash mailing list os...@os... http://osflash.org/mailman/listinfo/osflash_osflash.org |