From: Intransition on 3 May 2010 18:39 On May 3, 4:07 pm, Xeno Campanoli / Eskimo North and Gmail <xeno.campan...(a)gmail.com> wrote: > class BaseMenuUnitTests < Test::Unit::TestCase > > def test_validateNavId > assert_nothing_raised(Exception) { > navid = validateNavId(NavTrac,"test_validNavId") > assert(navid == NavTrac, "validateNavId Return value '#{navid}' > differs from object validated (#{NavTrac}).") > } > end > > end > > It is the easiest way I can see to put this together, as long as it doesn't > conflict with some standard or requirement of usage...??? Where's the problem?
|
Pages: 1 Prev: [ANN] MacRuby 0.6 Next: Ocra-fied exe doesn't trace with set_trace_func |