Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-09-17 02:49:31 +0400
committerStefano Sabatini <stefasab@gmail.com>2012-09-17 14:46:55 +0400
commit1ad63ff14adb652996c4604da59a330cef0d494e (patch)
tree37f3acf18016ca576c73ec6a63d09c4d9ed6bbcc /tests
parent85c93d90dfae17d2ccff21aec5a55ca3029be83c (diff)
fate: add av_small_strptime() test to fate-parseutils
Diffstat (limited to 'tests')
-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 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