Skip to main content
Participant
March 4, 2010
Question

FlashBuilder FlexUnit plugin loses all text after parentheses (brackets, i.e. "()")

  • March 4, 2010
  • 1 reply
  • 647 views

Hi,

Problem description: Using FlashBuilder 4 beta 2 with FlexUnit 4 tests, if a FlexUnit error includes open-close parentheses (a.k.a. for searchers brackets/braces) "()", the output will be truncated before them.

An example error message:

"Method initializeParsley() should be static"

... gives the output...

"Method initializeParsley"


Generated by:

  errors.push( new Error("Method " + name + "() " + state + " be static"));

(from line 256 of http://github.com/blegros/flexunit/blob/259977f1515e151fb73defc5e3e26329c157827c/FlexUnit4/src/org/flexunit/runners/model/FrameworkMethod.as#256 )

Workaround:

Switch one's FlexUnitApplication.mxml to not using FlexUnit FB plugin.  Full error reported in standalone TestRunnerBase.  Workaround is onerous especially since FB will silently overwrite if things change sufficiently.

This seems most likely a FlashBuilder FlexUnit plugin issue.  Vague memory suggests I should post this somewhere specific to that but searching isn't giving definite answer so, coupled with likelihood of others searching here too, I thought it'd be OK to post here to start.  Please forgive spam!

Thanks for all pointers and thoughts!

R.

This topic has been closed for replies.

1 reply

Participating Frequently
March 5, 2010

This is a fine place to post. I do agree it sounds like a builder plugin bug though, if you can post inthe bugbase:

https://bugs.adobe.com/flex/

as a flex/flash builder bug it would be appreciated.

Mike