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
53139123
Kaydet (Commit)
53139123
authored
Şub 09, 2013
tarafından
Luboš Luňák
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove unused variables
Change-Id: I7383100f5965578160098f11cdb99bb4e4ce57fa
üst
2dd4ac60
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
test_nodetotextvisitors.cxx
starmath/qa/cppunit/test_nodetotextvisitors.cxx
+4
-4
test_starmath.cxx
starmath/qa/cppunit/test_starmath.cxx
+0
-3
No files found.
starmath/qa/cppunit/test_nodetotextvisitors.cxx
Dosyayı görüntüle @
53139123
...
@@ -511,7 +511,7 @@ void Test::ParseAndCheck(const char *formula, const char * expected, const char
...
@@ -511,7 +511,7 @@ void Test::ParseAndCheck(const char *formula, const char * expected, const char
void
Test
::
testBinomInBinHor
()
void
Test
::
testBinomInBinHor
()
{
{
String
sInput
,
sExpected
,
sOutput
;
String
sInput
,
sExpected
;
SmNode
*
pTree
;
SmNode
*
pTree
;
// set up a binom (table) node
// set up a binom (table) node
...
@@ -539,7 +539,7 @@ void Test::testBinomInBinHor()
...
@@ -539,7 +539,7 @@ void Test::testBinomInBinHor()
void
Test
::
testBinVerInUnary
()
void
Test
::
testBinVerInUnary
()
{
{
String
sInput
,
sExpected
,
sOutput
;
String
sInput
,
sExpected
;
SmNode
*
pTree
;
SmNode
*
pTree
;
// set up a unary operator with operand
// set up a unary operator with operand
...
@@ -570,7 +570,7 @@ void Test::testBinVerInUnary()
...
@@ -570,7 +570,7 @@ void Test::testBinVerInUnary()
void
Test
::
testBinHorInSubSup
()
void
Test
::
testBinHorInSubSup
()
{
{
String
sInput
,
sExpected
,
sOutput
;
String
sInput
,
sExpected
;
SmNode
*
pTree
;
SmNode
*
pTree
;
// set up a blank formula
// set up a blank formula
...
@@ -601,7 +601,7 @@ void Test::testBinHorInSubSup()
...
@@ -601,7 +601,7 @@ void Test::testBinHorInSubSup()
void
Test
::
testUnaryInMixedNumberAsNumerator
()
void
Test
::
testUnaryInMixedNumberAsNumerator
()
{
{
String
sInput
,
sExpected
,
sOutput
;
String
sInput
,
sExpected
;
SmNode
*
pTree
;
SmNode
*
pTree
;
// set up a unary operator
// set up a unary operator
...
...
starmath/qa/cppunit/test_starmath.cxx
Dosyayı görüntüle @
53139123
...
@@ -209,7 +209,6 @@ void Test::editUndoRedo()
...
@@ -209,7 +209,6 @@ void Test::editUndoRedo()
{
{
m_xDocShRef
->
Execute
(
aUndo
);
m_xDocShRef
->
Execute
(
aUndo
);
rtl
::
OUString
sFoo
=
rEditEngine
.
GetText
();
m_xDocShRef
->
UpdateText
();
m_xDocShRef
->
UpdateText
();
rtl
::
OUString
sFinalText
=
m_xDocShRef
->
GetText
();
rtl
::
OUString
sFinalText
=
m_xDocShRef
->
GetText
();
CPPUNIT_ASSERT_MESSAGE
(
"Strings much match"
,
sStringOne
==
sFinalText
);
CPPUNIT_ASSERT_MESSAGE
(
"Strings much match"
,
sStringOne
==
sFinalText
);
...
@@ -217,7 +216,6 @@ void Test::editUndoRedo()
...
@@ -217,7 +216,6 @@ void Test::editUndoRedo()
{
{
m_xDocShRef
->
Execute
(
aUndo
);
m_xDocShRef
->
Execute
(
aUndo
);
rtl
::
OUString
sFoo
=
rEditEngine
.
GetText
();
m_xDocShRef
->
UpdateText
();
m_xDocShRef
->
UpdateText
();
rtl
::
OUString
sFinalText
=
m_xDocShRef
->
GetText
();
rtl
::
OUString
sFinalText
=
m_xDocShRef
->
GetText
();
CPPUNIT_ASSERT_MESSAGE
(
"Must now be empty"
,
!
sFinalText
.
getLength
());
CPPUNIT_ASSERT_MESSAGE
(
"Must now be empty"
,
!
sFinalText
.
getLength
());
...
@@ -226,7 +224,6 @@ void Test::editUndoRedo()
...
@@ -226,7 +224,6 @@ void Test::editUndoRedo()
SfxRequest
aRedo
(
SID_REDO
,
SFX_CALLMODE_SYNCHRON
,
m_xDocShRef
->
GetPool
());
SfxRequest
aRedo
(
SID_REDO
,
SFX_CALLMODE_SYNCHRON
,
m_xDocShRef
->
GetPool
());
{
{
m_xDocShRef
->
Execute
(
aRedo
);
m_xDocShRef
->
Execute
(
aRedo
);
rtl
::
OUString
sFoo
=
rEditEngine
.
GetText
();
m_xDocShRef
->
UpdateText
();
m_xDocShRef
->
UpdateText
();
rtl
::
OUString
sFinalText
=
m_xDocShRef
->
GetText
();
rtl
::
OUString
sFinalText
=
m_xDocShRef
->
GetText
();
CPPUNIT_ASSERT_MESSAGE
(
"Strings much match"
,
sStringOne
==
sFinalText
);
CPPUNIT_ASSERT_MESSAGE
(
"Strings much match"
,
sStringOne
==
sFinalText
);
...
...
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