From: Adeel Kazmi Date: Fri, 8 Jul 2016 18:57:08 +0000 (+0100) Subject: (Automated Tests) Added Video view test to increase coverage X-Git-Tag: dali_1.1.43~11^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=36a6654af23b7900b20442221fd4ed41b571f922;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git (Automated Tests) Added Video view test to increase coverage Change-Id: I1711c304b36b2cae8a8597094a23791d2d78892f --- diff --git a/automated-tests/src/dali-toolkit/utc-Dali-VideoView.cpp b/automated-tests/src/dali-toolkit/utc-Dali-VideoView.cpp index b64b500..cc76ea3 100644 --- a/automated-tests/src/dali-toolkit/utc-Dali-VideoView.cpp +++ b/automated-tests/src/dali-toolkit/utc-Dali-VideoView.cpp @@ -221,3 +221,21 @@ int UtcDaliVideoViewTypeRegistry(void) END_TEST; } + +int UtcDaliVideoViewMethodsForCoverage(void) +{ + ToolkitTestApplication application; + + VideoView videoView = VideoView::New(); + DALI_TEST_CHECK( videoView ); + + videoView.Play(); + videoView.Pause(); + videoView.Stop(); + videoView.Forward(10); + videoView.Backward(10); + VideoView::VideoViewSignalType& signal = videoView.FinishedSignal(); + DALI_TEST_EQUALS( 0, signal.GetConnectionCount(), TEST_LOCATION ); + + END_TEST; +}