incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Travis Vitek" <tvi...@quovadx.com>
Subject [PATCH] Update test 22.locale.time.put.mt.cpp to validate results [take 2]
Date Fri, 10 Aug 2007 21:02:13 GMT
Attached is a patch to enhance the time_put facet mt test. Threads
verify that the values they put compare equal to those put in the
primary thread.

2007-08-10  Travis Vitek    <vitek@roguewave.com>

    * 22.locale.time.put.mt.cpp(MyIos, MyStreambuf, MyTimeData)
    Added structures to simplify testing.
    (run_test): Build table of in/outputs for verification in test
    threads.
    (thread_func): Assert that data written matches expected.
    (main): Add command line options for specifying number
    of locales, locale names, and locale usage.

Mime
View raw message