Closed GoogleCodeExporter closed 9 years ago
Original comment by Alex.Rui...@gmail.com
on 15 Jun 2008 at 5:52
Original comment by Alex.Rui...@gmail.com
on 15 Jun 2008 at 5:55
It is a very useful feature to add. I'm thinking about adding a new constructor
to
all fixtures that take a GenericTypeMatcher. Is that what you are looking for?
Please
let us know.
Thanks!
-Alex
Original comment by Alex.Rui...@gmail.com
on 15 Jun 2008 at 5:59
yes. constructor or setter method would be great. While at it can you make it
having cascading effect? By
that I mean the child fixture will take its parent custom type matcher if there
is one.
mainFrameFixture.setCustomMatcher ( myCustomerMatcher );
DialogFixture dialogFixture = mainframeFixture.getDialog("foo"); //
dialogFixture now alo usese my
customer matcher!
thanks
Original comment by vnguyen....@gmail.com
on 15 Jun 2008 at 6:34
I'm thinking about dividing this issue into two issues:
1. Adding a constructor that takes a GenericTypeMatcher to all the fixtures
2. Creating common-use matchers, like the one you described in this issues.
Thoughts?
Thanks!
-Alex
Original comment by Alex.Rui...@gmail.com
on 18 Jul 2008 at 5:57
That sounds good.
Original comment by vnguyen....@gmail.com
on 20 Jul 2008 at 9:13
[deleted comment]
Set the module as a label, instead of being part of the title.
Original comment by Alex.Rui...@gmail.com
on 1 Dec 2008 at 2:03
After careful consideration, I decided not to implement this feature. I think
it will
complicate both FEST's code and users' code too much by having a super-matcher
that
performs all component matching in a test. This feature can potentially add too
many
responsibilities to a single class, resulting in bad OO design.
Original comment by Alex.Rui...@gmail.com
on 18 Jan 2009 at 7:20
Original issue reported on code.google.com by
vnguyen....@gmail.com
on 15 Jun 2008 at 5:37