Home
last modified time | relevance | path

Searched refs:assertEquals (Results 76 – 100 of 180) sorted by relevance

12345678

/trunk/test/testuno/source/fvt/uno/sw/field/
H A DPageCountField.java94 assertEquals("Verify page count created in exist odt sample file.", 3, PageCount); in testPageCountFieldODT()
98 assertEquals("Verify page count value still exist after saved.", 3, PageCount); in testPageCountFieldODT()
105 assertEquals("Verify page count value still exist after saved as doc format.", 3, PageCount); in testPageCountFieldODT()
122 assertEquals("Verify page count created in exist doc sample file.", 4, PageCount); in testPageCountFieldDOC()
126 assertEquals("Verify page count value still exist after saved.", 4, PageCount); in testPageCountFieldDOC()
133 assertEquals("Verify page count value still exist after saved as doc format.", 4, PageCount); in testPageCountFieldDOC()
H A DCheckDateTimeField.java23 import static org.junit.Assert.assertEquals;
139assertEquals("Verify time field is creatd, value is right, by compare Hour", expectHour, dateField… in createTimeFiled()
151assertEquals("Verify time field is creatd correct by save and reload.", expectHour, dateField2.Hou… in createTimeFiled()
207assertEquals("Verify date field is creatd, value is right, by compare Day", expectDay, dateField.D… in createDateFiled()
219assertEquals("Verify date field is creatd correct by save and reload.", expectDay, dateField2.Day); in createDateFiled()
/trunk/test/testuno/source/fvt/uno/sw/puretext/
H A DCharacterRelief.java102assertEquals("assert character relief",com.sun.star.text.FontRelief.EMBOSSED,xCursorProps_assert_o… in testCharacterReliefSetting()
105assertEquals("assert character relief",com.sun.star.text.FontRelief.ENGRAVED,xCursorProps_assert_o… in testCharacterReliefSetting()
108assertEquals("assert character relief",com.sun.star.text.FontRelief.NONE,xCursorProps_assert_odt.g… in testCharacterReliefSetting()
117assertEquals("assert character relief",com.sun.star.text.FontRelief.EMBOSSED,xCursorProps_assert_d… in testCharacterReliefSetting()
120assertEquals("assert character relief",com.sun.star.text.FontRelief.ENGRAVED,xCursorProps_assert_d… in testCharacterReliefSetting()
123assertEquals("assert character relief",com.sun.star.text.FontRelief.NONE,xCursorProps_assert_doc.g… in testCharacterReliefSetting()
H A DCharacterSpacing.java90assertEquals("assert character color",true,xCursorProps_assert_odt.getPropertyValue("CharAutoKerni… in testCharacterSpacing_Default()
96assertEquals("assert character color",true,xCursorProps_assert_doc.getPropertyValue("CharAutoKerni… in testCharacterSpacing_Default()
136assertEquals("assert character color",(short)101,xCursorProps_assert_odt.getPropertyValue("CharKer… in testCharacterSpacing_Expand()
142assertEquals("assert character color",(short)101,xCursorProps_assert_doc.getPropertyValue("CharKer… in testCharacterSpacing_Expand()
182assertEquals("assert character color",(short)-101,xCursorProps_assert_odt.getPropertyValue("CharKe… in testCharacterSpacing_Condens()
188assertEquals("assert character color",(short)-101,xCursorProps_assert_doc.getPropertyValue("CharKe… in testCharacterSpacing_Condens()
H A DCharacterLocale.java84 assertEquals("assert character language","en",charLocale_odt.Language); in testCharacterLocaleSetting()
85 assertEquals("assert character language","US",charLocale_odt.Country); in testCharacterLocaleSetting()
94 assertEquals("assert character language","en",charLocale_doc.Language); in testCharacterLocaleSetting()
95 assertEquals("assert character language","US",charLocale_doc.Country); in testCharacterLocaleSetting()
/trunk/test/testgui/source/bvt/gui/
H A DFileTypeTest.java115 Assert.assertEquals("The typed text into writer", text, result); in saveNewDocument()
136 Assert.assertEquals("The typed text into writer is saved!", text, result); in saveNewDocument()
181 Assert.assertEquals("The typed text is saved!", text, SCTool.getCellText("A65536")); in saveNewSpreadsheet()
230 Assert.assertEquals("The typed text is saved!", text, result.trim()); in saveNewPresentation()
345 assertEquals("The typed formula into math", text, result); in saveNewMath()
358 assertEquals("The typed formula into math is saved", text, result); in saveNewMath()
/trunk/test/testgui/source/fvt/gui/sc/subtotals/
H A DSubtotalsFunctions.java329 assertEquals("B5's cell text is not 30","30", SCTool.getCellText("B5")); in testRecalculateWhenDataChanged()
330 assertEquals("B11's cell text is not 23.33333333","23.33333333", SCTool.getCellText("B11")); in testRecalculateWhenDataChanged()
335 assertEquals("B8's cell text is not 35","35", SCTool.getCellText("B8")); in testRecalculateWhenDataChanged()
336 assertEquals("B11's cell text is not 30","30", SCTool.getCellText("B11")); in testRecalculateWhenDataChanged()
341 assertEquals("B10's cell text is not 30","30", SCTool.getCellText("B10")); in testRecalculateWhenDataChanged()
342 assertEquals("B11's cell text is not 31.66666667","31.66666667", SCTool.getCellText("B11")); in testRecalculateWhenDataChanged()
/trunk/main/sw/qa/complex/writer/
H A DCheckIndexedPropertyValues.java62 assertEquals("Initial container is not empty", 0, xCont.getCount()); in checkIndexedPropertyValues()
65 assertEquals(prop1[0].Name, ret[0].Name); in checkIndexedPropertyValues()
66 assertEquals(prop1[0].Value, ret[0].Value); in checkIndexedPropertyValues()
69 assertEquals(prop2[0].Name, ret[0].Name); in checkIndexedPropertyValues()
70 assertEquals(prop2[0].Value, ret[0].Value); in checkIndexedPropertyValues()
H A DCheckNamedPropertyValues.java66 assertEquals(prop1[0].Name, ret[0].Name); in checkNamedPropertyValues()
67 assertEquals(prop1[0].Value, ret[0].Value); in checkNamedPropertyValues()
70 assertEquals(prop2[0].Name, ret[0].Name); in checkNamedPropertyValues()
71 assertEquals(prop2[0].Value, ret[0].Value); in checkNamedPropertyValues()
78 assertEquals("Not all element names were returned.", 2, names.length); in checkNamedPropertyValues()
H A DCheckBookmarks.java58 assertEquals(aExpectation.m_nSetupHash, m_nSetupHash); in assertExpectation()
59 assertEquals(aExpectation.m_nInsertRandomHash, m_nInsertRandomHash); in assertExpectation()
60 assertEquals(aExpectation.m_nDeleteRandomHash, m_nDeleteRandomHash); in assertExpectation()
61 assertEquals(aExpectation.m_nLinebreakHash, m_nLinebreakHash); in assertExpectation()
62 assertEquals(aExpectation.m_nOdfReloadHash, m_nOdfReloadHash); in assertExpectation()
63 assertEquals(aExpectation.m_nMsWordReloadHash, m_nMsWordReloadHash); in assertExpectation()
/trunk/test/testuno/source/fvt/uno/sd/animation/
H A DCustomAnimation.java192 Assert.assertEquals( in testShapeAnimation()
198 Assert.assertEquals("Shape Animation DimHide is false", Boolean.FALSE, in testShapeAnimation()
201 Assert.assertEquals("Shape Animation DimPrevious is true", in testShapeAnimation()
204 Assert.assertEquals("Shape Animation DimColor is Red", 0xff0000, in testShapeAnimation()
208 Assert.assertEquals("Shape SoundOn is false", Boolean.FALSE, in testShapeAnimation()
212 Assert.assertEquals("Shape PlayFull is false", Boolean.FALSE, in testShapeAnimation()
/trunk/test/testuno/source/fvt/uno/sd/graphic/
H A DGraphicPro_Border.java169 assertEquals("line style changed", this.m_expLineStyle, xPropSet2.getPropertyValue("LineStyle")); in testGraphicBorder_ODP()
171 assertEquals("line color changed", this.m_expLineColor, xPropSet2.getPropertyValue("LineColor")); in testGraphicBorder_ODP()
173assertEquals("line DashName changed", this.m_expLineDashName, xPropSet2.getPropertyValue("LineDash… in testGraphicBorder_ODP()
206 assertEquals("line style changed", this.m_expLineStyle, xPropSet2.getPropertyValue("LineStyle")); in testGraphicBorder_PPT()
208 assertEquals("line color changed", this.m_expLineColor, xPropSet2.getPropertyValue("LineColor")); in testGraphicBorder_PPT()
210assertEquals("line DashName changed", this.m_expLineDashName, xPropSet2.getPropertyValue("LineDash… in testGraphicBorder_PPT()
/trunk/test/testuno/source/fvt/uno/sc/cell/
H A DCellProtected.java25 import static org.junit.Assert.assertEquals;
171assertEquals("Incorrect cell protection (IsLocked) value got in ." + fileType + " file.", expected… in testCellProtected()
172assertEquals("Incorrect cell protection(IsFormulaHidden) value got in ." + fileType + " file.", ex… in testCellProtected()
173assertEquals("Incorrect cell protection(IsHidden) value got in ." + fileType + " file.", expected[… in testCellProtected()
174assertEquals("Incorrect cell protection(IsPrintHidden) value got in ." + fileType + " file.", expe… in testCellProtected()
/trunk/test/testuno/source/fvt/uno/sw/page/
H A DCheckBorder.java140 …Assert.assertEquals(preDes + borderProperty + "-->color.",(double)borderLine.Color, (double)actual… in compareBorder()
141 …Assert.assertEquals(preDes + borderProperty + "-->LineDistance.", (double)borderLine.LineDistance,… in compareBorder()
142 …Assert.assertEquals(preDes + borderProperty + "-->InnerLineWidth.", (double)borderLine.InnerLineWi… in compareBorder()
143 …Assert.assertEquals(preDes + borderProperty + "-->OuterLineWidth.", (double)borderLine.OuterLineWi… in compareBorder()
145 …Assert.assertEquals(preDes + "-->" + borderDistanceProperty, (double)borderLine.OuterLineWidth, (d… in compareBorder()
/trunk/test/testuno/source/fvt/uno/sd/shape/
H A DShapeTypes.java23 import static org.junit.Assert.assertEquals;
92 assertEquals("Not the same shape", "test", in testLineShape()
94 assertEquals("Not LineShape", "com.sun.star.drawing.LineShape", in testLineShape()
112 assertEquals("Not the same shape", "test", in testBasicShape()
114 assertEquals("Not RectangleShape", in testBasicShape()
/trunk/test/testuno/source/fvt/uno/sd/character/
H A DCheckCharacterStyle.java145 assertEquals("character color should be red", 0xFF0000,xtextProps.getPropertyValue("CharColor")); in testFontColor()
160assertEquals("character should be underlined", com.sun.star.awt.FontUnderline.SINGLE, xtextProps.g… in testFontUnderline()
175assertEquals("font size should be 12.0", "12.0", xtextProps.getPropertyValue("CharHeight").toStrin… in testFontSize()
188assertEquals("font style should be bold", com.sun.star.awt.FontWeight.BOLD, xtextProps.getProperty… in testFontBoldStyle()
202assertEquals("font style should be bold", com.sun.star.awt.FontSlant.ITALIC, xtextProps.getPropert… in testFontItalicStyle()
/trunk/test/testuno/source/fvt/uno/sd/textbox/
H A DLineProperties.java23 import static org.junit.Assert.assertEquals;
110 assertEquals("Not Dash Line Style",LineStyle.DASH,xPropSet.getPropertyValue("LineStyle")); in testShapeLineStyle()
112 assertEquals("Not Round Dash Style", DashStyle.ROUND ,aLineDash.Style); in testShapeLineStyle()
135 assertEquals("Not Dash Line Style",LineStyle.DASH,xPropSet.getPropertyValue("LineStyle")); in testShapeLineColor()
136 assertEquals("wrong line color", 0x00ff00,xPropSet.getPropertyValue("LineColor")); in testShapeLineColor()
/trunk/main/sfx2/qa/complex/sfx2/undo/
H A DDrawingOrPresentationDocumentTest.java80 assertEquals( "there should be no shapes at all", 0, firstPageShapes.getCount() ); in verifyInitialDocumentState()
86assertEquals( "there should be one shape, not more, not less", 1, firstPageShapes.getCount() ); in verifySingleModificationDocumentState()
91assertEquals( "wrong circle type", CIRCLE_TYPE.getValue(), ((CircleKind)shapeProps.getPropertyValu… in verifySingleModificationDocumentState()
181 assertEquals( "unexpected shape width", i_expectedWidth, shapeSize.Width ); in verifyShapeGeometry()
182 assertEquals( "unexpected shape height", i_expectedHeight, shapeSize.Height ); in verifyShapeGeometry()
/trunk/test/testgui/source/fvt/gui/sd/shape/
H A DShapeTypes.java88 assertEquals(3, allShapes.length); in testCalloutShapes()
101 assertEquals(4, allShapes.length); in testCalloutShapes()
121 assertEquals(3, allShapes.length); in testStarsShapes()
134 assertEquals(4, allShapes.length); in testStarsShapes()
/trunk/test/testuno/source/fvt/uno/sd/paragraph/
H A DParagraphStyle.java119 …Assert.assertEquals("Paragraph Left Margin is 1000",1000, xTextPropSet1.getPropertyValue("ParaLeft… in ParaStyle()
120 …Assert.assertEquals("Paragraph Right Margin is 1000", 1000,xTextPropSet1.getPropertyValue("ParaRig… in ParaStyle()
121 …Assert.assertEquals("Paragraph Top Margin is 1000",1000, xTextPropSet1.getPropertyValue("ParaTopMa… in ParaStyle()
122 …Assert.assertEquals("Paragraph Bottom Margin is 1000 ",1000, xTextPropSet1.getPropertyValue("ParaB… in ParaStyle()
123 Assert.assertEquals("Text Color is red",0xff0000,xTextPropSet2.getPropertyValue("CharColor")); in ParaStyle()
/trunk/test/testuno/source/fvt/uno/sw/table/
H A DTableVerticalAlignment.java116assertEquals("assert table border spacing to content",VertOrientation.BOTTOM,xCursorProps_assert_o… in testtableVerticalAlignment_Bottom()
132assertEquals("assert table vertical alignment",VertOrientation.BOTTOM,xCursorProps_assert_odt.getP… in testtableVerticalAlignment_Bottom()
189assertEquals("assert table border spacing to content",VertOrientation.CENTER,xCursorProps_assert_o… in testtableVerticalAlignment_Center()
205assertEquals("assert table vertical alignment",VertOrientation.CENTER,xCursorProps_assert_odt.getP… in testtableVerticalAlignment_Center()
262assertEquals("assert table border spacing to content",VertOrientation.TOP,xCursorProps_assert_odt.… in testtableVerticalAlignment_Top()
278assertEquals("assert table vertical alignment",VertOrientation.TOP,xCursorProps_assert_odt.getProp… in testtableVerticalAlignment_Top()
/trunk/main/sw/qa/complex/checkColor/
H A DCheckChangeColor.java65 assertEquals( in checkChangeColor()
68 assertEquals( in checkChangeColor()
74 assertEquals( in checkChangeColor()
77 assertEquals( in checkChangeColor()
/trunk/main/dbaccess/qa/complex/dbaccess/
H A DParser.java147assertEquals( "checkParameterTypes: internal error", _expectedParameterNames.length, _expectedPara… in impl_checkParameters()
152assertEquals( "(ctx: " + _context + ") unexpected parameter count", _expectedParameterNames.length… in impl_checkParameters()
158assertEquals( "(ctx: " + _context + ") unexpected parameter name for parameter number " + ( i + 1 … in impl_checkParameters()
161assertEquals( "(ctx: " + _context + ") unexpected data type for parameter number " + ( i + 1 ), _e… in impl_checkParameters()
/trunk/test/testuno/source/fvt/uno/sc/chart/
H A DChartTitle.java24 import static org.junit.Assert.assertEquals;
176 assertEquals("Incorrect chart title got in ." + fileType + " file.", defaultTitle, resultTitle); in testCreateMainTitle()
237assertEquals("Incorrect chart subtitle got in ." + fileType + " file.", defaultTitle, resultTitle); in testCreateSubTitle()
294 assertEquals("Incorrect chart title got in ." + fileType + " file.", titles[0], resultTitle[0]); in testInputTitles()
300assertEquals("Incorrect chart subtitle got in ." + fileType + " file.", titles[1], resultTitle[1]); in testInputTitles()
/trunk/test/testuno/source/fvt/uno/sw/frame/
H A DFramePosition.java108 assertEquals("verify Frame position",HoriOrient,xFramProps_odt.getPropertyValue("HoriOrient")); in testFramePosition()
109assertEquals("verify Frame position",HoriOrientRelation,xFramProps_odt.getPropertyValue("HoriOrien… in testFramePosition()
110 assertEquals("verify Frame position",VertOrient,xFramProps_odt.getPropertyValue("VertOrient")); in testFramePosition()
111assertEquals("verify Frame position",VertOrientRelation,xFramProps_odt.getPropertyValue("VertOrien… in testFramePosition()

Completed in 101 milliseconds

12345678