mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-23 06:50:40 +00:00
Signed-off-by: lpf <liaopengfei@h-partners.com>
BUILD.gn修改, 编译通过
This commit is contained in:
parent
24dd342609
commit
d86f8db1b2
@ -58,6 +58,10 @@ ohos_systemtest("wms_window_layout_test") {
|
||||
|
||||
sources = [ "window_layout_test.cpp" ]
|
||||
|
||||
include_dirs = [
|
||||
"${window_base_path}/window_scene/test/mock",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":wms_systemtest_common",
|
||||
"${window_base_path}/window_scene/common:window_scene_common",
|
||||
|
@ -19,6 +19,8 @@
|
||||
#include "wm_common.h"
|
||||
#include "window_adapter.h"
|
||||
#include "window_scene_session_impl.h"
|
||||
#include "ability_context_impl.h"
|
||||
#include "mock_session.h"
|
||||
|
||||
|
||||
using namespace testing;
|
||||
@ -1222,7 +1224,7 @@ HWTEST_F(WindowLayoutTest, resize08, Function | MediumTest | Level3)
|
||||
ASSERT_EQ(WMError::WM_OK, window->Create(abilityContext_, session));
|
||||
ASSERT_EQ(WMError::WM_ERROR_INVALID_WINDOW, window->Destroy(false));
|
||||
ASSERT_EQ(WMError::WM_ERROR_REPEAT_OPERATION, window->Create(abilityContext_, session));
|
||||
|
||||
|
||||
window->property_->SetPersistentId(10015);
|
||||
|
||||
WMError ret = window->Resize(-500, -500);
|
||||
|
Loading…
Reference in New Issue
Block a user