This week.

VELO

On Thu, Dec 4, 2008 at 9:03 AM, Piet van Remortel <
[EMAIL PROTECTED]> wrote:

>
> Correction on my previous post about the UTF error:  I retried
> installing and compiling and now it works.  I don't know what went
> wrong last time.
>
> Apologies for the post about the error.
>
> The good news:  The tests *all* run fine now !  Your fix in trunk did
> the trick.  Thanks !
>
> When do you plan to release M10 ?
>
> Regards
>
> Piet
>
> On Dec 3, 2008, at 4:20 PM, Marvin Froeder wrote:
>
> > I fixed a issue yesterday related to that.
> >
> > If you can try TRUNK.....
> >
> >
> > VELO
> >
> > On Wed, Dec 3, 2008 at 1:06 PM, Piet van Remortel <
> [EMAIL PROTECTED]
> > > wrote:
> >
> > Hi
> >
> > Have you had a chance to look into this issue of test methods being
> > skipped ?   I am looking at the problem again and still have no idea
> > what is going wrong.
> >
> > Thanks
> >
> > Piet
> >
> > On Dec 1, 2008, at 11:43 AM, Marvin Froeder wrote:
> >
> > > The test methods are selected by test unit framework.  I believe
> > > flexunit select test*().
> > >
> > > I will try to run your test and see what happens.
> > >
> > > VELO
> > >
> > > On Mon, Dec 1, 2008 at 6:29 AM, Piet van Remortel <
> [EMAIL PROTECTED]
> > > > wrote:
> > > Hi
> > >
> > > Got the test system running in the mean time:  main problem was that
> > > the tests were at first not included in the library build (different
> > > src directory, etc.)  Anyways: tests run - thanks for the hints.
> > >
> > > Problem I encounter is that it seems like not all tests run using
> > > maven, while they **do** when I use a regular Testrunner in a
> > > different project, linking to the maven-compiled libary, and
> > compiling
> > > that with flexbuilder.
> > >
> > > The test report xml of the mvn tests contains only two or three (it
> > > seems unstable !?) of my 4 tests, looking something like (notice
> > > tests="2"):
> > >
> > > <testsuite errors="0" failures="1"
> > > name="be.powerscan.earth.business.impl.test.TestEarthLabels"
> > tests="2"
> > > time="NaN">
> > >   <testcase name="testFailMe" time="NaN">
> > >     <failure message="expected:&lt;a&gt; but was:&lt;b&gt;"
> > > type="flexunit.framework::AssertionFailedError"/>
> > >   </testcase>
> > >   <testcase name="testProvince" time="NaN"/>
> > > </testsuite>
> > >
> > > While the TestRunner runs my 4 tests nicely.
> > >
> > > How are tests selected ? Just based on the methodname being test*,
> > > right ?
> > >
> > > TestClass in attach.
> > >
> > > Thanks !
> > >
> > > Piet
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Nov 28, 2008, at 11:46 AM, Marvin Froeder wrote:
> > >
> > > > Is just a comment I add to template to justify why I'm not using
> > > > velocity!
> > > >
> > > > To only thing I have in mind is your tests are not tests.  So they
> > > > are not run and then you get no results. (I'm guessing)
> > > >
> > > > Try to run this sample project:
> > > >
> http://svn.sonatype.org/flexmojos/trunk/rvin-mojo/test-harness/projects/concept/flexunit-example/
> > > >
> > > > If not work, run this sample with mvn -X and attach the output (by
> > > > attach I mean _don't_ paste into message content)
> > > >
> > > >
> > > > VELO
> > > >
> > > > On Fri, Nov 28, 2008 at 8:38 AM, Piet van Remortel <
> [EMAIL PROTECTED]
> > > > > wrote:
> > > >
> > > > Logan,
> > > >
> > > > Thanks for your suggestions - still not working - some replies
> > > inline:
> > > >
> > > > >
> > > > > On Nov 27, 8:44 am, pvremort <[EMAIL PROTECTED]> wrote:
> > > > >> I am on a Mac, Flash player 10 debug version.  The result of
> > the
> > > > >> system call is that Flash player opens, doens't show any
> > > > application/
> > > > >> window (I expected the TestRunner maybe?) and everything comes
> > > to a
> > > > >> stop.   What should happen at this point ?  Is it a call to a
> > > > >> headless
> > > > >> Flash player catching the results of the testrunner ?  I notice
> > > > that
> > > > >> the parameters to flexunit are null ("[INFO] flexunit setup
> > args:
> > > > >> null" - see below), maybe that is the problem ?
> > > > > No, that's a debug message I accidentally left in so it's not
> > > > > formatted well. It's just saying there you didn't override the
> > > > default
> > > > > command for launching your tests.
> > > > >
> > > > >> [INFO] flexunit setup args: null
> > > > >> runtests: [open, -g]
> > > > >> exec: [open, -g, /Users/xxxxxxx/production/workspaces/flex/
> > > > >> flexlib_base_dm/target/test-classes/TestRunner.swf]
> > > > >
> > > > > This is the command that is getting run. The TestRunner.swf
> > should
> > > > > launch in the same app as if it were double-clicked (on my Mac,
> > > > that's
> > > > > the standalone Flash Player). If you double-click /Users/
> > xxxxxxx/
> > > > > production/workspaces/flex/flexlib_base_dm/target/test-classes/
> > > > > TestRunner.swf, does it launch and run correctly? Do you have
> > > > another
> > > >
> > > > Nope.  Other swf's run just finet, but the Testrunner swf doesn't.
> > > >
> > > > >
> > > > > application set up to handle the launching of .swfs (Flash
> > > > > Professional maybe)? Do one of your tests require some setup
> > that
> > > > > isn't happening correctly? If you have flash debug enabled on
> > your
> > > >
> > > > Nope, the tests are plain simple String checks.
> > > >
> > > > >
> > > > > machine with the mm.cfg, you can look at the output and see if
> > > there
> > > > > is some error happening.
> > > > >
> http://blog.flexexamples.com/2007/08/26/debugging-flex-applications-with-mmcfg-and-flashlogtxt/
> > > >
> > > > For some reason I have never gotten the trace system up and
> > running,
> > > > and still don't.  Just re-installed, wrote mm.cfg, etc. No
> > success.
> > > >
> > > > In attach the generated code for TestRunner.swf :  what is the
> > > > Velocity error on top ?  Is some templating failing ?   Maven
> > times
> > > > out on waiting for the test results, which is normal behaviour
> > since
> > > > the testrunner fails.
> > > >
> > > > In the mean time I'll retry getting the logging working.
> > > Unbelievalbe
> > > > that getting this to work causes so much frastration :-)
> > > >
> > > > Thanks
> > > >
> > > > Piet
> > > >
> > > >
> > > >
> > > >
> > > > ------
> > > >
> > > > <?xml version="1.0" encoding="utf-8"?>
> > > > <!--can't use velocity, got:
> > > > java.io.InvalidClassException:
> > > > org.apache.velocity.runtime.parser.node.ASTprocess; class invalid
> > > for
> > > > deserialization-->
> > > > <unitestingsupport:TestApplication
> > > >        xmlns:mx="http://www.adobe.com/2006/mxml";
> > > >
> > xmlns:unitestingsupport="info.flexmojos.unitestingsupport.*"
> > > >        layout="absolute"
> > > >        initialize="init()"
> > > >        port="13539"
> > > >        >
> > > >
> > > >        <mx:Script>
> > > >                <![CDATA[
> > > >
> > > > import be.powerscan.earth.business.impl.test.TestEarthLabels;
> > > > import
> > be.powerscan.person.domainobject.impl.test.TestPersonLabels;
> > > >
> > > >
> > > >                        private function init():void {
> > > > addTest( TestEarthLabels);
> > > > addTest( TestPersonLabels);
> > > >
> > > >                        }
> > > >                ]]>
> > > >        </mx:Script>
> > > >
> > > > </unitestingsupport:TestApplication>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > Logan
> > > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > > >
> > > >
> > >
> > >
> > >
> > >
> > > >
> > >
> >
> >
> > >
> >
> >
> > > >
> >
>
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google
> Groups "Flex Mojos" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [EMAIL PROTECTED]<[EMAIL PROTECTED]>
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos?hl=en?hl=en
>
> http://blog.flex-mojos.info/
> -~----------~----~----~----~------~----~------~--~---
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to