Commit Graph

155 Commits

Author SHA1 Message Date
Jeff Garland
07b8df62f0 Changes to fix the compile-time dst rules engines for 2007 US and Canada dst changes
[SVN r37127]
2007-03-02 01:54:49 +00:00
Jeff Garland
b232691602 allow tests to pass if the clock time is equal to the last -- happens on fast machines.
[SVN r37066]
2007-02-25 20:00:37 +00:00
Jeff Garland
0b401d8914 allow tests to pass if the clock time is equal to the last -- happens on fast machines.
[SVN r37066]
2007-02-25 20:00:37 +00:00
John Maddock
e73f083d86 Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
[SVN r30670]
2005-08-25 16:27:28 +00:00
Jeff Garland
05de944281 Add tests for subsecond resolution for from_iso_string -- patched to work correctly now.
[SVN r30174]
2005-07-19 11:16:18 +00:00
Jeff Garland
ee65dedf4d move all tests within an exception block to see if we can track down odd cw failures
[SVN r30151]
2005-07-17 23:58:33 +00:00
Jeff Garland
7e719a84d9 tighten up testing for various input i/o formats
[SVN r30135]
2005-07-16 18:37:46 +00:00
Jeff Garland
748fe1433d critical fix for time input functions that made iso and other undelimited time formats fail to parse correctly -- additional tests
[SVN r30130]
2005-07-16 00:37:26 +00:00
Jeff Garland
64185b666d unfortunate last minute major bug with duration output with negative time durations - fixes allow for additional user control of the sign format for the general case and make sure all elements of duration have absolute values. This change adds new tests to make sure the bug is gone
[SVN r29877]
2005-07-03 06:55:06 +00:00
Jeff Garland
ad50aac6b7 Added tests to test fix for a serious bug with conversions for negative time durations. Need the minutes and seconds fields to be converted to absolute values. This was creating a downstream bug in i/o code where negative durations were not streaming out correctly
[SVN r29875]
2005-07-02 23:36:32 +00:00
Jeff Garland
bc754d907c add tests for fix to input parsing. Tests for bug that would cause an extra character to be consumed in the stream when parsing special value cases. In particular something like a date period like [2005-Jun-10/not-a-date-time] would fail to parse correctly even though this can be constructed and output just fine
[SVN r29854]
2005-07-01 03:00:34 +00:00
Jeff Garland
54e7c78df6 fix bug with exception handling in new i/o code -- only throw exceptions if stream bits set correctly
[SVN r29823]
2005-06-28 13:12:24 +00:00
Jeff Garland
7472b1e047 fixes for special value serialization bug
[SVN r29712]
2005-06-21 03:35:34 +00:00
Jeff Garland
bb21d778a0 updates to test for %% bugfix -- removal of references to ptime_facet in tests
[SVN r29622]
2005-06-16 13:23:38 +00:00
Rene Rivera
c30df89277 Fix serialization condition that archives have to be included first.
[SVN r29426]
2005-06-04 06:40:36 +00:00
Jeff Garland
43839c4d19 Changes to tests for i/o fixes -- close some holes. Also rename of custom timezone
[SVN r28629]
2005-05-03 14:27:05 +00:00
Jeff Garland
d13c4ec9f3 updates to fix serialization regression caused by changes to the serialization lib -- const value is required when archiving
[SVN r28456]
2005-04-24 05:53:01 +00:00
Jeff Garland
54d9cbc1bf fix a problem where in STD_CONFIG mode we don't handle the case where a time duration of over 24 hours is constructed. Change adds appropriate amounts to the date. Added tests to validate this is working correctly
[SVN r28446]
2005-04-24 01:36:25 +00:00
Jeff Garland
dd0c9127e0 test updates for local time input streaming
[SVN r28434]
2005-04-23 05:41:08 +00:00
Jeff Garland
6304827f3a changes to test to support format-based input of time types. For example: %Y-%M-%D %H:%M:%S - new testfile posix_time/testtime_input_facet.cpp
[SVN r28141]
2005-04-12 02:56:45 +00:00
Jeff Garland
dbe8af4393 add test for truncating extra digits when parsing time duration instead of taking the last n digits incorrectly
[SVN r27936]
2005-04-02 17:58:58 +00:00
Jeff Garland
82fbd7f7df next round of major updates to format-based input-output. Adds various parsers to support full date input
[SVN r27797]
2005-03-24 13:07:42 +00:00
Jeff Garland
c5d45806bd Change test to reinit the last variable before the universal_time loop so that failures in some test setups are fixed. Should fix regression errors before 1.33
[SVN r27409]
2005-02-17 13:52:25 +00:00
Jeff Garland
8b48ef6483 changes to support new io facets
[SVN r27359]
2005-02-13 20:50:37 +00:00
Jeff Garland
7b2035e21f fix regression failures due to new univ time tests that were added
[SVN r27352]
2005-02-13 19:12:42 +00:00
Jeff Garland
31383c0c8e series of test changes associated with new facet code
[SVN r26941]
2005-01-30 21:04:49 +00:00
Jeff Garland
a62d8b80c9 fix vc6 failure -- bad scoping rules on that compiler - fix patch
[SVN r26841]
2005-01-25 01:29:24 +00:00
Jeff Garland
5783232967 fix vc6 failure -- bad scoping rules on that compiler
[SVN r26840]
2005-01-25 01:26:21 +00:00
Jeff Garland
678e87764f updates to enable universal_time for windows tests
[SVN r26811]
2005-01-22 19:15:38 +00:00
Jeff Garland
70ccb62a4c add in a test to run the universal time extension
[SVN r26804]
2005-01-22 16:32:45 +00:00
Jeff Garland
f5fcfac64c add new local streaming tests -- part of 11-03 io patchset
[SVN r26659]
2005-01-10 04:11:33 +00:00
Jeff Garland
835af017ee 1st version of format based time output
[SVN r25720]
2004-10-14 02:43:34 +00:00
Jeff Garland
b4f82b8eee attempt to fix crashes due to locale mem handling on various platforms
[SVN r25716]
2004-10-13 20:44:37 +00:00
Jeff Garland
32954414b1 enhanced tests for changes to to_tm functions
[SVN r25618]
2004-10-07 22:30:16 +00:00
Jeff Garland
8a472229cc fix bug in time duration parsing where fractional digits would be incorrect
[SVN r25537]
2004-10-03 14:59:25 +00:00
Jeff Garland
41c5641e26 tests for new tm conversion functions
[SVN r25522]
2004-10-01 23:17:31 +00:00
Jeff Garland
e5ab27b9c4 add tests for ptime min/max_date_time constructors
[SVN r25495]
2004-10-01 02:30:47 +00:00
Jeff Garland
e5212e79eb fix code warrior regression problem - get rid of macro stuff
[SVN r24881]
2004-09-02 21:10:37 +00:00
Jeff Garland
473f8bc215 fix regression failures for some compilers
[SVN r24811]
2004-08-29 18:59:15 +00:00
Stefan Slapeta
9fd48fcf10 pow() ambiguity resolved
[SVN r24501]
2004-08-16 13:16:01 +00:00
Stefan Slapeta
ecf45ee1db std namespace fix
[SVN r24488]
2004-08-15 20:12:49 +00:00
Jeff Garland
25ec632a14 cleanup macros
[SVN r24355]
2004-08-09 15:58:31 +00:00
Jeff Garland
fbb6724e34 add test for new filetime functions
[SVN r24295]
2004-08-04 22:12:05 +00:00
Jeff Garland
f96d2d6eb7 updates to allow microsecond clock on Win32
[SVN r24240]
2004-08-01 21:23:45 +00:00
Jeff Garland
e016287186 fixes fror xml serialization
[SVN r23953]
2004-07-22 12:58:43 +00:00
Jeff Garland
f11a00a212 addtional time special value tests
[SVN r23737]
2004-07-18 23:20:08 +00:00
Jeff Garland
d2a21d7637 change BOOST_NO_WCHAR to BOOST_NO_WSTRING in detecting lack of wide string support
[SVN r23732]
2004-07-18 18:36:18 +00:00
Jeff Garland
9bdf39be02 force test to fail for platforms that don't support ms clock
[SVN r23727]
2004-07-18 16:01:12 +00:00
Jeff Garland
af4ba244fc remove tabs from source files
[SVN r23712]
2004-07-17 22:24:40 +00:00
Jeff Garland
7aaa215d3b borland test streams fix
[SVN r23686]
2004-07-17 15:01:22 +00:00
Jeff Garland
14ea07a5f1 improve mac regression - quickfix
[SVN r23554]
2004-07-14 16:29:00 +00:00
Jeff Garland
848bfac50d mac_fix_plus patch set for regressions from bart - 7.09
[SVN r23443]
2004-07-11 18:13:21 +00:00
Jeff Garland
42d61df6e0 added tests for time input streaming
[SVN r23337]
2004-07-04 21:58:13 +00:00
Jeff Garland
edfead56f4 produce failures for compilers that don't support wide string and locale properly
[SVN r23295]
2004-07-01 03:06:49 +00:00
Jeff Garland
30dd302f5c add testfile for experimental gregorian duration types
[SVN r23275]
2004-06-30 00:45:29 +00:00
Jeff Garland
e8e29dcc00 add serialization test code
[SVN r23270]
2004-06-29 22:22:56 +00:00
Jeff Garland
74a2cc77c7 changes for default constructors
[SVN r23265]
2004-06-29 16:43:39 +00:00
Jeff Garland
7cfd84f434 additional tests to exercise ptime special values constructor
[SVN r22591]
2004-04-03 23:21:03 +00:00
Jeff Garland
7996611fbf tests for wstring output
[SVN r22272]
2004-02-15 16:36:41 +00:00
Jeff Garland
283455973c fixes for wstring output
[SVN r22271]
2004-02-15 16:34:37 +00:00
Jeff Garland
b4cfc37ce7 tests for wide stream output
[SVN r21925]
2004-01-25 18:45:34 +00:00
Rene Rivera
88aa551f54 Fix tabs in file.
[SVN r21399]
2003-12-26 23:26:49 +00:00
Jeff Garland
77823c63ee add test for subtraction of neg time duration
[SVN r21339]
2003-12-19 14:08:57 +00:00
Jeff Garland
8f6259134c fix tabs / formatting in source
[SVN r21107]
2003-12-03 03:28:35 +00:00
Jeff Garland
ff4253a4da license update
[SVN r20922]
2003-11-23 16:12:01 +00:00
Jeff Garland
7094455723 additional tests for time special values
[SVN r20649]
2003-11-04 13:59:42 +00:00
Jeff Garland
5c5f8bd576 additional tests for negative durations
[SVN r20052]
2003-09-14 15:14:54 +00:00
Jeff Garland
901244927d various fixes for negative durations, add tests for total_milliseconds, total_nanoseconds, total_microseconds
[SVN r19959]
2003-09-08 05:40:17 +00:00
Jeff Garland
e29d9fcbe9 prepare for removal of this file
[SVN r19958]
2003-09-08 05:38:53 +00:00
Jeff Garland
8572fff355 move tests to testtime_formatters.cpp
[SVN r19957]
2003-09-08 05:37:20 +00:00
Jeff Garland
c39bb1ed6f changes to fix negative time durations
[SVN r19956]
2003-09-08 05:34:40 +00:00
Jeff Garland
6893422d7e fix return value so errors are reported
[SVN r19952]
2003-09-08 02:49:33 +00:00
Jeff Garland
137b13e5ac additional tests for negative durations
[SVN r19951]
2003-09-08 02:32:41 +00:00
Jeff Garland
e7b821d39a add tests for bi-directional time_itr
[SVN r19943]
2003-09-07 12:57:00 +00:00
Jeff Garland
22ed668f9b fix return value
[SVN r19933]
2003-09-06 13:43:11 +00:00
Jeff Garland
68c42ff3bd change name of testtime formatters so jam will run it
[SVN r19931]
2003-09-06 12:50:02 +00:00
Jeff Garland
605d381c3c add a testcase that lacks a full time string
[SVN r19882]
2003-08-30 14:00:19 +00:00
Jeff Garland
82f49159e0 test for parsing negative time durations
[SVN r19835]
2003-08-28 13:46:12 +00:00
Jeff Garland
38f8a0b6ae add unary- tests
[SVN r19705]
2003-08-20 03:17:07 +00:00
Jeff Garland
18c9082f51 change name of test period to testtime_period
[SVN r19701]
2003-08-20 02:31:59 +00:00
Jeff Garland
b761ce6c1b fix scoping of time_t - compile error on borland
[SVN r19592]
2003-08-14 13:08:45 +00:00
Jeff Garland
3c8a40a335 fixes overflow error for several compilers
[SVN r19589]
2003-08-14 13:01:19 +00:00
Jeff Garland
560b37e503 cleanup tests execution for compilers that lack facet support
[SVN r19550]
2003-08-12 12:41:39 +00:00
Jeff Garland
ca7d503b1a add more tests of multiply, divide
[SVN r19523]
2003-08-10 23:20:15 +00:00
Jeff Garland
c1dc1fefd7 updates to test total_seconds method
[SVN r19511]
2003-08-10 18:16:04 +00:00
Jeff Garland
60cc78225f add tests for time_t conversion function
[SVN r19505]
2003-08-10 14:14:39 +00:00
Jeff Garland
0a86d8e186 additional tests
[SVN r19285]
2003-07-23 16:02:18 +00:00
Jeff Garland
9cd2a4b039 add dividable and other arithmetic operations fixes
[SVN r19217]
2003-07-19 20:38:15 +00:00
Jeff Garland
019634b25b added test for long time durations
[SVN r18281]
2003-04-20 17:45:30 +00:00
Jeff Garland
ad41658d25 add changes for high precision clock types
[SVN r17378]
2003-02-13 18:44:26 +00:00
Jeff Garland
540c30f3f0 fix regression error for compilers that don't support operator<<
[SVN r17332]
2003-02-12 17:30:01 +00:00
Jeff Garland
6d3227d5a9 Update to allow traits-based local time adjustment
[SVN r17304]
2003-02-10 13:23:54 +00:00
Björn Karlsson
d095bd24c1 Added copyright statement and untabified
[SVN r17200]
2003-02-04 14:25:27 +00:00
Jeff Garland
66fed94565 fix return value
[SVN r16944]
2003-01-19 19:08:09 +00:00
Jeff Garland
10f1a5c0e4 fix return value
[SVN r16943]
2003-01-19 18:56:09 +00:00
Jeff Garland
4e97eb7a77 add period.length test
[SVN r16069]
2002-11-02 21:22:11 +00:00
Jeff Garland
4a5eb87081 stream i/o tests for posix_times
[SVN r16060]
2002-11-02 18:25:36 +00:00
Jeff Garland
65dc3be200 added iso time parsing routines
[SVN r15913]
2002-10-13 16:51:34 +00:00
Jeff Garland
31a55ce548 updated macro so that high resolution tests run
[SVN r15912]
2002-10-13 16:41:34 +00:00
Jeff Garland
853b75f3ad updated macro so that high resolution tests run
[SVN r15911]
2002-10-13 16:36:21 +00:00