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
584322cb
Kaydet (Commit)
584322cb
authored
Mar 28, 2013
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix failing testcases
Change-Id: I2f4deaca308b64f1dc923e3d0a9c10c6f974a33b
üst
84f1fa19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ooxmlimport.cxx
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+1
-1
rtfimport.cxx
sw/qa/extras/rtfimport/rtfimport.cxx
+2
-2
No files found.
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
Dosyayı görüntüle @
584322cb
...
@@ -1297,7 +1297,7 @@ void Test::testFdo59273()
...
@@ -1297,7 +1297,7 @@ void Test::testFdo59273()
uno
::
Reference
<
text
::
XTextTable
>
xTextTable
(
xTables
->
getByIndex
(
0
),
uno
::
UNO_QUERY
);
uno
::
Reference
<
text
::
XTextTable
>
xTextTable
(
xTables
->
getByIndex
(
0
),
uno
::
UNO_QUERY
);
uno
::
Reference
<
table
::
XTableRows
>
xTableRows
(
xTextTable
->
getRows
(),
uno
::
UNO_QUERY
);
uno
::
Reference
<
table
::
XTableRows
>
xTableRows
(
xTextTable
->
getRows
(),
uno
::
UNO_QUERY
);
// Was 9997, so the 4th column had ~zero width
// Was 9997, so the 4th column had ~zero width
CPPUNIT_ASSERT_EQUAL
(
sal_Int16
(
749
8
),
getProperty
<
uno
::
Sequence
<
text
::
TableColumnSeparator
>
>
(
xTableRows
->
getByIndex
(
0
),
"TableColumnSeparators"
)[
2
].
Position
);
CPPUNIT_ASSERT_EQUAL
(
sal_Int16
(
749
9
),
getProperty
<
uno
::
Sequence
<
text
::
TableColumnSeparator
>
>
(
xTableRows
->
getByIndex
(
0
),
"TableColumnSeparators"
)[
2
].
Position
);
}
}
CPPUNIT_TEST_SUITE_REGISTRATION
(
Test
);
CPPUNIT_TEST_SUITE_REGISTRATION
(
Test
);
...
...
sw/qa/extras/rtfimport/rtfimport.cxx
Dosyayı görüntüle @
584322cb
...
@@ -1000,7 +1000,7 @@ void Test::testFdo55525()
...
@@ -1000,7 +1000,7 @@ void Test::testFdo55525()
CPPUNIT_ASSERT_EQUAL
(
sal_Int32
(
-
1877
),
getProperty
<
sal_Int32
>
(
xTable
,
"LeftMargin"
));
CPPUNIT_ASSERT_EQUAL
(
sal_Int32
(
-
1877
),
getProperty
<
sal_Int32
>
(
xTable
,
"LeftMargin"
));
// Cell width of A1 was 3332 (e.g. not set, 30% percent of total width)
// Cell width of A1 was 3332 (e.g. not set, 30% percent of total width)
uno
::
Reference
<
table
::
XTableRows
>
xTableRows
(
xTable
->
getRows
(),
uno
::
UNO_QUERY
);
uno
::
Reference
<
table
::
XTableRows
>
xTableRows
(
xTable
->
getRows
(),
uno
::
UNO_QUERY
);
CPPUNIT_ASSERT_EQUAL
(
sal_Int16
(
101
6
),
getProperty
<
uno
::
Sequence
<
text
::
TableColumnSeparator
>
>
(
xTableRows
->
getByIndex
(
0
),
"TableColumnSeparators"
)[
0
].
Position
);
CPPUNIT_ASSERT_EQUAL
(
sal_Int16
(
89
6
),
getProperty
<
uno
::
Sequence
<
text
::
TableColumnSeparator
>
>
(
xTableRows
->
getByIndex
(
0
),
"TableColumnSeparators"
)[
0
].
Position
);
}
}
void
Test
::
testFdo57708
()
void
Test
::
testFdo57708
()
...
@@ -1133,7 +1133,7 @@ void Test::testFdo59953()
...
@@ -1133,7 +1133,7 @@ void Test::testFdo59953()
uno
::
Reference
<
text
::
XTextTable
>
xTable
(
xTables
->
getByIndex
(
0
),
uno
::
UNO_QUERY
);
uno
::
Reference
<
text
::
XTextTable
>
xTable
(
xTables
->
getByIndex
(
0
),
uno
::
UNO_QUERY
);
// Cell width of A1 was 4998 (e.g. not set / not wide enough, ~50% of total width)
// Cell width of A1 was 4998 (e.g. not set / not wide enough, ~50% of total width)
uno
::
Reference
<
table
::
XTableRows
>
xTableRows
(
xTable
->
getRows
(),
uno
::
UNO_QUERY
);
uno
::
Reference
<
table
::
XTableRows
>
xTableRows
(
xTable
->
getRows
(),
uno
::
UNO_QUERY
);
CPPUNIT_ASSERT_EQUAL
(
sal_Int16
(
76
50
),
getProperty
<
uno
::
Sequence
<
text
::
TableColumnSeparator
>
>
(
xTableRows
->
getByIndex
(
0
),
"TableColumnSeparators"
)[
0
].
Position
);
CPPUNIT_ASSERT_EQUAL
(
sal_Int16
(
76
49
),
getProperty
<
uno
::
Sequence
<
text
::
TableColumnSeparator
>
>
(
xTableRows
->
getByIndex
(
0
),
"TableColumnSeparators"
)[
0
].
Position
);
}
}
void
Test
::
testFdo59638
()
void
Test
::
testFdo59638
()
...
...
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