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
98282064
Kaydet (Commit)
98282064
authored
Haz 03, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Demystify magic ponies
Change-Id: I7e619daf8743d3471ece72d81f6cf1bb61741646
üst
70c8b456
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
insertremovecells.py
pyuno/qa/pytests/insertremovecells.py
+1
-1
pyuno_module.cxx
pyuno/source/module/pyuno_module.cxx
+2
-2
unotest.py
unotest/source/python/org/libreoffice/unotest.py
+1
-1
No files found.
pyuno/qa/pytests/insertremovecells.py
Dosyayı görüntüle @
98282064
...
@@ -14,7 +14,7 @@ class InsertRemoveCells(unittest.TestCase):
...
@@ -14,7 +14,7 @@ class InsertRemoveCells(unittest.TestCase):
@classmethod
@classmethod
def
setUpClass
(
cls
):
def
setUpClass
(
cls
):
cls
.
xContext
=
pyuno
.
getComponentContext
()
cls
.
xContext
=
pyuno
.
getComponentContext
()
pyuno
.
experimentalExtraMagic
()
pyuno
.
private_initTestEnvironment
()
# no need for a tearDown(cls) method.
# no need for a tearDown(cls) method.
...
...
pyuno/source/module/pyuno_module.cxx
Dosyayı görüntüle @
98282064
...
@@ -319,7 +319,7 @@ static PyObject* getComponentContext(
...
@@ -319,7 +319,7 @@ static PyObject* getComponentContext(
return
ret
.
getAcquired
();
return
ret
.
getAcquired
();
}
}
static
PyObject
*
init
PoniesMode
(
static
PyObject
*
init
TestEnvironment
(
SAL_UNUSED_PARAMETER
PyObject
*
,
SAL_UNUSED_PARAMETER
PyObject
*
)
SAL_UNUSED_PARAMETER
PyObject
*
,
SAL_UNUSED_PARAMETER
PyObject
*
)
{
{
// this tries to bootstrap enough of the soffice from python to run
// this tries to bootstrap enough of the soffice from python to run
...
@@ -841,7 +841,7 @@ static PyObject *setCurrentContext(
...
@@ -841,7 +841,7 @@ static PyObject *setCurrentContext(
struct
PyMethodDef
PyUNOModule_methods
[]
=
struct
PyMethodDef
PyUNOModule_methods
[]
=
{
{
{
"
experimentalExtraMagic"
,
initPoniesMode
,
METH_VARARGS
,
NULL
},
{
"
private_initTestEnvironment"
,
initTestEnvironment
,
METH_VARARGS
,
NULL
},
{
"getComponentContext"
,
getComponentContext
,
METH_VARARGS
,
NULL
},
{
"getComponentContext"
,
getComponentContext
,
METH_VARARGS
,
NULL
},
{
"_createUnoStructHelper"
,
reinterpret_cast
<
PyCFunction
>
(
createUnoStructHelper
),
METH_VARARGS
|
METH_KEYWORDS
,
NULL
},
{
"_createUnoStructHelper"
,
reinterpret_cast
<
PyCFunction
>
(
createUnoStructHelper
),
METH_VARARGS
|
METH_KEYWORDS
,
NULL
},
{
"getTypeByName"
,
getTypeByName
,
METH_VARARGS
,
NULL
},
{
"getTypeByName"
,
getTypeByName
,
METH_VARARGS
,
NULL
},
...
...
unotest/source/python/org/libreoffice/unotest.py
Dosyayı görüntüle @
98282064
...
@@ -175,7 +175,7 @@ class UnoInProcess:
...
@@ -175,7 +175,7 @@ class UnoInProcess:
return
self
.
xDoc
return
self
.
xDoc
def
setUp
(
self
):
def
setUp
(
self
):
self
.
xContext
=
pyuno
.
getComponentContext
()
self
.
xContext
=
pyuno
.
getComponentContext
()
pyuno
.
experimentalExtraMagic
()
pyuno
.
private_initTestEnvironment
()
def
openEmptyWriterDoc
(
self
):
def
openEmptyWriterDoc
(
self
):
assert
(
self
.
xContext
)
assert
(
self
.
xContext
)
smgr
=
self
.
getContext
()
.
ServiceManager
smgr
=
self
.
getContext
()
.
ServiceManager
...
...
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