Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8ee75350
Kaydet (Commit)
8ee75350
authored
May 10, 2016
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
uitest: close all the documents in the tests
Change-Id: I4ad9c2603edbf3ac6fc4db60481dc93c16ea63ff
üst
0c5abdea
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
2 deletions
+18
-2
checkbox.py
uitest/demo_ui/checkbox.py
+3
-0
combobox.py
uitest/demo_ui/combobox.py
+3
-0
edit.py
uitest/demo_ui/edit.py
+0
-2
listbox.py
uitest/demo_ui/listbox.py
+6
-0
tabdialog.py
uitest/demo_ui/tabdialog.py
+6
-0
No files found.
uitest/demo_ui/checkbox.py
Dosyayı görüntüle @
8ee75350
...
...
@@ -34,6 +34,9 @@ def toggle_checkbox(xContext):
xNegativeNumRedCB
=
xCellsDlg
.
getChild
(
"negnumred"
)
xNegativeNumRedCB
.
executeAction
(
"CLICK"
,
tuple
())
okBtn
=
xCellsDlg
.
getChild
(
"ok"
)
okBtn
.
executeAction
(
"CLICK"
,
tuple
())
ui_test
.
close_doc
()
# vim:set shiftwidth=4 softtabstop=4 expandtab: */
uitest/demo_ui/combobox.py
Dosyayı görüntüle @
8ee75350
...
...
@@ -25,6 +25,9 @@ def select_entry_pos(xContext):
actionProps
=
mkPropertyValues
(
props
)
scopeCB
.
executeAction
(
"SELECT"
,
actionProps
)
xCancelBtn
=
xAddNameDlg
.
getChild
(
"cancel"
)
xCancelBtn
.
executeAction
(
"CLICK"
,
tuple
())
ui_test
.
close_doc
()
# vim:set shiftwidth=4 softtabstop=4 expandtab: */
uitest/demo_ui/edit.py
Dosyayı görüntüle @
8ee75350
...
...
@@ -39,8 +39,6 @@ def type_text(xContext):
xAddBtn
=
xAddNameDlg
.
getChild
(
"cancel"
)
xAddBtn
.
executeAction
(
"CLICK"
,
tuple
())
xUITest
.
executeCommand
(
".uno:CloseDoc"
)
ui_test
.
close_doc
()
# vim:set shiftwidth=4 softtabstop=4 expandtab: */
uitest/demo_ui/listbox.py
Dosyayı görüntüle @
8ee75350
...
...
@@ -25,6 +25,9 @@ def select_entry_pos(xContext):
actionProps
=
mkPropertyValues
(
props
)
categoryLB
.
executeAction
(
"SELECT"
,
actionProps
)
xOkBtn
=
xCellsDlg
.
getChild
(
"ok"
)
xOkBtn
.
executeAction
(
"CLICK"
,
tuple
())
ui_test
.
close_doc
()
def
select_entry_text
(
xContext
):
...
...
@@ -44,6 +47,9 @@ def select_entry_text(xContext):
actionProps
=
mkPropertyValues
(
props
)
categoryLB
.
executeAction
(
"SELECT"
,
actionProps
)
xOkBtn
=
xCellsDlg
.
getChild
(
"ok"
)
xOkBtn
.
executeAction
(
"CLICK"
,
tuple
())
ui_test
.
close_doc
()
# vim:set shiftwidth=4 softtabstop=4 expandtab: */
uitest/demo_ui/tabdialog.py
Dosyayı görüntüle @
8ee75350
...
...
@@ -26,6 +26,9 @@ def select_tab_page_pos(xContext):
propsUNO
=
mkPropertyValues
(
props
)
xCellsDlg
.
executeAction
(
"SELECT"
,
propsUNO
)
xOkBtn
=
xCellsDlg
.
getChild
(
"ok"
)
xOkBtn
.
executeAction
(
"CLICK"
,
tuple
())
ui_test
.
close_doc
()
def
select_tab_page_name
(
xContext
):
...
...
@@ -43,6 +46,9 @@ def select_tab_page_name(xContext):
propsUNO
=
mkPropertyValues
(
props
)
xCellsDlg
.
executeAction
(
"SELECT"
,
propsUNO
)
xOkBtn
=
xCellsDlg
.
getChild
(
"ok"
)
xOkBtn
.
executeAction
(
"CLICK"
,
tuple
())
ui_test
.
close_doc
()
# vim:set shiftwidth=4 softtabstop=4 expandtab: */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment