summaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/parseutils
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-09-17 00:49:31 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-09-17 12:46:55 +0200
commit1ad63ff14adb652996c4604da59a330cef0d494e (patch)
tree37f3acf18016ca576c73ec6a63d09c4d9ed6bbcc /tests/ref/fate/parseutils
parent85c93d90dfae17d2ccff21aec5a55ca3029be83c (diff)
downloadffmpeg-streaming-1ad63ff14adb652996c4604da59a330cef0d494e.zip
ffmpeg-streaming-1ad63ff14adb652996c4604da59a330cef0d494e.tar.gz
fate: add av_small_strptime() test to fate-parseutils
Diffstat (limited to 'tests/ref/fate/parseutils')
-rw-r--r--tests/ref/fate/parseutils6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/fate/parseutils b/tests/ref/fate/parseutils
index 042ebef..5bf1cae 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
OpenPOWER on IntegriCloud