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
63572992
Kaydet (Commit)
63572992
authored
Agu 03, 2013
tarafından
Lionel Elie Mamane
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
minor tweaks to existing unittests
Change-Id: I64769fee917c5d8c6450a19ad53fdf795e280c98
üst
79f79ab0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
macros-test.cxx
dbaccess/qa/extras/macros-test.cxx
+1
-0
macros-test.cxx
sc/qa/extras/macros-test.cxx
+2
-2
No files found.
dbaccess/qa/extras/macros-test.cxx
Dosyayı görüntüle @
63572992
...
...
@@ -80,6 +80,7 @@ void DBAccessTest::setUp()
// This is a bit of a fudge, we do this to ensure that ScGlobals::ensure,
// which is a private symbol to us, gets called
mxDesktop
=
com
::
sun
::
star
::
frame
::
Desktop
::
create
(
comphelper
::
getComponentContext
(
getMultiServiceFactory
())
);
CPPUNIT_ASSERT
(
mxDesktop
.
is
());
}
void
DBAccessTest
::
tearDown
()
...
...
sc/qa/extras/macros-test.cxx
Dosyayı görüntüle @
63572992
...
...
@@ -9,7 +9,6 @@
#include <sal/config.h>
#include <test/unoapi_test.hxx>
#include <unotest/macros_test.hxx>
#include <rtl/strbuf.hxx>
#include <osl/file.hxx>
...
...
@@ -81,7 +80,8 @@ void ScMacrosTest::testMSP()
SfxObjectShell
*
pFoundShell
=
SfxObjectShell
::
GetShellFromComponent
(
xComponent
);
CPPUNIT_ASSERT_MESSAGE
(
"Failed to access document shell"
,
pFoundShell
);
ScDocShell
*
xDocSh
=
static_cast
<
ScDocShell
*>
(
pFoundShell
);
ScDocShell
*
xDocSh
=
dynamic_cast
<
ScDocShell
*>
(
pFoundShell
);
CPPUNIT_ASSERT
(
xDocSh
!=
NULL
);
pFoundShell
->
CallXScript
(
xComponent
,
sUrl
,
aParams
,
aRet
,
aOutParamIndex
,
aOutParam
);
OUString
sResult
;
...
...
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