[pitivi: 5/7] tests: Add mixing tests to still image tests



commit 0d4d336f7556c9abdd708783fe04d990412136ac
Author: Robert Swain <robert swain collabora co uk>
Date:   Mon Aug 16 11:46:08 2010 +0200

    tests: Add mixing tests to still image tests

 tests/test_still_image.py |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/tests/test_still_image.py b/tests/test_still_image.py
index df3b681..6e5ac85 100644
--- a/tests/test_still_image.py
+++ b/tests/test_still_image.py
@@ -136,6 +136,12 @@ class TestStillImage(TestCase):
         self.cleanUp()
 
 
+        # mix images with different resolutions by overlapping
+        self.configureStreams(range(3), [0, self.clip_duration // 2, self.clip_duration])
+        self.startRender()
+        self.cleanUp()
+
+
         # mix images and videos with the same resolution
         self.configureStreams([0, 1, 3], [0, self.clip_duration, 2 * self.clip_duration])
         self.startRender()
@@ -147,3 +153,9 @@ class TestStillImage(TestCase):
         self.startRender()
         self.cleanUp()
 
+
+        # mix images and videos with different resolutions by overlapping
+        self.configureStreams(range(4), [0, self.clip_duration // 2, self.clip_duration, (3 * self.clip_duration) // 2])
+        self.startRender()
+        self.cleanUp()
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]