diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-09-17 00:49:31 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-09-17 12:46:55 +0200 |
commit | 1ad63ff14adb652996c4604da59a330cef0d494e (patch) | |
tree | 37f3acf18016ca576c73ec6a63d09c4d9ed6bbcc /tests | |
parent | 85c93d90dfae17d2ccff21aec5a55ca3029be83c (diff) | |
download | ffmpeg-1ad63ff14adb652996c4604da59a330cef0d494e.tar.gz |
fate: add av_small_strptime() test to fate-parseutils
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ref/fate/parseutils | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/fate/parseutils b/tests/ref/fate/parseutils index 042ebef938..5bf1cae9c0 100644 --- a/tests/ref/fate/parseutils +++ b/tests/ref/fate/parseutils @@ -63,6 +63,12 @@ red@10foo -> error red@-1.0 -> error red@-0.0 -> R(255) G(0) B(0) A(0) +Testing av_small_strptime() +fmt:'%Y-%m-%d' spec:'2012-12-21' -> 2012-12-21 00:00:00 +fmt:'%Y - %m - %d' spec:'2012-12-21' -> 2012-12-21 00:00:00 +fmt:'%Y-%m-%d %H:%M:%S' spec:'2012-12-21 20:12:21' -> 2012-12-21 20:12:21 +fmt:' %Y - %m - %d %H : %M : %S' spec:' 2012 - 12 - 21 20 : 12 : 21' -> 2012-12-21 20:12:21 + Testing av_parse_time() (now is 2012-03-17 09:14:13 +0100, local time is UTC+1) now -> 1331972053.000000 = 2012-03-17T08:14:13Z |