broken tests

8 views
Skip to first unread message

Alessandro Bianco

unread,
May 5, 2012, 6:00:18 AM5/5/12
to Robotlegs AS3
after the latest updates, some of the test (specifically, some of
those for the mediatorMap) does not compile anymore, are you aware of
the problem?

the main problem looks like to be that they're pointing to the package
org.robotlegs.mvcs looking for the Mediator class.

Shaun Smith

unread,
May 5, 2012, 8:11:05 AM5/5/12
to robo...@googlegroups.com
thanks for spotting that - those classes aren't referenced by any of the tests, so all the tests pass (locally and on the CI server) and I don't get any compile errors. will strip them out though
> --
> You received this message because you are subscribed to the Google
> Groups "Robotlegs" group.
> To post to this group, send email to robo...@googlegroups.com
> To unsubscribe from this group, send email to
> robotlegs+...@googlegroups.com
> for support visit http://knowledge.robotlegs.org

Alessandro Bianco

unread,
May 5, 2012, 8:34:45 AM5/5/12
to robo...@googlegroups.com
actually I have some problems on the MediatorMapTest class (something related to Hamcrest and a mismatched type) and i guess that is still used

Shaun Smith

unread,
May 5, 2012, 8:40:40 AM5/5/12
to robo...@googlegroups.com
I've removed those unused classes. could you pull and try again. if you still get an error could you post the message?

Alessandro Bianco

unread,
May 5, 2012, 8:47:34 AM5/5/12
to robo...@googlegroups.com
still 23 errors on 

Looks like it uses some methods not defined in the mediatorMap (like getMappings and some others) plus a Matcher is passed as parameter to the map() method and it expects a Class

I attached a full copy (awfully formatted) of the errors listed in the problem panel.
rl2_compiler_errors.txt

Shaun Smith

unread,
May 5, 2012, 8:56:54 AM5/5/12
to robo...@googlegroups.com
another unused class. updated. try again :)

<rl2_compiler_errors.txt>

Alessandro Bianco

unread,
May 5, 2012, 8:59:09 AM5/5/12
to robo...@googlegroups.com
yep, all systems go now :)

Ken Rogers

unread,
May 5, 2012, 12:35:58 PM5/5/12
to robo...@googlegroups.com
I just pulled down fresh and ran the build with no problems, wooooo

 [flexunit] Results :
 [flexunit]
 [flexunit] Tests run: 319, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.109 sec
 [flexunit]
[junitreport] Processing /Users/krogers/Git/robotlegs-framework/report/TESTS-TestSuites.xml to /var/folders/np/npqA9pyOHlG9mgOadvlBiE+++TM/-Tmp-/null281069080
[junitreport] Loading stylesheet jar:file:/usr/share/ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 1131ms
[junitreport] Deleting: /var/folders/np/npqA9pyOHlG9mgOadvlBiE+++TM/-Tmp-/null281069080
     [echo] [test] Finished running Unit Tests

BUILD SUCCESSFUL
Total time: 28 seconds

And that was QUITE fast, I must say!

Now I just have to decide who gets my attention today- the backyard or robotlegs2, HAH!

Shaun Smith

unread,
May 5, 2012, 12:42:03 PM5/5/12
to robo...@googlegroups.com
319 tests.. that's weird. There should be 384 tests. Are you running `ant test`?

Ken Rogers

unread,
May 5, 2012, 1:21:21 PM5/5/12
to robo...@googlegroups.com

I just ran 'ant'

Alessandro Bianco

unread,
May 5, 2012, 2:35:28 PM5/5/12
to robo...@googlegroups.com
Yep, there are 384 tests in the latest revision (after shaun fixes)

Tests run: 384, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4,666 sec

Ken Rogers

unread,
May 5, 2012, 5:45:26 PM5/5/12
to robo...@googlegroups.com
I was at the hardware store when i sent my last message. Home now, and a fresh pull yields the proper number of tests..all passing!

Go time!
Reply all
Reply to author
Forward
0 new messages