Home
last modified time | relevance | path

Searched refs:richEditorNode_ (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_span_test.cpp67 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
78 richEditorNode_ = nullptr; in TearDown()
114 ASSERT_NE(richEditorNode_, nullptr);
175 ASSERT_NE(richEditorNode_, nullptr);
236 ASSERT_NE(richEditorNode_, nullptr);
297 ASSERT_NE(richEditorNode_, nullptr);
358 ASSERT_NE(richEditorNode_, nullptr);
419 ASSERT_NE(richEditorNode_, nullptr);
480 ASSERT_NE(richEditorNode_, nullptr);
541 ASSERT_NE(richEditorNode_, nullptr);
[all …]
H A Drich_editor_pattern_testtwo_ng.cpp45 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
55 richEditorNode_ = nullptr; in TearDown()
76 ASSERT_NE(richEditorNode_, nullptr);
95 ASSERT_NE(richEditorNode_, nullptr);
110 ASSERT_NE(richEditorNode_, nullptr);
125 ASSERT_NE(richEditorNode_, nullptr);
144 ASSERT_NE(richEditorNode_, nullptr);
157 ASSERT_NE(richEditorNode_, nullptr);
174 ASSERT_NE(richEditorNode_, nullptr);
191 ASSERT_NE(richEditorNode_, nullptr);
[all …]
H A Drich_editor_edit_test_ng.cpp38 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
49 richEditorNode_ = nullptr; in TearDown()
66 ASSERT_NE(richEditorNode_, nullptr);
88 ASSERT_NE(richEditorNode_, nullptr);
128 ASSERT_NE(richEditorNode_, nullptr);
147 ASSERT_NE(richEditorNode_, nullptr);
165 ASSERT_NE(richEditorNode_, nullptr);
195 ASSERT_NE(richEditorNode_, nullptr);
220 ASSERT_NE(richEditorNode_, nullptr);
243 ASSERT_NE(richEditorNode_, nullptr);
[all …]
H A Drich_editor_pattern_testone_ng.cpp47 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
58 richEditorNode_ = nullptr; in TearDown()
79 ASSERT_NE(richEditorNode_, nullptr);
94 ASSERT_NE(richEditorNode_, nullptr);
109 ASSERT_NE(richEditorNode_, nullptr);
159 ASSERT_NE(richEditorNode_, nullptr);
231 ASSERT_NE(richEditorNode_, nullptr);
262 ASSERT_NE(richEditorNode_, nullptr);
289 ASSERT_NE(richEditorNode_, nullptr);
304 ASSERT_NE(richEditorNode_, nullptr);
[all …]
H A Drich_editor_pattern_testfour_ng.cpp48 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
59 richEditorNode_ = nullptr; in TearDown()
80 ASSERT_NE(richEditorNode_, nullptr);
117 ASSERT_NE(richEditorNode_, nullptr);
162 ASSERT_NE(richEditorNode_, nullptr);
180 ASSERT_NE(richEditorNode_, nullptr);
198 ASSERT_NE(richEditorNode_, nullptr);
240 ASSERT_NE(richEditorNode_, nullptr);
263 ASSERT_NE(richEditorNode_, nullptr);
303 ASSERT_NE(richEditorNode_, nullptr);
[all …]
H A Drich_editor_edit_testone_ng.cpp38 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
49 richEditorNode_ = nullptr; in TearDown()
65 ASSERT_NE(richEditorNode_, nullptr);
88 ASSERT_NE(richEditorNode_, nullptr);
103 ASSERT_NE(richEditorNode_, nullptr);
118 ASSERT_NE(richEditorNode_, nullptr);
135 ASSERT_NE(richEditorNode_, nullptr);
151 ASSERT_NE(richEditorNode_, nullptr);
171 ASSERT_NE(richEditorNode_, nullptr);
198 ASSERT_NE(richEditorNode_, nullptr);
[all …]
H A Drich_editor_base_testone_ng.cpp38 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
49 richEditorNode_ = nullptr; in TearDown()
68 ASSERT_NE(richEditorNode_, nullptr);
144 ASSERT_NE(richEditorNode_, nullptr);
185 ASSERT_NE(richEditorNode_, nullptr);
192 richEditorNode_->MarkModifyDone();
196 richEditorNode_->MarkModifyDone();
211 ASSERT_NE(richEditorNode_, nullptr);
231 ASSERT_NE(richEditorNode_, nullptr);
1081 richEditorNode_, AceType::MakeRefPtr<GeometryNode>(), richEditorNode_->GetLayoutProperty());
[all …]
H A Drich_editor_overlay_test_ng.cpp48 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
59 richEditorNode_ = nullptr; in TearDown()
80 ASSERT_NE(richEditorNode_, nullptr);
95 ASSERT_NE(richEditorNode_, nullptr);
116 ASSERT_NE(richEditorNode_, nullptr);
182 ASSERT_NE(richEditorNode_, nullptr);
198 ASSERT_NE(richEditorNode_, nullptr);
216 ASSERT_NE(richEditorNode_, nullptr);
264 ASSERT_NE(richEditorNode_, nullptr);
323 ASSERT_NE(richEditorNode_, nullptr);
[all …]
H A Drich_editor_click_test_ng.cpp48 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
59 richEditorNode_ = nullptr; in TearDown()
80 ASSERT_NE(richEditorNode_, nullptr);
140 ASSERT_NE(richEditorNode_, nullptr);
180 ASSERT_NE(richEditorNode_, nullptr);
236 ASSERT_NE(richEditorNode_, nullptr);
278 ASSERT_NE(richEditorNode_, nullptr);
319 ASSERT_NE(richEditorNode_, nullptr);
394 ASSERT_NE(richEditorNode_, nullptr);
723 richEditorNode_, AceType::MakeRefPtr<GeometryNode>(), richEditorNode_->GetLayoutProperty());
[all …]
H A Drich_editor_pattern_test_ng.cpp53 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
64 richEditorNode_ = nullptr; in TearDown()
85 ASSERT_NE(richEditorNode_, nullptr);
105 ASSERT_NE(richEditorNode_, nullptr);
150 ASSERT_NE(richEditorNode_, nullptr);
184 ASSERT_NE(richEditorNode_, nullptr);
223 ASSERT_NE(richEditorNode_, nullptr);
242 ASSERT_NE(richEditorNode_, nullptr);
280 ASSERT_NE(richEditorNode_, nullptr);
307 ASSERT_NE(richEditorNode_, nullptr);
[all …]
H A Drich_editor_click_testone_ng.cpp36 richEditorNode_ = FrameNode::GetOrCreateFrameNode( in SetUp()
38 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
44 richEditorNode_->GetGeometryNode()->SetContentSize({}); in SetUp()
49 richEditorNode_ = nullptr; in TearDown()
65 ASSERT_NE(richEditorNode_, nullptr);
73 auto focusHub = richEditorNode_->GetOrCreateFocusHub();
88 ASSERT_NE(richEditorNode_, nullptr);
105 auto focusHub = richEditorNode_->GetOrCreateFocusHub();
140 ASSERT_NE(richEditorNode_, nullptr);
154 ASSERT_NE(richEditorNode_, nullptr);
[all …]
H A Drich_editor_common_test_ng.cpp23 ASSERT_NE(richEditorNode_, nullptr); in AddSpan()
40 spanNode->MountToParent(richEditorNode_, richEditorNode_->children_.size()); in AddSpan()
56 imageNode->MountToParent(richEditorNode_, richEditorNode_->children_.size()); in AddImageSpan()
74 ASSERT_NE(richEditorNode_, nullptr); in AddParagraph()
103 ASSERT_NE(richEditorNode_, nullptr); in ClearParagraph()
111 ASSERT_NE(richEditorNode_, nullptr); in ClearSpan()
114 richEditorNode_->children_.clear(); in ClearSpan()
149 ASSERT_NE(richEditorNode_, nullptr); in RequestFocus()
163 FlushLayoutTask(richEditorNode_); in GetFocus()
172 ASSERT_NE(richEditorNode_, nullptr); in OnDrawVerify()
[all …]
H A Drich_editor_test_ng.cpp215 RefPtr<FrameNode> richEditorNode_; member in OHOS::Ace::NG::RichEditorTestNg
252 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
263 richEditorNode_ = nullptr; in TearDown()
275 ASSERT_NE(richEditorNode_, nullptr); in AddSpan()
292 spanNode->MountToParent(richEditorNode_, richEditorNode_->children_.size()); in AddSpan()
311 imageNode->MountToParent(richEditorNode_, richEditorNode_->children_.size()); in AddImageSpan()
329 ASSERT_NE(richEditorNode_, nullptr); in AddParagraph()
356 ASSERT_NE(richEditorNode_, nullptr); in ClearParagraph()
367 richEditorNode_->children_.clear(); in ClearSpan()
416 FlushLayoutTask(richEditorNode_); in GetFocus()
[all …]
H A Drich_editor_keyboard_shortcut_test_ng.cpp45 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
56 richEditorNode_ = nullptr; in TearDown()
77 ASSERT_NE(richEditorNode_, nullptr);
115 ASSERT_NE(richEditorNode_, nullptr);
167 ASSERT_NE(richEditorNode_, nullptr);
215 ASSERT_NE(richEditorNode_, nullptr);
265 ASSERT_NE(richEditorNode_, nullptr);
307 ASSERT_NE(richEditorNode_, nullptr);
339 ASSERT_NE(richEditorNode_, nullptr);
373 ASSERT_NE(richEditorNode_, nullptr);
[all …]
H A Drich_editor_base_test_ng.cpp45 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
56 richEditorNode_ = nullptr; in TearDown()
77 ASSERT_NE(richEditorNode_, nullptr);
491 ASSERT_NE(richEditorNode_, nullptr);
531 ASSERT_NE(richEditorNode_, nullptr);
568 ASSERT_NE(richEditorNode_, nullptr);
608 ASSERT_NE(richEditorNode_, nullptr);
684 ASSERT_NE(richEditorNode_, nullptr);
742 ASSERT_NE(richEditorNode_, nullptr);
1034 richEditorNode_, AceType::MakeRefPtr<GeometryNode>(), richEditorNode_->GetLayoutProperty());
[all …]
H A Drich_editor_styled_string_test_ng.cpp63 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
75 richEditorNode_ = nullptr; in TearDown()
143 ASSERT_NE(richEditorNode_, nullptr); in SetTypingStyle()
213 ASSERT_NE(richEditorNode_, nullptr);
265 ASSERT_NE(richEditorNode_, nullptr);
309 ASSERT_NE(richEditorNode_, nullptr);
343 ASSERT_NE(richEditorNode_, nullptr);
378 ASSERT_NE(richEditorNode_, nullptr);
428 ASSERT_NE(richEditorNode_, nullptr);
488 ASSERT_NE(richEditorNode_, nullptr);
[all …]
H A Drich_editor_preview_text_test_ng.cpp43 richEditorNode_ = FrameNode::GetOrCreateFrameNode( in SetUp()
45 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
46 auto richEditorPattern = richEditorNode_->GetPattern<RichEditorPattern>(); in SetUp()
51 richEditorNode_->GetGeometryNode()->SetContentSize({}); in SetUp()
56 richEditorNode_ = nullptr; in TearDown()
78 ASSERT_NE(richEditorNode_, nullptr);
79 auto richEditorPattern = richEditorNode_->GetPattern<RichEditorPattern>();
130 ASSERT_NE(richEditorNode_, nullptr);
171 ASSERT_NE(richEditorNode_, nullptr);
202 ASSERT_NE(richEditorNode_, nullptr);
[all …]
H A Drich_editor_change_callback_test_ng.cpp48 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
59 richEditorNode_ = nullptr; in TearDown()
920 ASSERT_NE(richEditorNode_, nullptr);
952 ASSERT_NE(richEditorNode_, nullptr);
984 ASSERT_NE(richEditorNode_, nullptr);
1021 ASSERT_NE(richEditorNode_, nullptr);
1055 ASSERT_NE(richEditorNode_, nullptr);
1090 ASSERT_NE(richEditorNode_, nullptr);
1128 ASSERT_NE(richEditorNode_, nullptr);
1177 ASSERT_NE(richEditorNode_, nullptr);
[all …]
H A Drich_editor_content_modifier_test_ng.cpp65 richEditorNode_ = FrameNode::GetOrCreateFrameNode( in SetUp()
67 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
68 auto richEditorPattern = richEditorNode_->GetPattern<RichEditorPattern>(); in SetUp()
74 richEditorNode_->GetGeometryNode()->SetContentSize({}); in SetUp()
79 richEditorNode_ = nullptr; in TearDown()
147 ASSERT_NE(richEditorNode_, nullptr); in SetTypingStyle()
148 auto richEditorPattern = richEditorNode_->GetPattern<RichEditorPattern>(); in SetTypingStyle()
159 auto richEditorPattern = richEditorNode_->GetPattern<RichEditorPattern>();
180 auto richEditorPattern = richEditorNode_->GetPattern<RichEditorPattern>();
197 auto richEditorPattern = richEditorNode_->GetPattern<RichEditorPattern>();
[all …]
H A Drich_editor_pattern_testthree_ng.cpp43 richEditorNode_ = FrameNode::GetOrCreateFrameNode( in SetUp()
45 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
50 richEditorNode_->GetGeometryNode()->SetContentSize({}); in SetUp()
55 richEditorNode_ = nullptr; in TearDown()
66 CHECK_NULL_RETURN(richEditorNode_, nullptr); in GetRichEditorPattern()
67 return richEditorNode_->GetPattern<RichEditorPattern>(); in GetRichEditorPattern()
329 ASSERT_NE(richEditorNode_, nullptr);
401 placeholderSpanNode->MountToParent(richEditorNode_);
445 auto rendenContext = richEditorNode_->GetRenderContext();
448 auto geometryNode = richEditorNode_->GetGeometryNode();
[all …]
H A Drich_editor_drag_test_ng.cpp43 richEditorNode_ = FrameNode::GetOrCreateFrameNode( in SetUp()
45 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
46 auto richEditorPattern = richEditorNode_->GetPattern<RichEditorPattern>(); in SetUp()
51 richEditorNode_->GetGeometryNode()->SetContentSize({}); in SetUp()
56 richEditorNode_ = nullptr; in TearDown()
H A Drich_editor_common_test_ng.h218 RefPtr<FrameNode> richEditorNode_; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor_drag/
H A Drich_editor_drag_test_ng.cpp43 richEditorNode_ = FrameNode::GetOrCreateFrameNode( in SetUp()
45 ASSERT_NE(richEditorNode_, nullptr); in SetUp()
46 auto richEditorPattern = richEditorNode_->GetPattern<RichEditorPattern>(); in SetUp()
51 richEditorNode_->GetGeometryNode()->SetContentSize({}); in SetUp()
56 richEditorNode_ = nullptr; in TearDown()