X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-adaptor%2Futc-Dali-Window.cpp;h=b02764a07c9c22b38910307b24124b53db0db883;hb=1d0d7873858fd2010b71e5db8f03654fb307370f;hp=b465b40dd5fe8d049b2a64a631188ef913a4b14d;hpb=b5e2305001573d0758a5092f5a6d78f8fccfe779;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/automated-tests/src/dali-adaptor/utc-Dali-Window.cpp b/automated-tests/src/dali-adaptor/utc-Dali-Window.cpp index b465b40..b02764a 100644 --- a/automated-tests/src/dali-adaptor/utc-Dali-Window.cpp +++ b/automated-tests/src/dali-adaptor/utc-Dali-Window.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,13 +16,10 @@ */ #include -#include +#include +#include #include -namespace Dali -{ -class DragAndDropDetector : public BaseHandle {}; // For UtcDaliWindowGetDragAndDropDetectorN -} using namespace Dali; @@ -141,54 +138,6 @@ int UtcDaliWindowNewN(void) END_TEST; } -int UtcDaliWindowShowIndicatorN(void) -{ - Dali::Window window; - try - { - window.ShowIndicator(Dali::Window::VISIBLE); - DALI_TEST_CHECK( false ); // Should not reach here! - } - catch( ... ) - { - DALI_TEST_CHECK( true ); - } - - END_TEST; -} - -int UtcDaliWindowSetIndicatorBgOpacityN(void) -{ - Dali::Window window; - try - { - window.SetIndicatorBgOpacity(Dali::Window::OPAQUE); - DALI_TEST_CHECK( false ); // Should not reach here! - } - catch( ... ) - { - DALI_TEST_CHECK( true ); - } - - END_TEST; -} - -int UtcDaliWindowRotateIndicatorN(void) -{ - Dali::Window window; - try - { - window.RotateIndicator(Dali::Window::PORTRAIT); - DALI_TEST_CHECK( false ); // Should not reach here! - } - catch( ... ) - { - DALI_TEST_CHECK( true ); - } - - END_TEST; -} - int UtcDaliWindowSetClassN(void) { Dali::Window window; @@ -317,22 +266,6 @@ int UtcDaliWindowGetPreferredOrientationN(void) END_TEST; } -int UtcDaliWindowGetDragAndDropDetectorN(void) -{ - Dali::Window window; - try - { - DragAndDropDetector detector = window.GetDragAndDropDetector(); - DALI_TEST_CHECK( !detector ); // Should not reach here! - } - catch( ... ) - { - DALI_TEST_CHECK( true ); - } - - END_TEST; -} - int UtcDaliWindowGetNativeHandleN(void) { Dali::Window window; @@ -381,28 +314,12 @@ int UtcDaliWindowIsFocusAcceptableN(void) END_TEST; } -int UtcDaliWindowIndicatorVisibilityChangedSignalN(void) -{ - Dali::Window window; - try - { - window.IndicatorVisibilityChangedSignal(); - DALI_TEST_CHECK( false ); // Should not reach here! - } - catch( ... ) - { - DALI_TEST_CHECK( true ); - } - - END_TEST; -} - -int UtcDaliWindowFocusChangedSignalN(void) +int UtcDaliWindowFocusChangeSignalN(void) { Dali::Window window; try { - window.FocusChangedSignal(); + window.FocusChangeSignal(); DALI_TEST_CHECK( false ); // Should not reach here! } catch( ... )