Boost logo

Boost :

From: Leo Jay (python.leojay_at_[hidden])
Date: 2007-01-09 02:20:01


here is my code:

BOOST_AUTO_TEST_SUITE(myTestSuite)

BOOST_AUTO_TEST_CASE(myFirstTestCase)
{
        BOOST_CHECK_EQUAL(5, 2);
}

BOOST_AUTO_TEST_SUITE_END()

the output is :
Running 1 test case...
d:/test/test.cpp(35): error in "myFirstTestCase":
check 5 == 2 failed [5 != 2]

*** 1 failure detected in test suite "Master Test Suite"

so, my question is, why is the test case's name "myFirstTestCase",
but the test suite's name changed into "Master Test Suite"?

do i use the BOOST_AUTO_TEST_SUITE in a wrong way?
if so, what's the correct usage?

thanks in advance.

-- 
Best Regards,
Leo Jay

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk