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
6ff70708
Kaydet (Commit)
6ff70708
authored
Agu 02, 2012
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#51034 testcase
Change-Id: I9a7a4e596ffb14cdcb211ff0d905c66831d30708
üst
9c53a7f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
fdo51034.odt
sw/qa/extras/ooxmlexport/data/fdo51034.odt
+0
-0
ooxmlexport.cxx
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+9
-0
No files found.
sw/qa/extras/ooxmlexport/data/fdo51034.odt
0 → 100644
Dosyayı görüntüle @
6ff70708
File added
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Dosyayı görüntüle @
6ff70708
...
...
@@ -42,6 +42,7 @@ public:
void
defaultTabStopNotInStyles
();
void
testFdo38244
();
void
testMathEscape
();
void
testFdo51034
();
CPPUNIT_TEST_SUITE
(
Test
);
#if !defined(MACOSX) && !defined(WNT)
...
...
@@ -52,6 +53,7 @@ public:
#if !(__GNUC__ == 4 && __GNUC_MINOR__ == 4)
CPPUNIT_TEST
(
testMathEscape
);
#endif
CPPUNIT_TEST
(
testFdo51034
);
#endif
CPPUNIT_TEST_SUITE_END
();
...
...
@@ -170,6 +172,13 @@ void Test::testMathEscape()
CPPUNIT_ASSERT_EQUAL
(
OUString
(
"
\\
{ left [ right ] left ( right )
\\
}"
),
getFormula
(
getRun
(
getParagraph
(
1
),
1
)));
}
void
Test
::
testFdo51034
()
{
// The problem was that the 'l' param of the HYPERLINK field was parsed with = "#", not += "#".
roundtrip
(
"fdo51034.odt"
);
CPPUNIT_ASSERT_EQUAL
(
OUString
(
"http://Www.google.com/#a"
),
getProperty
<
OUString
>
(
getRun
(
getParagraph
(
1
),
1
),
"HyperLinkURL"
));
}
CPPUNIT_TEST_SUITE_REGISTRATION
(
Test
);
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