Home
last modified time | relevance | path

Searched refs:assertEquals (Results 1 – 25 of 182) sorted by relevance

12345678

/trunk/test/testuno/source/fvt/uno/sc/data/
H A DSubtotalsForGroup.java116 assertEquals("10 Sum", SCUtil.getTextFromCell(currentsheet, 1, 2)); in testForSecondGroup()
118 assertEquals("=SUBTOTAL(9;$C$2:$C$2)", in testForSecondGroup()
121 assertEquals(1, SCUtil.getValueFromCell(currentsheet, 2, 2), in testForSecondGroup()
125 assertEquals("20 Sum", SCUtil.getTextFromCell(currentsheet, 1, 4)); in testForSecondGroup()
127 assertEquals("=SUBTOTAL(9;$C$4:$C$4)", in testForSecondGroup()
130 assertEquals(2, SCUtil.getValueFromCell(currentsheet, 2, 4), in testForSecondGroup()
134 assertEquals("30 Sum", SCUtil.getTextFromCell(currentsheet, 1, 6)); in testForSecondGroup()
136 assertEquals("=SUBTOTAL(9;$C$6:$C$6)", in testForSecondGroup()
139 assertEquals(5, SCUtil.getValueFromCell(currentsheet, 2, 6), in testForSecondGroup()
143 assertEquals("A Sum", SCUtil.getTextFromCell(currentsheet, 3, 7)); in testForSecondGroup()
[all …]
H A DSubTotalsFunction.java160 assertEquals(bssubtotalresult, in test()
162 assertEquals(BSsubtotals, SCUtil.getFormulaFromCell(currentsheet, 2, 4)); in test()
163 assertEquals(BSsubtotalsString, in test()
170 assertEquals(cssubtotalresult, in test()
172 assertEquals(CSsubtotals, SCUtil.getFormulaFromCell(currentsheet, 2, 7)); in test()
173 assertEquals(CSsubtotalsString, in test()
180 assertEquals(mssubtotalresult, in test()
182 assertEquals(MSsubtotals, in test()
184 assertEquals(MSsubtotalsString, in test()
191 assertEquals(grandtotal, SCUtil.getValueFromCell(currentsheet, 2, 11), in test()
[all …]
/trunk/test/testuno/source/fvt/uno/sw/puretext/
H A DCharacterUnderline.java227assertEquals("assert individual word setting",true,xCursorProps_assert_odt.getPropertyValue("CharW… in testCharacterUnderlineSetting()
228assertEquals("assert underline is double",com.sun.star.awt.FontUnderline.DOUBLE,xCursorProps_asser… in testCharacterUnderlineSetting()
229assertEquals("assert has underline color is true",true,xCursorProps_assert_odt.getPropertyValue("C… in testCharacterUnderlineSetting()
230assertEquals("assert underline color",0x00FF00FF,xCursorProps_assert_odt.getPropertyValue("CharUnd… in testCharacterUnderlineSetting()
233assertEquals("assert individual word setting",false,xCursorProps_assert_odt.getPropertyValue("Char… in testCharacterUnderlineSetting()
234assertEquals("assert underline is wave",com.sun.star.awt.FontUnderline.WAVE,xCursorProps_assert_od… in testCharacterUnderlineSetting()
235assertEquals("assert has underline color is true",true,xCursorProps_assert_odt.getPropertyValue("C… in testCharacterUnderlineSetting()
236assertEquals("assert underline color",0x00FF00FF,xCursorProps_assert_odt.getPropertyValue("CharUnd… in testCharacterUnderlineSetting()
239assertEquals("assert individual word setting",false,xCursorProps_assert_odt.getPropertyValue("Char… in testCharacterUnderlineSetting()
240assertEquals("assert underline is smallwave",com.sun.star.awt.FontUnderline.SMALLWAVE,xCursorProps… in testCharacterUnderlineSetting()
[all …]
H A DCharacterFontname.java170 assertEquals("Times New Roman",xCursorProps_assert.getPropertyValue("CharFontName")); in testCharacterFontSetting()
173 assertEquals("Arial Black",xCursorProps_assert.getPropertyValue("CharFontName")); in testCharacterFontSetting()
176 assertEquals("Aharoni",xCursorProps_assert.getPropertyValue("CharFontName")); in testCharacterFontSetting()
179 assertEquals("Agency FB",xCursorProps_assert.getPropertyValue("CharFontName")); in testCharacterFontSetting()
182 assertEquals("Algerian",xCursorProps_assert.getPropertyValue("CharFontName")); in testCharacterFontSetting()
185 assertEquals("Andalus",xCursorProps_assert.getPropertyValue("CharFontName")); in testCharacterFontSetting()
188 assertEquals("Bodoni MT Black",xCursorProps_assert.getPropertyValue("CharFontName")); in testCharacterFontSetting()
191 assertEquals("BatangChe",xCursorProps_assert.getPropertyValue("CharFontName")); in testCharacterFontSetting()
194 assertEquals("Britannic Bold",xCursorProps_assert.getPropertyValue("CharFontName")); in testCharacterFontSetting()
197 assertEquals("Cooper Black",xCursorProps_assert.getPropertyValue("CharFontName")); in testCharacterFontSetting()
[all …]
H A DCharacterEmphasis.java151assertEquals("assert individual word setting",true,xCursorProps_assert_odt.getPropertyValue("CharW… in testCharacterEmphasisSetting()
152assertEquals("assert overline",com.sun.star.text.FontEmphasis.ACCENT_ABOVE,xCursorProps_assert_odt… in testCharacterEmphasisSetting()
155assertEquals("assert individual word setting",false,xCursorProps_assert_odt.getPropertyValue("Char… in testCharacterEmphasisSetting()
156assertEquals("assert overline",com.sun.star.text.FontEmphasis.ACCENT_BELOW,xCursorProps_assert_odt… in testCharacterEmphasisSetting()
159assertEquals("assert individual word setting",false,xCursorProps_assert_odt.getPropertyValue("Char… in testCharacterEmphasisSetting()
160assertEquals("assert overline",com.sun.star.text.FontEmphasis.CIRCLE_ABOVE,xCursorProps_assert_odt… in testCharacterEmphasisSetting()
163assertEquals("assert individual word setting",true,xCursorProps_assert_odt.getPropertyValue("CharW… in testCharacterEmphasisSetting()
164assertEquals("assert overline",com.sun.star.text.FontEmphasis.CIRCLE_BELOW,xCursorProps_assert_odt… in testCharacterEmphasisSetting()
167assertEquals("assert individual word setting",true,xCursorProps_assert_odt.getPropertyValue("CharW… in testCharacterEmphasisSetting()
168assertEquals("assert overline",com.sun.star.text.FontEmphasis.DISK_ABOVE,xCursorProps_assert_odt.g… in testCharacterEmphasisSetting()
[all …]
/trunk/test/testgui/source/fvt/gui/sd/headerandfooter/
H A DHeaderAndFooterSetting.java103 assertEquals("Fix Date: 20120323", sdFixedDateAndTimeOnSlideInput.getText()); in testCopySlideWithApplyFooter()
104 assertEquals("Footer Test", sdFooterTextOnSlideInput.getText()); in testCopySlideWithApplyFooter()
105 assertEquals(false, sdSlideNumAsFooterOnSlide.isChecked()); in testCopySlideWithApplyFooter()
118 assertEquals("Fix Date: 20120323", sdFixedDateAndTimeOnSlideInput.getText()); in testCopySlideWithApplyFooter()
119 assertEquals("Footer Test", sdFooterTextOnSlideInput.getText()); in testCopySlideWithApplyFooter()
120 assertEquals(false, sdSlideNumAsFooterOnSlide.isChecked()); in testCopySlideWithApplyFooter()
160 assertEquals("Fix Date: 20120323", sdFixedDateAndTimeOnSlideInput.getText()); in testCopySlideWithApplyToAllFooter()
161 assertEquals("Footer Test", sdFooterTextOnSlideInput.getText()); in testCopySlideWithApplyToAllFooter()
162 assertEquals(true, sdSlideNumAsFooterOnSlide.isChecked()); in testCopySlideWithApplyToAllFooter()
174 assertEquals("Fix Date: 20120323", sdFixedDateAndTimeOnSlideInput.getText()); in testCopySlideWithApplyToAllFooter()
[all …]
/trunk/main/unoxml/qa/complex/unoxml/
H A DDOMTest.java165 assertEquals("XDocument.createAttribute", in testXDocument()
182 assertEquals("XDocument.createAttributeNS", "foo", in testXDocument()
206 assertEquals("XDocument.createElement(\"foo\")", in testXDocument()
220 assertEquals("XDocument.createElementNS(\"foo\")", in testXDocument()
264 assertEquals("XElement.appendChild(xElemFoo)", xElemFoo, xRet); in testXDocument()
274 assertEquals("XDocument.getDocumentElement", xElemFooNs, xDE); in testXDocument()
281 assertEquals("XDocument.getElementsByTagNameNS", in testXDocument()
283 assertEquals("XDocument.getElementsByTagName", in testXDocument()
292 assertEquals("XDocument.getElementsByTagNameNS", in testXDocument()
301 assertEquals("XDocument.getDocumentElement", xElemFoo, xById); in testXDocument()
[all …]
/trunk/test/testgui/source/fvt/gui/sc/validity/
H A DValidityDialogSetting.java76 assertEquals("12/31/07", SCTool.getCellText("A1")); in testAllowDateNotBetween()
82 assertEquals("03/02/08", SCTool.getCellText("A2")); in testAllowDateNotBetween()
88 assertEquals("Invalid value", activeMsgBox.getMessage()); in testAllowDateNotBetween()
90 assertEquals("", SCTool.getCellText("A3")); in testAllowDateNotBetween()
96 assertEquals("Invalid value", activeMsgBox.getMessage()); in testAllowDateNotBetween()
98 assertEquals("", SCTool.getCellText("A4")); in testAllowDateNotBetween()
104 assertEquals("Invalid value", activeMsgBox.getMessage()); in testAllowDateNotBetween()
106 assertEquals("", SCTool.getCellText("A5")); in testAllowDateNotBetween()
112 assertEquals("Invalid value", activeMsgBox.getMessage()); in testAllowDateNotBetween()
114 assertEquals("", SCTool.getCellText("B1")); in testAllowDateNotBetween()
[all …]
/trunk/test/testuno/source/fvt/uno/sw/paragraph/
H A DParagraphNumberingAndBullet_Graphic_Alignment.java121 assertEquals("assert numbering and bullet","NumberingType",propsRule_assert_odt[11].Name); in testNumberingBullet_Graphic_Align_BottomofBaseline()
122assertEquals("assert numbering and bullet",NumberingType.BITMAP,propsRule_assert_odt[11].Value); in testNumberingBullet_Graphic_Align_BottomofBaseline()
123 assertEquals("assert numbering and bullet","GraphicURL",propsRule_assert_odt[12].Name); in testNumberingBullet_Graphic_Align_BottomofBaseline()
124assertEquals("assert numbering and bullet",FileUtil.getUrl(Testspace.prepareData("uno/coffee_1.gif… in testNumberingBullet_Graphic_Align_BottomofBaseline()
125 assertEquals("assert numbering and bullet","VertOrient",propsRule_assert_odt[15].Name); in testNumberingBullet_Graphic_Align_BottomofBaseline()
126assertEquals("assert numbering and bullet",VertOrientation.BOTTOM,propsRule_assert_odt[15].Value); in testNumberingBullet_Graphic_Align_BottomofBaseline()
133 assertEquals("assert numbering and bullet","NumberingType",propsRule_assert_doc[11].Name); in testNumberingBullet_Graphic_Align_BottomofBaseline()
134assertEquals("assert numbering and bullet",NumberingType.CHAR_SPECIAL,propsRule_assert_doc[11].Val… in testNumberingBullet_Graphic_Align_BottomofBaseline()
135 assertEquals("assert numbering and bullet","GraphicURL",propsRule_assert_doc[12].Name); in testNumberingBullet_Graphic_Align_BottomofBaseline()
136assertEquals("assert numbering and bullet",FileUtil.getUrl(Testspace.prepareData("uno/coffee_1.gif… in testNumberingBullet_Graphic_Align_BottomofBaseline()
[all …]
H A DParagraphNumberingAndBulletCharacterStyle.java117 assertEquals("assert numbering and bullet","CharStyleName",propsRule_assert_odt[4].Name); in testNumberingBulletCharacterStyle_Rubies()
118 assertEquals("assert numbering and bullet","Rubies",propsRule_assert_odt[4].Value); in testNumberingBulletCharacterStyle_Rubies()
119 assertEquals("assert numbering and bullet","NumberingType",propsRule_assert_odt[11].Name); in testNumberingBulletCharacterStyle_Rubies()
120assertEquals("assert numbering and bullet",NumberingType.ARABIC,propsRule_assert_odt[11].Value); in testNumberingBulletCharacterStyle_Rubies()
128 assertEquals("assert numbering and bullet","CharStyleName",propsRule_assert_doc[4].Name); in testNumberingBulletCharacterStyle_Rubies()
129 assertEquals("assert numbering and bullet","WW8Num1z0",propsRule_assert_doc[4].Value); in testNumberingBulletCharacterStyle_Rubies()
130 assertEquals("assert numbering and bullet","NumberingType",propsRule_assert_doc[11].Name); in testNumberingBulletCharacterStyle_Rubies()
131assertEquals("assert numbering and bullet",NumberingType.ARABIC,propsRule_assert_doc[11].Value); in testNumberingBulletCharacterStyle_Rubies()
186 assertEquals("assert numbering and bullet","CharStyleName",propsRule_assert_odt[4].Name); in testNumberingBulletCharacterStyle_Emphasis()
187 assertEquals("assert numbering and bullet","Emphasis",propsRule_assert_odt[4].Value); in testNumberingBulletCharacterStyle_Emphasis()
[all …]
H A DParagraphBackGraphic.java100assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.LEFT_BOTTO… in testParagraphBackGraphic_LeftBottom()
101assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_odt.getPr… in testParagraphBackGraphic_LeftBottom()
102assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.… in testParagraphBackGraphic_LeftBottom()
108assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.LEFT_BOTTO… in testParagraphBackGraphic_LeftBottom()
109assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_doc.getPr… in testParagraphBackGraphic_LeftBottom()
110assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.… in testParagraphBackGraphic_LeftBottom()
160assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.LEFT_MIDDL… in testParagraphBackGraphic_LeftMiddle()
161assertEquals("verify paragraph backgraphic filter","draw_jpg_Export",xCursorProps_Assert_odt.getPr… in testParagraphBackGraphic_LeftMiddle()
162assertEquals("verify paragraph backgraphic URL",FileUtil.getUrl(Testspace.prepareData("uno/Desert.… in testParagraphBackGraphic_LeftMiddle()
168assertEquals("verify paragraph backgraphic location",com.sun.star.style.GraphicLocation.LEFT_MIDDL… in testParagraphBackGraphic_LeftMiddle()
[all …]
H A DParagraphBorder.java121 assertEquals("assert paragraph left border",0x00FF0000,leftborderLine_odt.Color); in testParagraphBorderSetting()
122 assertEquals("assert paragraph left border",101,leftborderLine_odt.InnerLineWidth); in testParagraphBorderSetting()
123 assertEquals("assert paragraph left border",19,leftborderLine_odt.OuterLineWidth); in testParagraphBorderSetting()
124 assertEquals("assert paragraph left border",101,leftborderLine_odt.LineDistance); in testParagraphBorderSetting()
127 assertEquals("assert paragraph left border",0x00FFFF00,rightborderLine_odt.Color); in testParagraphBorderSetting()
128 assertEquals("assert paragraph left border",101,rightborderLine_odt.InnerLineWidth); in testParagraphBorderSetting()
129 assertEquals("assert paragraph left border",19,rightborderLine_odt.OuterLineWidth); in testParagraphBorderSetting()
130 assertEquals("assert paragraph left border",101,rightborderLine_odt.LineDistance); in testParagraphBorderSetting()
133 assertEquals("assert paragraph left border",0x0000FF00,topborderLine_odt.Color); in testParagraphBorderSetting()
134 assertEquals("assert paragraph left border",150,topborderLine_odt.InnerLineWidth); in testParagraphBorderSetting()
[all …]
H A DParagraphInsertBreak.java92assertEquals("assert paragraph break",com.sun.star.style.BreakType.PAGE_BEFORE,xCursorProps_Assert… in InsertPage_BeforeBreak_NoSplit_KeepTogether()
93assertEquals("assert paragraph break",false,xCursorProps_Assert_odt.getPropertyValue("ParaSplit")); in InsertPage_BeforeBreak_NoSplit_KeepTogether()
94assertEquals("assert paragraph break",true,xCursorProps_Assert_odt.getPropertyValue("ParaKeepToget… in InsertPage_BeforeBreak_NoSplit_KeepTogether()
100assertEquals("assert paragraph break",com.sun.star.style.BreakType.PAGE_BEFORE,xCursorProps_Assert… in InsertPage_BeforeBreak_NoSplit_KeepTogether()
101assertEquals("assert paragraph break",false,xCursorProps_Assert_doc.getPropertyValue("ParaSplit")); in InsertPage_BeforeBreak_NoSplit_KeepTogether()
102assertEquals("assert paragraph break",true,xCursorProps_Assert_doc.getPropertyValue("ParaKeepToget… in InsertPage_BeforeBreak_NoSplit_KeepTogether()
144assertEquals("assert paragraph break",com.sun.star.style.BreakType.PAGE_BEFORE,xCursorProps_Assert… in InsertPage_BeforeBreak_Orphan_WindowControl()
145assertEquals("assert paragraph break",(byte)2,xCursorProps_Assert_odt.getPropertyValue("ParaOrphan… in InsertPage_BeforeBreak_Orphan_WindowControl()
146assertEquals("assert paragraph break",(byte)2,xCursorProps_Assert_odt.getPropertyValue("ParaWidows… in InsertPage_BeforeBreak_Orphan_WindowControl()
152assertEquals("assert paragraph break",com.sun.star.style.BreakType.PAGE_BEFORE,xCursorProps_Assert… in InsertPage_BeforeBreak_Orphan_WindowControl()
[all …]
H A DParagraphNumberingAndBullet_Numbering.java116 assertEquals("assert numbering and bullet","NumberingType",propsRule_assert_odt[11].Name); in testNumberingBullet_ARABIC()
117assertEquals("assert numbering and bullet",NumberingType.ARABIC,propsRule_assert_odt[11].Value); in testNumberingBullet_ARABIC()
125 assertEquals("assert numbering and bullet","NumberingType",propsRule_assert_doc[11].Name); in testNumberingBullet_ARABIC()
126assertEquals("assert numbering and bullet",NumberingType.ARABIC,propsRule_assert_doc[11].Value); in testNumberingBullet_ARABIC()
181 assertEquals("assert numbering and bullet","NumberingType",propsRule_assert_odt[11].Name); in testNumberingBullet_ARABIC_Suffix()
182assertEquals("assert numbering and bullet",NumberingType.ARABIC,propsRule_assert_odt[11].Value); in testNumberingBullet_ARABIC_Suffix()
183 assertEquals("assert numbering and bullet","Suffix",propsRule_assert_odt[3].Name); in testNumberingBullet_ARABIC_Suffix()
184 assertEquals("assert numbering and bullet",")",propsRule_assert_odt[3].Value); in testNumberingBullet_ARABIC_Suffix()
192 assertEquals("assert numbering and bullet","NumberingType",propsRule_assert_doc[11].Name); in testNumberingBullet_ARABIC_Suffix()
193assertEquals("assert numbering and bullet",NumberingType.ARABIC,propsRule_assert_doc[11].Value); in testNumberingBullet_ARABIC_Suffix()
[all …]
H A DParagraphTabs.java100assertEquals("assert paragraph tab setting",TabAlign.CENTER,paraTabs_assert_odt[0].Alignment); in ParagraphTabs_Center()
101 assertEquals("assert paragraph tab setting",'_',paraTabs_assert_odt[0].FillChar); in ParagraphTabs_Center()
102 assertEquals("assert paragraph tab setting",5001,paraTabs_assert_odt[0].Position); in ParagraphTabs_Center()
109assertEquals("assert paragraph tab setting",TabAlign.CENTER,paraTabs_assert_doc[0].Alignment); in ParagraphTabs_Center()
110 assertEquals("assert paragraph tab setting",'_',paraTabs_assert_doc[0].FillChar); in ParagraphTabs_Center()
111 assertEquals("assert paragraph tab setting",5001,paraTabs_assert_doc[0].Position); in ParagraphTabs_Center()
158 assertEquals("assert paragraph tab setting",TabAlign.LEFT,paraTabs_assert_odt[0].Alignment); in ParagraphTabs_Left()
159 assertEquals("assert paragraph tab setting",'.',paraTabs_assert_odt[0].FillChar); in ParagraphTabs_Left()
160 assertEquals("assert paragraph tab setting",5001,paraTabs_assert_odt[0].Position); in ParagraphTabs_Left()
167 assertEquals("assert paragraph tab setting",TabAlign.LEFT,paraTabs_assert_doc[0].Alignment); in ParagraphTabs_Left()
[all …]
H A DParagraphOutlineAndNumbering.java101assertEquals("assert paragraph outline and numbering",(short)6,xCursorProps_Assert_odt.getProperty… in testOutlineAndNumbering_NumberStyle()
102assertEquals("assert paragraph outline and numbering","Numbering 2",xCursorProps_Assert_odt.getPro… in testOutlineAndNumbering_NumberStyle()
103assertEquals("assert paragraph outline and numbering",true,xCursorProps_Assert_odt.getPropertyValu… in testOutlineAndNumbering_NumberStyle()
104assertEquals("assert paragraph outline and numbering",(short)7,xCursorProps_Assert_odt.getProperty… in testOutlineAndNumbering_NumberStyle()
105assertEquals("assert paragraph outline and numbering",true,xCursorProps_Assert_odt.getPropertyValu… in testOutlineAndNumbering_NumberStyle()
106assertEquals("assert paragraph outline and numbering",(long)4,xCursorProps_Assert_odt.getPropertyV… in testOutlineAndNumbering_NumberStyle()
112assertEquals("assert paragraph outline and numbering",(short)6,xCursorProps_Assert_doc.getProperty… in testOutlineAndNumbering_NumberStyle()
113assertEquals("assert paragraph outline and numbering","Numbering 2",xCursorProps_Assert_doc.getPro… in testOutlineAndNumbering_NumberStyle()
114assertEquals("assert paragraph outline and numbering",true,xCursorProps_Assert_doc.getPropertyValu… in testOutlineAndNumbering_NumberStyle()
115assertEquals("assert paragraph outline and numbering",(short)7,xCursorProps_Assert_doc.getProperty… in testOutlineAndNumbering_NumberStyle()
[all …]
H A DParagraphShadow.java106assertEquals("assert shadow location",ShadowLocation.BOTTOM_RIGHT,shadowFormat_Assert1.Location); in testParagraphShadow_BottomRight()
107 assertEquals("assert shadow width",101,shadowFormat_Assert1.ShadowWidth); in testParagraphShadow_BottomRight()
108 assertEquals("assert shadow color",0x00FF00FF,shadowFormat_Assert1.Color); in testParagraphShadow_BottomRight()
115assertEquals("assert shadow location",ShadowLocation.BOTTOM_RIGHT,shadowFormat_Assert2.Location); in testParagraphShadow_BottomRight()
116 assertEquals("assert shadow width",100,shadowFormat_Assert2.ShadowWidth); in testParagraphShadow_BottomRight()
117 assertEquals("assert shadow color",0x00FF00FF,shadowFormat_Assert2.Color); in testParagraphShadow_BottomRight()
162assertEquals("assert shadow location",ShadowLocation.BOTTOM_LEFT,shadowFormat_Assert1.Location); in testParagraphShadow_BottomLeft()
163 assertEquals("assert shadow width",101,shadowFormat_Assert1.ShadowWidth); in testParagraphShadow_BottomLeft()
164 assertEquals("assert shadow color",0x00FF00FF,shadowFormat_Assert1.Color); in testParagraphShadow_BottomLeft()
171assertEquals("assert shadow location",ShadowLocation.BOTTOM_LEFT,shadowFormat_Assert2.Location); in testParagraphShadow_BottomLeft()
[all …]
/trunk/test/testuno/source/fvt/uno/sw/table/
H A DTableBasic.java95 assertEquals("assert inserted table has 5 rows",5, xRows.getCount()); in testCreateTable()
97 assertEquals("assert inserted table has 4 columns",4, xColumns.getCount()); in testCreateTable()
122 assertEquals("assert inserted 2 rows",7, xRows.getCount()); in testInsert_Delete_Rows_Columns()
123 assertEquals("assert inserted 2 columns",8, xColumns.getCount()); in testInsert_Delete_Rows_Columns()
126 assertEquals("assert delete 3 rows",4, xRows.getCount()); in testInsert_Delete_Rows_Columns()
127 assertEquals("assert delete 2 columns",6, xColumns.getCount()); in testInsert_Delete_Rows_Columns()
172assertEquals("assert the second row height is 5001",5001,xRowsProps_assert.getPropertyValue("Heigh… in testSetRowHeight()
173assertEquals("assert the second row height is not autofitable",false, xRowsProps_assert.getPropert… in testSetRowHeight()
253 assertEquals("assert topline color as setting",0x00FF0000,tableBorder_Assert.TopLine.Color); in testSetTableBorder()
254assertEquals("assert topline innerline width as setting",101,tableBorder_Assert.TopLine.InnerLineW… in testSetTableBorder()
[all …]
H A DTableInsertBreak.java69 assertEquals("assert default split",true,xCursorProps.getPropertyValue("Split")); in InsertPage_BeforeBreak_Split_KeepTogether()
70assertEquals("assert default keep_together",false,xCursorProps.getPropertyValue("KeepTogether")); in InsertPage_BeforeBreak_Split_KeepTogether()
104assertEquals("assert table break",com.sun.star.style.BreakType.PAGE_BEFORE,xCursorProps_Assert_odt… in InsertPage_BeforeBreak_Split_KeepTogether()
105 assertEquals("assert table split",false,xCursorProps_Assert_odt.getPropertyValue("Split")); in InsertPage_BeforeBreak_Split_KeepTogether()
106assertEquals("assert table keep_tpgether",true,xCursorProps_Assert_odt.getPropertyValue("KeepToget… in InsertPage_BeforeBreak_Split_KeepTogether()
116assertEquals("assert table break",com.sun.star.style.BreakType.PAGE_BEFORE,xCursorProps_Assert_doc… in InsertPage_BeforeBreak_Split_KeepTogether()
117 assertEquals("assert table split",false,xCursorProps_Assert_doc.getPropertyValue("Split")); in InsertPage_BeforeBreak_Split_KeepTogether()
118assertEquals("assert table keep_together",true,xCursorProps_Assert_doc.getPropertyValue("KeepToget… in InsertPage_BeforeBreak_Split_KeepTogether()
164assertEquals("assert paragraph break",com.sun.star.style.BreakType.PAGE_AFTER,xCursorProps_Assert_… in InsertPage_AfterBreak()
174assertEquals("assert paragraph break",com.sun.star.style.BreakType.PAGE_AFTER,xCursorProps_Assert_… in InsertPage_AfterBreak()
[all …]
/trunk/main/bridges/test/com/sun/star/lib/uno/bridges/java_remote/
H A DPolyStructTest.java59 assertEquals( in run()
61 assertEquals( in run()
64 assertEquals( in run()
68 assertEquals( in run()
71 assertEquals( in run()
75 assertEquals( in run()
80 assertEquals( in run()
83 assertEquals( in run()
87 assertEquals( in run()
92 assertEquals( in run()
[all …]
/trunk/main/toolkit/qa/complex/toolkit/awtgrid/
H A DTMutableGridDataModel.java56 assertEquals( "row insertion: wrong FirstRow (1)", 0, event.FirstRow ); in testAddRow()
57 assertEquals( "row insertion: wrong LastRow (1)", 0, event.LastRow ); in testAddRow()
63 assertEquals( "row insertion: wrong FirstRow (2)", 1, event.FirstRow ); in testAddRow()
64 assertEquals( "row insertion: wrong LastRow (2)", 1, event.LastRow ); in testAddRow()
73assertEquals( "precondition not met: call this directly after testAddRow, please!", 2, m_dataModel… in testAddRows()
79 assertEquals( "row insertion: wrong FirstRow (1)", 2, event.FirstRow ); in testAddRows()
80 assertEquals( "row insertion: wrong LastRow (1)", 4, event.LastRow ); in testAddRows()
83assertEquals( "data model's row count is not adjusted when adding rows", m_rowValues.length, m_dat… in testAddRows()
84assertEquals( "data model's column count is not adjusted when adding rows", m_rowValues[0].length,… in testAddRows()
89 assertEquals( "added row values are not preserved", in testAddRows()
[all …]
/trunk/main/toolkit/qa/complex/toolkit/
H A DGridControl.java157assertEquals( "creating default columns resulted in unexpected column count", columnCount, columns… in testDisposal()
221assertEquals( "unexpected column count after adding the most simple row", 1, dataModel.getColumnCo… in testMutableGridDataModel()
223assertEquals( "implicit extension of the column count doesn't work", 2, dataModel.getColumnCount()… in testMutableGridDataModel()
241assertEquals( "wrong number of events fired by setDefaulColumns", defaultColumnsCount, events.size… in testGridColumnModel()
246 assertEquals( "unexpected Accessor value in insert notification", i, index ); in testGridColumnModel()
255assertEquals( "setting default columns is expected to remove all previously existing columns", in testGridColumnModel()
264 assertEquals( "wrong number of columns removed (or notified) upon setting default columns", in testGridColumnModel()
281assertEquals( "wrong number of insertion events when setting default columns over existing columns… in testGridColumnModel()
287 assertEquals( i, index ); in testGridColumnModel()
298assertEquals( "removing a single column should notify a single event", 1, events.size() ); in testGridColumnModel()
[all …]
/trunk/test/testuno/source/fvt/uno/sc/cell/
H A DInsertDeleteCells.java129 assertEquals("Verify value of A2 after execute Insert cells in A2:B2 and shift cells down.", in testInsertCells()
131 assertEquals("Verify value of B2 after execute Insert cells in A2:B2 and shift cells down.", in testInsertCells()
133 assertEquals("Verify value of C2 after execute Insert cells in A2:B2 and shift cells down.", in testInsertCells()
150assertEquals("Verify value of C2 after execute Insert cells in A2:B2 and shift cells Right.", in testInsertCells()
152assertEquals("Verify value of D2 after execute Insert cells in A2:B2 and shift cells Right.", in testInsertCells()
154assertEquals("Verify value of E2 after execute Insert cells in A2:B2 and shift cells Right.", in testInsertCells()
156assertEquals("Verify value of C3 after execute Insert cells in A2:B2 and shift cells Right.", in testInsertCells()
171assertEquals("Verify value of E2 after execute Insert Entire Row 2 make the whole existing cell ra… in testInsertCells()
173assertEquals("Verify value of E3 after execute Insert Entire Row 2 make the whole existing cell ra… in testInsertCells()
175assertEquals("Verify value of C3 after execute Insert Entire Row 2 make the whole existing cell ra… in testInsertCells()
[all …]
/trunk/test/testuno/source/fvt/uno/sc/sheet/
H A DSheetBasicTest.java93 assertEquals("actual should equals aa", sheetname, in insertRenameDeleteSheet()
110 assertEquals("actual should equals SpeadsheetAfterChange", changedname, in insertRenameDeleteSheet()
193 assertEquals("Expect result should be Sheet2", in movesheet()
199 assertEquals("Expect result should be sourcesheet", sheetname, in movesheet()
228 assertEquals("expect active sheet name will be hide sheet", sheetname, in hideShowSheet()
246 assertEquals("Expect sheet name should be Sheet2", sheet2Name, in hideShowSheet()
262 assertEquals("Expect active sheet name is hidesheet", sheetname, in hideShowSheet()
309 assertEquals("Expect color should be 111", 111, firstSheetcolorid); in sheetColor()
312 assertEquals("Expect color should be 111", firstSheetcolorid, in sheetColor()
378 assertEquals("Expect formula should be =2*2", "=2*2", in insertSheetFromfile()
[all …]
/trunk/main/sfx2/qa/complex/sfx2/
H A DUndoManager.java198assertEquals( "undo context was not auto-closed as expected", 0, m_undoListener.getCurrentUndoCont… in checkBrokenScripts()
207assertEquals( "undo context was not auto-closed as expected", 0, m_undoListener.getCurrentUndoCont… in checkBrokenScripts()
224assertEquals( "undo context was not auto-closed as expected", 0, m_undoListener.getCurrentUndoCont… in checkBrokenScripts()
288assertEquals( "not all actions have been undone", actionCount, actionsUndone[0].intValue() ); in checkSerialization()
500 assertEquals( "different opinions on the context nesting level (after entering)", in enteredContext()
509 assertEquals( "different opinions on the context nesting level (after entering hidden)", in enteredHiddenContext()
517assertEquals( "nested undo context descriptions do not match", m_activeUndoContexts.pop(), i_event… in leftContext()
518 assertEquals( "different opinions on the context nesting level (after leaving)", in leftContext()
527assertEquals( "|leftHiddenContext| is not expected to notify an action title", 0, i_event.UndoActi… in leftHiddenContext()
530 assertEquals( "different opinions on the context nesting level (after leaving)", in leftHiddenContext()
[all …]

12345678