Home
last modified time | relevance | path

Searched refs:Assert (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/aoo4110/test/testuno/source/fvt/uno/sw/breaks/
H A DCheckBreaks.java30 import org.junit.Assert;
94 Assert.assertEquals("Line break is inserted when new document.",4,lineCount); in testInsertDeleteLineBreak()
97 Assert.assertEquals("Line break is deleted when new document", 3,lineCount); in testInsertDeleteLineBreak()
105 Assert.assertEquals("Line breaks when open saved odt file.",3,lineCount); in testInsertDeleteLineBreak()
111 Assert.assertEquals("Line break is deleted when open saved odt file.",3,lineCount); in testInsertDeleteLineBreak()
119 Assert.assertEquals("Line breaks when open saved doc file.",3,lineCount); in testInsertDeleteLineBreak()
125 Assert.assertEquals("Line break is deleted when open saved doc file.",3,lineCount); in testInsertDeleteLineBreak()
140 Assert.assertEquals("page break is inserted when new document", 3,pageCount); in testInsertDeletePageBreak()
144 Assert.assertEquals("page break is deleted when new document", 2,pageCount); in testInsertDeletePageBreak()
152 Assert.assertEquals("Page breaks after open saved odt file", 2,pageCount); in testInsertDeletePageBreak()
[all …]
/aoo4110/test/testuno/source/fvt/uno/sw/
H A DDocumentTest.java31 import org.junit.Assert;
82Assert.assertEquals("New Document title start with \"Untitled\"",true, title.startsWith("Untitled"… in testNewAndCloseDocument()
88 Assert.assertTrue("Document has been closed.",xModel==null); in testNewAndCloseDocument()
105Assert.assertEquals("new document from template, heading style in template is remained. ", "Headin… in testNewDocumentFromTemplate()
106Assert.assertEquals("new document from template, title start with \"Untitled\".", true, xTitle.get… in testNewDocumentFromTemplate()
131Assert.assertEquals("Modify plain text to heading 1 style. ", "Heading 1", (String)xPropertySet.ge… in testSaveDocument()
151Assert.assertTrue("Save odt document as doc the file exist: " + saveAsFile.getAbsolutePath(), save… in testSaveAsDocument()
182 Assert.assertTrue("Export document as PDF.", saveAsFile.exists()); in testExportAsPDF()
220 Assert.assertTrue("Export document as ott.", saveAsFile.exists()); in testSaveAsTemplate()
/aoo4110/test/testuno/source/fvt/uno/sw/page/
H A DCheckPage.java33 import org.junit.Assert;
151Assert.assertEquals(preDescription + ":" + this.isLandscapeProperty,this.isLandscape, isLandScape); in compare()
152Assert.assertEquals(preDescription + ":" + this.widthProperty,(double)this.width, (double)width, 2… in compare()
153Assert.assertEquals(preDescription + ":" + this.heightProperty,(double)this.height, (double)height… in compare()
154Assert.assertEquals(preDescription + ":" + this.topMarginProperty,(double)this.topMargin, (double)… in compare()
155Assert.assertEquals(preDescription + ":" + this.bottomMarginProperty,(double)this.bottomMargin, (d… in compare()
156Assert.assertEquals(preDescription + ":" + this.leftMarginProperty,(double)this.leftMargin, (doubl… in compare()
157Assert.assertEquals(preDescription + ":" + this.rightMarginProperty,(double)this.rightMargin, (dou… in compare()
H A DCheckBorder.java33 import org.junit.Assert;
140Assert.assertEquals(preDes + borderProperty + "-->color.",(double)borderLine.Color, (double)actual… in compareBorder()
141Assert.assertEquals(preDes + borderProperty + "-->LineDistance.", (double)borderLine.LineDistance,… in compareBorder()
142Assert.assertEquals(preDes + borderProperty + "-->InnerLineWidth.", (double)borderLine.InnerLineWi… in compareBorder()
143Assert.assertEquals(preDes + borderProperty + "-->OuterLineWidth.", (double)borderLine.OuterLineWi… in compareBorder()
145Assert.assertEquals(preDes + "-->" + borderDistanceProperty, (double)borderLine.OuterLineWidth, (d… in compareBorder()
H A DCheckShadowFormat.java33 import org.junit.Assert;
145Assert.assertEquals(preDescription + ":" + shadowFormatProperty + "-->Location",this.shadowFormat.… in compare()
148Assert.assertEquals(preDescription + ":" + shadowFormatProperty + "-->Width",(double)this.shadowFo… in compare()
149Assert.assertEquals(preDescription + ":" + shadowFormatProperty + "-->IsTransparent",this.shadowFo… in compare()
150Assert.assertEquals(preDescription + ":" + shadowFormatProperty + "-->Color",this.shadowFormat.Col… in compare()
H A DCheckFooterHeader.java33 import org.junit.Assert;
147Assert.assertEquals(preDescription + ":" + m_LeftMarginProperty,(double)m_LeftMargin, (double)left… in compare()
148Assert.assertEquals(preDescription + ":" + m_RightMarginProperty,(double)m_RightMargin, (double)ri… in compare()
149Assert.assertEquals(preDescription + ":" + m_BodyDistanceProperty,(double)m_BodyDistance, (double)… in compare()
150Assert.assertEquals(preDescription + ":" + m_HeightProperty,(double)m_Height, (double)height, 2); … in compare()
H A DCheckBackGraphic.java33 import org.junit.Assert;
109 Assert.assertEquals("ODT:" + backGraphicURLProperty, backGraphicURL, graphic); in testFooterHeaderBackground()
H A DCheckBackColor.java33 import org.junit.Assert;
121 Assert.assertEquals(preDescription + ":" + backColorProperty,(double)backColor, color, 2); in compare()
H A DCheckPageLayout.java34 import org.junit.Assert;
121Assert.assertEquals(preDescription + ":" + this.pageStyleLayoutProperty,this.pageStyleLayout.getVa… in compare()
/aoo4110/test/testuno/source/fvt/uno/sd/animation/
H A DCustomAnimation.java23 import junit.framework.Assert;
192 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()
/aoo4110/main/graphite/
H A Dgraphite-2.3.1.patch191 Assert(false);
198 Assert(false);
200 Assert(false);
207 Assert(false);
209 Assert(false);
216 Assert(false);
218 Assert(false);
225 Assert(false);
399 Assert(ichs >= 0);
710 Assert(false);
[all …]
/aoo4110/test/testgui/source/bvt/gui/
H A DFileTypeTest.java27 import static org.junit.Assert.*;
36 import org.junit.Assert;
112 Assert.assertEquals("The typed text into writer", text, copyAll()); in saveNewDocument()
130 Assert.assertEquals("The typed text into writer is saved!", text, copyAll()); in saveNewDocument()
175 Assert.assertEquals("The typed text is saved!", text, SCTool.getCellText("A65536")); in saveNewSpreadsheet()
221 Assert.assertEquals("The typed text is saved!", text, copyAll().trim()); in saveNewPresentation()
/aoo4110/test/testuno/source/fvt/uno/sd/paragraph/
H A DParagraphStyle.java23 import junit.framework.Assert;
119Assert.assertEquals("Paragraph Left Margin is 1000",1000, xTextPropSet1.getPropertyValue("ParaLeft… in ParaStyle()
120Assert.assertEquals("Paragraph Right Margin is 1000", 1000,xTextPropSet1.getPropertyValue("ParaRig… in ParaStyle()
121Assert.assertEquals("Paragraph Top Margin is 1000",1000, xTextPropSet1.getPropertyValue("ParaTopMa… in ParaStyle()
122Assert.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()
H A DParagraphTextProperty.java23 import junit.framework.Assert;
108Assert.assertEquals("TextLeftDistance is 2500", 2500, xShapePropSet.getPropertyValue("TextLeftDist… in testParagraphPropertyShape()
109Assert.assertEquals("TextRightDistance is 2500", 2500, xShapePropSet.getPropertyValue("TextRightDi… in testParagraphPropertyShape()
110Assert.assertEquals("TextUpperDistance is 2500", 2500, xShapePropSet.getPropertyValue("TextUpperDi… in testParagraphPropertyShape()
111Assert.assertEquals("TextLowerDistance is 2500", 2500, xShapePropSet.getPropertyValue("TextLowerDi… in testParagraphPropertyShape()
/aoo4110/test/testuno/source/fvt/uno/sw/frame/
H A DCheckFrames.java24 import static org.junit.Assert.assertArrayEquals;
25 import static org.junit.Assert.assertEquals;
26 import static org.junit.Assert.assertFalse;
27 import static org.junit.Assert.assertTrue;
/aoo4110/test/testuno/source/fvt/uno/sd/slideshow/
H A DSlideShow.java23 import junit.framework.Assert;
115 Assert.assertEquals("IsEndless set to false", in testSlideShow()
117 Assert.assertEquals("IsFullScreen set to true", in testSlideShow()
119 Assert.assertEquals("Pause set to 0", in testSlideShow()
/aoo4110/test/testuno/source/fvt/uno/ffc/
H A DFFCTest.java29 import junit.framework.Assert;
150 Assert.assertTrue("FFC Test for file : "+ savedMSFilePath, savedMSFile.exists()); in exportTest()
160 Assert.assertTrue("FFC Test for file : "+ operateFilePath, flag); in exportTest()
235 Assert.assertTrue("Verify sampe file " + testFilePath + " exprot to pdf!", pdfFile.exists()); in exportAsPDF()
/aoo4110/test/testuno/source/fvt/uno/sc/chart/
H A DChartLegend.java24 import static org.junit.Assert.assertEquals;
25 import static org.junit.Assert.assertFalse;
26 import static org.junit.Assert.assertTrue;
H A DChartTitle.java24 import static org.junit.Assert.assertEquals;
25 import static org.junit.Assert.assertFalse;
26 import static org.junit.Assert.assertTrue;
H A DChartMeanValueLine.java24 import static org.junit.Assert.assertFalse;
25 import static org.junit.Assert.assertTrue;
/aoo4110/test/testuno/source/fvt/uno/sc/cell/
H A DCellEffectOverline.java25 import static org.junit.Assert.assertEquals;
26 import static org.junit.Assert.assertFalse;
27 import static org.junit.Assert.assertTrue;
H A DCellEffectUnderline.java25 import static org.junit.Assert.assertEquals;
26 import static org.junit.Assert.assertFalse;
27 import static org.junit.Assert.assertTrue;
/aoo4110/test/testuno/source/fvt/mix/
H A DMixedTest.java25 import org.junit.Assert;
91 Assert.assertEquals("Text Color", 0x00CC00, xps.getPropertyValue("CharColor")); in testUseBothUNOAndGuiAPI()
/aoo4110/main/toolkit/qa/complex/toolkit/
H A DAssert.java29 import static org.junit.Assert.*;
35 public class Assert class
/aoo4110/test/testuno/source/fvt/uno/sw/field/
H A DPageNumberField.java22 import static org.junit.Assert.assertEquals;
23 import static org.junit.Assert.assertTrue;

Completed in 84 milliseconds

12345678910>>...12