|
From: Keith P. <kp...@bi...> - 2005-11-16 16:51:57
|
Trying to get Asunit working with Flash 8. I have the latest XUL UI files, and got xulrunner up and I have the XUL UI running. But no idea how to get it working right. I've set a source folder and test folder and class path, selected the AS2 template, enter a class name in the class name field and hit "Create" and get the following: File creation failed because of: Type error: this.tokenFactory has no properties. I hit OK and get: Type error: myClass has no properties. I've seen this URL http://sourceforge.net/project/shownotes.php?release_id=369555 which is supposed to contain some instructions, but just comes up saying "Group Problem. Problem creating group object." so I'm kind of stuck. Keith |
|
From: Matt F. <mat...@gm...> - 2005-11-16 22:25:14
|
Hey Keith, I had a similar problem the first time I attempted to create an AS2 based test. I then attempted to create an AS3 test (based on an AS3 template from Zorn), which worked fine. After which I tried again with an AS2 template (same session in the XUL UI) and voila it worked. So it seems like a bug creating the first AS2 based test with the XUL UI. Cheers Matt On 11/17/05, Keith Peters <kp...@bi...> wrote: > > Trying to get Asunit working with Flash 8. I have the latest XUL UI files= , > and got xulrunner up and I have the XUL UI running. But no idea how to ge= t > it working right. > > I've set a source folder and test folder and class path, selected the AS2 > template, enter a class name in the class name field and hit "Create" and > get the following: > > File creation failed because of: > Type error: this.tokenFactory has no properties. > > I hit OK and get: > > Type error: myClass has no properties. > > I've seen this URL > http://sourceforge.net/project/shownotes.php?release_id=3D369555 > which is supposed to contain some instructions, but just comes up saying > "Group Problem. Problem creating group object." > > so I'm kind of stuck. > > Keith |
|
From: Keith P. <kp...@bi...> - 2005-11-16 22:31:02
|
Yeah, I was able to make an AS3 one, but still not AS2. Anyway, I've = been going back and forth with Luke and gone through a couple more builds, = and we're up to one that works for me. I think he'll be putting that one up soon. Keith=20 > -----Original Message----- > From: asu...@li...=20 > [mailto:asu...@li...] On Behalf=20 > Of Matt Freer > Sent: Wednesday, November 16, 2005 2:25 PM > To: asu...@li... > Subject: Re: [Asunit-users] xul ui instructions >=20 > Hey Keith, >=20 > I had a similar problem the first time I attempted to create=20 > an AS2 based test. I then attempted to create an AS3 test=20 > (based on an AS3 template from Zorn), which worked fine.=20 > After which I tried again with an AS2 template (same session=20 > in the XUL UI) and voila it worked. >=20 > So it seems like a bug creating the first AS2 based test with=20 > the XUL UI. >=20 > Cheers > Matt >=20 > On 11/17/05, Keith Peters <kp...@bi...> wrote: > > > > Trying to get Asunit working with Flash 8. I have the latest XUL UI=20 > > files, and got xulrunner up and I have the XUL UI running.=20 > But no idea=20 > > how to get it working right. > > > > I've set a source folder and test folder and class path,=20 > selected the=20 > > AS2 template, enter a class name in the class name field and hit=20 > > "Create" and get the following: > > > > File creation failed because of: > > Type error: this.tokenFactory has no properties. > > > > I hit OK and get: > > > > Type error: myClass has no properties. > > > > I've seen this URL > > http://sourceforge.net/project/shownotes.php?release_id=3D369555 > > which is supposed to contain some instructions, but just comes up=20 > > saying "Group Problem. Problem creating group object." > > > > so I'm kind of stuck. > > > > Keith >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get=20 > Certified Today Register for a JBoss Training Course. Free=20 > Certification Exam for All Training Attendees Through End of=20 > 2005. For more info visit: > http://ads.osdn.com/?ad_idv28&alloc_id=16845&op=3Dick > _______________________________________________ > Asunit-users mailing list > Asu...@li... > https://lists.sourceforge.net/lists/listinfo/asunit-users >=20 >=20 |
|
From: Luke B. <lb...@gm...> - 2005-11-16 23:27:59
|
That's great to hear - I'll look into the possibility of some hidden dependencies... It's truly unfortunate that I haven't found (or built) a Unit Test Framewor= k for XUL development!!! ;-) Thanks much to those of you that have been working through these bugs with us. Luke Bayes www.asunit.org <http://www.asunit.org> |
|
From: Keith P. <kp...@bi...> - 2005-11-16 23:32:52
|
OK, so I have the XUL UI up and running and creating classes. But the actual ASUnit classes do not come with that distribution, so my test project will not compile. So I installed the classes from the 2.7 release, and now it compiles, but does not show output anywhere. It doesn't trace it out in the old ASUnit panel in the Flash IDE. From what I can see, a new XUL window should pop up, but that's not happening either. Keith |
|
From: Luke B. <lb...@gm...> - 2005-11-16 23:41:28
|
If you installed the 2.7 sources, it should have installed the correct AsUnit UI.SWF file into your [%Macro-Configuration%]/WindowSWF/ folder. Thi= s build *should* speak to that UI effectively - might need to restart the Flash IDE and hit the "Refresh" button in the AsUnit UI. If none of that works, you can always go to: http://www.asunit.com/AsUnitUi-2.7.swf Or for older builds: http://www.asunit.com/AsUnitUi.swf Both of those swf files can be downloaded and run from wherever you want - including the WindowSWF folder with Macro. There was originally a button at the bottom of the XUL UI that launches the UI Swf, but I removed it because it's not necessary for AsUnit 3.x. The swf file should still be getting distributed though, and if you run it in a valid Flash Player, it should work. Now that I think about it, there were problems with Local Connection in the Flex Builder Alpha, so if you're running off of your desktop with that player - there could definitely be issues. It's important to note that with AsUnit 3.x we have done away with the stupid LocalConnection mess thanks to a dramatically improved display list... Please let me know if those installers or alternatives don't work for you. Thanks, Luke Bayes www.asunit.org <http://www.asunit.org> |
|
From: Keith P. <kp...@bi...> - 2005-11-17 01:54:03
|
Thanks Luke. Got it all working now. I'm hoping you continue to develop and enhance the AS2 Flash 8 version, not just concentrate the AS3 version. AS3 is cool, but still in alpha. I have a good year or two of solid AS2 development ahead of me, with a really huge project starting this week. ASUnit will be a big part of it. Keith _____ From: asu...@li... [mailto:asu...@li...] On Behalf Of Luke Bayes Sent: Wednesday, November 16, 2005 3:41 PM To: asu...@li... Subject: Re: [Asunit-users] xul ui instructions If you installed the 2.7 sources, it should have installed the correct AsUnit UI.SWF file into your [%Macro-Configuration%]/WindowSWF/ folder. This build *should* speak to that UI effectively - might need to restart the Flash IDE and hit the "Refresh" button in the AsUnit UI. If none of that works, you can always go to: http://www.asunit.com/AsUnitUi-2.7.swf Or for older builds: http://www.asunit.com/AsUnitUi.swf Both of those swf files can be downloaded and run from wherever you want - including the WindowSWF folder with Macro. There was originally a button at the bottom of the XUL UI that launches the UI Swf, but I removed it because it's not necessary for AsUnit 3.x. The swf file should still be getting distributed though, and if you run it in a valid Flash Player, it should work. Now that I think about it, there were problems with Local Connection in the Flex Builder Alpha, so if you're running off of your desktop with that player - there could definitely be issues. It's important to note that with AsUnit 3.x we have done away with the stupid LocalConnection mess thanks to a dramatically improved display list... Please let me know if those installers or alternatives don't work for you. Thanks, Luke Bayes www.asunit.org |
|
From: Luke B. <lb...@gm...> - 2005-11-17 18:57:32
|
Thanks for the feedback Keith. We have definitely been talking about direction lately and getting input from the community really helps us make decisions. I'm glad you're up and running... Luke Bayes www.asunit.org <http://www.asunit.org> |