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
2c4e0aaa
Kaydet (Commit)
2c4e0aaa
authored
Tem 31, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#88986 testcase
Change-Id: I90d0c76c11e44ffe18be9fde4df06ccd0ac13da9
üst
ab959403
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
uiwriter.cxx
sw/qa/extras/uiwriter/uiwriter.cxx
+20
-0
No files found.
sw/qa/extras/uiwriter/uiwriter.cxx
Dosyayı görüntüle @
2c4e0aaa
...
@@ -52,6 +52,8 @@
...
@@ -52,6 +52,8 @@
#include <editeng/wghtitem.hxx>
#include <editeng/wghtitem.hxx>
#include "UndoManager.hxx"
#include "UndoManager.hxx"
#include <textsh.hxx>
#include <frmmgr.hxx>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
...
@@ -145,6 +147,7 @@ public:
...
@@ -145,6 +147,7 @@ public:
void
testDde
();
void
testDde
();
void
testTdf89954
();
void
testTdf89954
();
void
testTdf89720
();
void
testTdf89720
();
void
testTdf88986
();
CPPUNIT_TEST_SUITE
(
SwUiWriterTest
);
CPPUNIT_TEST_SUITE
(
SwUiWriterTest
);
CPPUNIT_TEST
(
testReplaceForward
);
CPPUNIT_TEST
(
testReplaceForward
);
...
@@ -209,6 +212,7 @@ public:
...
@@ -209,6 +212,7 @@ public:
CPPUNIT_TEST
(
testDde
);
CPPUNIT_TEST
(
testDde
);
CPPUNIT_TEST
(
testTdf89954
);
CPPUNIT_TEST
(
testTdf89954
);
CPPUNIT_TEST
(
testTdf89720
);
CPPUNIT_TEST
(
testTdf89720
);
CPPUNIT_TEST
(
testTdf88986
);
CPPUNIT_TEST_SUITE_END
();
CPPUNIT_TEST_SUITE_END
();
private
:
private
:
...
@@ -2146,6 +2150,22 @@ void SwUiWriterTest::testTdf89720()
...
@@ -2146,6 +2150,22 @@ void SwUiWriterTest::testTdf89720()
}
}
}
}
void
SwUiWriterTest
::
testTdf88986
()
{
// Create a text shell.
SwDoc
*
pDoc
=
createDoc
();
SwView
*
pView
=
pDoc
->
GetDocShell
()
->
GetView
();
SwTextShell
aShell
(
*
pView
);
// Create the item set that is normally passed to the insert frame dialog.
SwWrtShell
*
pWrtShell
=
pDoc
->
GetDocShell
()
->
GetWrtShell
();
SwFlyFrmAttrMgr
aMgr
(
true
,
pWrtShell
,
FRMMGR_TYPE_TEXT
);
SfxItemSet
aSet
=
aShell
.
CreateInsertFrameItemSet
(
aMgr
);
// This was missing along with the gradient and other tables.
CPPUNIT_ASSERT
(
aSet
.
HasItem
(
SID_COLOR_TABLE
));
}
CPPUNIT_TEST_SUITE_REGISTRATION
(
SwUiWriterTest
);
CPPUNIT_TEST_SUITE_REGISTRATION
(
SwUiWriterTest
);
CPPUNIT_PLUGIN_IMPLEMENT
();
CPPUNIT_PLUGIN_IMPLEMENT
();
...
...
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