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
0999f646
Kaydet (Commit)
0999f646
authored
Ock 10, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
New loplugin:conststringvar: sdext
Change-Id: I2452ef62e34b1837048ab79bde07660a50b6dec9
üst
92b58a27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
tests.cxx
sdext/source/pdfimport/test/tests.cxx
+6
-6
No files found.
sdext/source/pdfimport/test/tests.cxx
Dosyayı görüntüle @
0999f646
...
...
@@ -229,9 +229,9 @@ namespace
CPPUNIT_ASSERT_MESSAGE
(
"Line width is 0"
,
rtl
::
math
::
approxEqual
(
rContext
.
LineWidth
,
28.3
)
);
const
char
*
sExportString
=
"m53570 7650-35430 24100"
;
const
char
sExportString
[]
=
"m53570 7650-35430 24100"
;
CPPUNIT_ASSERT_MESSAGE
(
"Stroke is m535.7 518.5-354.3-241"
,
basegfx
::
tools
::
exportToSvgD
(
aPath
,
true
,
true
,
false
)
.
equalsAscii
(
sExportString
)
);
basegfx
::
tools
::
exportToSvgD
(
aPath
,
true
,
true
,
false
)
==
sExportString
);
m_bGreenStrokeSeen
=
true
;
}
...
...
@@ -251,9 +251,9 @@ namespace
CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE
(
"Line width is 0"
,
0
,
rContext
.
LineWidth
,
0.0000001
);
const
char
*
sExportString
=
"m49890 5670.00000000001-35430 24090"
;
const
char
sExportString
[]
=
"m49890 5670.00000000001-35430 24090"
;
CPPUNIT_ASSERT_MESSAGE
(
"Stroke is m49890 5670.00000000001-35430 24090"
,
basegfx
::
tools
::
exportToSvgD
(
aPath
,
true
,
true
,
false
)
.
equalsAscii
(
sExportString
)
);
basegfx
::
tools
::
exportToSvgD
(
aPath
,
true
,
true
,
false
)
==
sExportString
);
m_bDashedLineSeen
=
true
;
}
...
...
@@ -308,10 +308,10 @@ namespace
CPPUNIT_ASSERT_EQUAL_MESSAGE
(
"Font id is 0"
,
(
sal_Int32
)
0
,
rContext
.
FontId
);
const
char
*
sExportString
=
"m12050 49610c-4310 0-7800-3490-7800-7800 0-4300 "
const
char
sExportString
[]
=
"m12050 49610c-4310 0-7800-3490-7800-7800 0-4300 "
"3490-7790 7800-7790 4300 0 7790 3490 7790 7790 0 4310-3490 7800-7790 7800z"
;
CPPUNIT_ASSERT_MESSAGE
(
"Stroke is a 4-bezier circle"
,
basegfx
::
tools
::
exportToSvgD
(
aPath
,
true
,
true
,
false
)
.
equalsAscii
(
sExportString
)
);
basegfx
::
tools
::
exportToSvgD
(
aPath
,
true
,
true
,
false
)
==
sExportString
);
m_bRedCircleSeen
=
true
;
}
...
...
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