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
438d3eef
Kaydet (Commit)
438d3eef
authored
Mar 18, 2010
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cmcfixes73: #i110069# remove platform-dependent test
üst
6f9dd672
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
+0
-26
basegfx2d.cxx
basegfx/test/basegfx2d.cxx
+0
-26
No files found.
basegfx/test/basegfx2d.cxx
Dosyayı görüntüle @
438d3eef
...
@@ -465,32 +465,6 @@ public:
...
@@ -465,32 +465,6 @@ public:
CPPUNIT_ASSERT_MESSAGE
(
"exporting complex polygon to SVG-D (round-trip)"
,
CPPUNIT_ASSERT_MESSAGE
(
"exporting complex polygon to SVG-D (round-trip)"
,
!
aExport
.
compareToAscii
(
sExportString2
));
!
aExport
.
compareToAscii
(
sExportString2
));
const
B2DPolygon
aCircle
(
tools
::
createPolygonFromEllipse
(
B2DPoint
(
4000
,
4000
),
1000.0
,
2000.0
));
aExport
=
tools
::
exportToSvgD
(
B2DPolyPolygon
(
aCircle
),
false
,
false
);
// count number of spaces, in lieu of a better way - no real
// point in comparing with a gold standard, as fractional
// parts of the coordinates will differ between systems.
sal_Int32
nIndex
=
0
,
nCount
=
0
;
do
{
rtl
::
OUString
aToken
=
aExport
.
getToken
(
0
,
' '
,
nIndex
);
++
nCount
;
}
while
(
nIndex
>=
0
);
// Adapted number of spaces to 50, 67 and 61 because of the new circle
// construction methods which produce more points and thus more spaces,
// too. Use both since depending on float precision and the
// getContinuity() implemetation using fTools::equal, linux and mac
// produce more 'C' than 'S' statements, while WIN32 uses more 'S'
// statements (as it should be for circles)
// 61 elements for S390x, and IA64
CPPUNIT_ASSERT_MESSAGE
(
"exporting to circle does not produce the expected number of coordinates"
,
nCount
==
67
||
nCount
==
50
||
nCount
==
61
);
const
B2DPolygon
aRect
(
const
B2DPolygon
aRect
(
tools
::
createPolygonFromRect
(
B2DRange
(
0.0
,
0.0
,
4000.0
,
4000.0
)
));
tools
::
createPolygonFromRect
(
B2DRange
(
0.0
,
0.0
,
4000.0
,
4000.0
)
));
aExport
=
tools
::
exportToSvgD
(
B2DPolyPolygon
(
aRect
),
false
,
false
);
aExport
=
tools
::
exportToSvgD
(
B2DPolyPolygon
(
aRect
),
false
,
false
);
...
...
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