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.num.put.mt.cpp to validate results [take 2]
Date Fri, 10 Aug 2007 21:01:55 GMT
Attached is a patch to enhance the num_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.num.put.mt.cpp(MyIos, MyStreambuf, MyNumData):
    Added structures to simplify testing.
    (run_test): Build a table of in/outputs for verification in thest
    threads.
    (thread_func): Assert the data written matches expected
    (main): Add command line options for specifying number
    of locales, locale names, and locale usage.

Mime
View raw message