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
7580d67e
Kaydet (Commit)
7580d67e
authored
Tem 13, 2016
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
uitest: all files moved to the new directory layout
Change-Id: Ib5a6fc98fafb774ca5c7cc1323dbe4eb8a1c4aff
üst
7f587841
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
15 additions
and
47 deletions
+15
-47
about_test.py
uitest/calc_tests/about_test.py
+0
-2
create_chart.py
uitest/calc_tests/create_chart.py
+0
-2
create_range_name.py
uitest/calc_tests/create_range_name.py
+0
-2
function_wizard.py
uitest/calc_tests/function_wizard.py
+0
-2
gridwin.py
uitest/calc_tests/gridwin.py
+0
-2
gridwindow.py
uitest/calc_tests/gridwindow.py
+0
-2
char_dialog.py
uitest/demo_ui/char_dialog.py
+1
-2
checkbox.py
uitest/demo_ui/checkbox.py
+0
-2
combobox.py
uitest/demo_ui/combobox.py
+0
-2
edit.py
uitest/demo_ui/edit.py
+0
-2
gridwin.py
uitest/demo_ui/gridwin.py
+0
-2
listbox.py
uitest/demo_ui/listbox.py
+0
-2
radiobutton.py
uitest/demo_ui/radiobutton.py
+0
-2
spinfield.py
uitest/demo_ui/spinfield.py
+0
-2
tabcontrol.py
uitest/demo_ui/tabcontrol.py
+0
-2
tabdialog.py
uitest/demo_ui/tabdialog.py
+0
-2
treelist.py
uitest/demo_ui/treelist.py
+0
-2
config.py
uitest/uitest/config.py
+2
-0
framework.py
uitest/uitest/framework.py
+1
-1
test.py
uitest/uitest/test.py
+11
-12
No files found.
uitest/calc_tests/about_test.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,8 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
uitest.framework
import
UITestCase
class
AboutDlgTest
(
UITestCase
):
...
...
uitest/calc_tests/create_chart.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,8 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
libreoffice.uno.propertyvalue
import
mkPropertyValues
from
uitest.framework
import
UITestCase
...
...
uitest/calc_tests/create_range_name.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,8 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
libreoffice.uno.propertyvalue
import
mkPropertyValues
from
uitest.framework
import
UITestCase
...
...
uitest/calc_tests/function_wizard.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,8 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
libreoffice.uno.propertyvalue
import
mkPropertyValues
from
uitest.framework
import
UITestCase
...
...
uitest/calc_tests/gridwin.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,8 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
libreoffice.uno.propertyvalue
import
mkPropertyValues
from
uitest.framework
import
UITestCase
...
...
uitest/calc_tests/gridwindow.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,8 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
libreoffice.uno.propertyvalue
import
mkPropertyValues
from
uitest.uihelper.calc
import
enter_text_to_cell
...
...
uitest/demo_ui/char_dialog.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,9 +5,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
libreoffice.uno.propertyvalue
import
mkPropertyValues
from
uitest.framework
import
UITestCase
from
uitest.debug
import
sleep
...
...
uitest/demo_ui/checkbox.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,8 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
libreoffice.uno.propertyvalue
import
mkPropertyValues
from
uitest.framework
import
UITestCase
...
...
uitest/demo_ui/combobox.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,8 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
libreoffice.uno.propertyvalue
import
mkPropertyValues
from
uitest.framework
import
UITestCase
...
...
uitest/demo_ui/edit.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,8 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
libreoffice.uno.propertyvalue
import
mkPropertyValues
from
uitest.framework
import
UITestCase
...
...
uitest/demo_ui/gridwin.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,8 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
libreoffice.uno.propertyvalue
import
mkPropertyValues
from
uitest.framework
import
UITestCase
...
...
uitest/demo_ui/listbox.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,8 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
libreoffice.uno.propertyvalue
import
mkPropertyValues
from
uitest.framework
import
UITestCase
...
...
uitest/demo_ui/radiobutton.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,8 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
libreoffice.uno.propertyvalue
import
mkPropertyValues
from
uitest.framework
import
UITestCase
...
...
uitest/demo_ui/spinfield.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,8 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
libreoffice.uno.propertyvalue
import
mkPropertyValues
from
uitest.uihelper.common
import
get_state_as_dict
...
...
uitest/demo_ui/tabcontrol.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,8 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
libreoffice.uno.propertyvalue
import
mkPropertyValues
from
uitest.uihelper.calc
import
enter_text_to_cell
...
...
uitest/demo_ui/tabdialog.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,8 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
libreoffice.uno.propertyvalue
import
mkPropertyValues
from
uitest.framework
import
UITestCase
...
...
uitest/demo_ui/treelist.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -5,8 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
from
uitest_helper
import
UITest
from
libreoffice.uno.propertyvalue
import
mkPropertyValues
from
uitest.uihelper.calc
import
enter_text_to_cell
...
...
uitest/uitest/config.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -7,4 +7,6 @@
use_sleep
=
False
DEFAULT_SLEEP
=
0.1
# vim:set shiftwidth=4 softtabstop=4 expandtab: */
uitest/uitest/framework.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -8,7 +8,7 @@
import
unittest
import
time
from
uitest
_helper
import
UITest
from
uitest
.test
import
UITest
from
libreoffice.connection
import
PersistentConnection
,
OfficeConnection
...
...
uitest/uitest
_helper
.py
→
uitest/uitest
/test
.py
Dosyayı görüntüle @
7580d67e
...
...
@@ -6,6 +6,7 @@
#
import
time
from
uitest.config
import
DEFAULT_SLEEP
from
libreoffice.uno.eventlistener
import
EventListener
...
...
@@ -18,8 +19,6 @@ class DialogNotExecutedException(Exception):
class
UITest
(
object
):
DEFAULT_SLEEP
=
0.1
def
__init__
(
self
,
xUITest
,
xContext
):
self
.
_xUITest
=
xUITest
self
.
_xContext
=
xContext
...
...
@@ -30,10 +29,10 @@ class UITest(object):
time_
=
0
while
time_
<
30
:
if
event
.
executed
:
time
.
sleep
(
self
.
DEFAULT_SLEEP
)
time
.
sleep
(
DEFAULT_SLEEP
)
return
time_
+=
self
.
DEFAULT_SLEEP
time
.
sleep
(
self
.
DEFAULT_SLEEP
)
time_
+=
DEFAULT_SLEEP
time
.
sleep
(
DEFAULT_SLEEP
)
raise
DialogNotExecutedException
(
command
)
...
...
@@ -43,10 +42,10 @@ class UITest(object):
time_
=
0
while
time_
<
30
:
if
event
.
executed
:
time
.
sleep
(
self
.
DEFAULT_SLEEP
)
time
.
sleep
(
DEFAULT_SLEEP
)
return
time_
+=
self
.
DEFAULT_SLEEP
time
.
sleep
(
self
.
DEFAULT_SLEEP
)
time_
+=
DEFAULT_SLEEP
time
.
sleep
(
DEFAULT_SLEEP
)
raise
DialogNotExecutedException
(
command
)
...
...
@@ -59,8 +58,8 @@ class UITest(object):
while
time_
<
30
:
if
event
.
executed
:
return
time_
+=
self
.
DEFAULT_SLEEP
time
.
sleep
(
self
.
DEFAULT_SLEEP
)
time_
+=
DEFAULT_SLEEP
time
.
sleep
(
DEFAULT_SLEEP
)
print
(
"failure doc in start center"
)
...
...
@@ -79,7 +78,7 @@ class UITest(object):
elif
event
.
hasExecuted
(
"OnViewClosed"
):
return
time_
+=
self
.
DEFAULT_SLEEP
time
.
sleep
(
self
.
DEFAULT_SLEEP
)
time_
+=
DEFAULT_SLEEP
time
.
sleep
(
DEFAULT_SLEEP
)
# 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