On 11/25/05, Jeff Chastain <[EMAIL PROTECTED]> wrote: > I am needing a bit of help with CFUnit from those more experienced. I have a > cfc function that returns a boolean. Looking through the CFUnit code, I > found the 'assertEqualsBoolean' which I thought might be an equality test for > 2 boolean values. I have checked that my function is in fact returning true > (actually 'YES'), but I am getting an error on my assertion from CFUnit.
The typed asserts are only in TestCaseExtra, not in the basic TestCase CFC. If you change your test component to extends="net.sourceforget.cfunit.framework.TestCaseExtra" then the method will be available. TestCaseExtra extends TestCase and adds typed asserts. Or you could just assertEquals() in your code instead of assertEqualsBoolean(). -- Sean A Corfield -- http://corfield.org/ Got frameworks? "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225273 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54