Home
last modified time | relevance | path

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

12345678910>>...15

/trunk/test/testuno/source/api/i18n/
H A DXCalendarTest.java39 import org.junit.Assert;
142 Assert.assertTrue(lang, oObj.getLoadedCalendar().Default); in _loadDefaultCalendar()
166 Assert.assertTrue(lang, data.calendars[i].length > 0); in getAllCalendars()
193 Assert.assertEquals(lang, data.calendars[i][0], oObj.getLoadedCalendar().Name); in loadCalendar()
216 Assert.assertEquals(lang, data.calendars[i][0], oObj.getLoadedCalendar().Name); in _getLoadedCalendar()
239 Assert.assertEquals(lang, uID, data.calendars[i][0]); in _getUniqueID()
256 Assert.assertTrue(lang, aDTime == newDTime); in _setDateTime()
273 Assert.assertTrue(lang, aDTime == newDTime); in _getDateTime()
333 Assert.assertTrue(error, error.equals("")); in _setValue()
346 Assert.assertEquals( in _getValue()
[all …]
H A DXBreakIteratorTest.java52 import org.junit.Assert;
180 Assert.assertTrue("nextCharacters()", bRes); in _nextCharacters()
217 Assert.assertTrue("previousCharacters()", bRes); in _previousCharacters()
227 Assert.assertTrue("nextWord()", vBounds != null && vBounds.size() > 0); in _nextWord()
275 Assert.assertTrue("previousWord()", vPrevBounds.size() == vBounds.size() ); in _previousWord()
308 Assert.assertTrue("getWordBoundary()", bRes); in _getWordBoundary()
334 Assert.assertTrue("getWordType()", bRes); in _getWordType()
366 Assert.assertTrue("isBeginWord()", bRes); in _isBeginWord()
399 Assert.assertTrue("isEndWord()", bRes); in _isEndWord()
433 Assert.assertTrue("beginOfSentence()", bRes); in _beginOfSentence()
[all …]
H A DXTransliterationTest.java37 import org.junit.Assert;
109 Assert.assertTrue("getAvailableModules()", mod != null && mod.length > 0) ; in _getAvailableModules()
127 Assert.assertTrue("loadModule()", res ); in _loadModule()
149 Assert.assertTrue("loadModuleNew()", result); in _loadModuleNew()
167 Assert.assertTrue("loadModuleByImplName()", res); in _loadModuleByImplName()
185 Assert.assertTrue("loadModulesByImplNames()", res); in _loadModulesByImplNames()
196 Assert.assertTrue("getType()", result); in _getType()
214 Assert.assertTrue("getName()", res); in _getName()
239 Assert.assertTrue("transliterate()", result) ; in _transliterate()
276 Assert.assertTrue("transliterateRange()", bOK); in _transliterateRange()
[all …]
H A DXLocaleDataTest.java40 import org.junit.Assert;
119 Assert.assertTrue("getLanguageCountryInfo()",res); in _getLanguageCountryInfo()
181 Assert.assertTrue("getLocaleItem()",res); in _getLocaleItem()
208 Assert.assertTrue("getAllCalendars()", res); in _getAllCalendars()
235 Assert.assertTrue("getAllCurrencies()",res); in _getAllCurrencies()
262 Assert.assertTrue("getAllFormats()",res); in _getAllFormats()
289 Assert.assertTrue("getCollatorImplementations()", res); in _getCollatorImplementations()
316 Assert.assertTrue("getSearchOptions()",res); in _getSearchOptions()
343 Assert.assertTrue("getCollationOptions()", res); in _getCollationOptions()
370 Assert.assertTrue("getTransliterations()", res); in _getTransliterations()
[all …]
H A DXCharacterClassificationTest.java37 import org.junit.Assert;
160 Assert.assertTrue("toUpper()", res); in _toUpper()
191 Assert.assertTrue("toLower()", res); in _toLower()
220 Assert.assertTrue("toTitle()", res); in _toTitle()
256 Assert.assertTrue("getType()", res); in _getType()
292 Assert.assertTrue("getCharacterType()", res); in _getCharacterType()
320 Assert.assertTrue("getStringType()", res); in _getStringType()
345 Assert.assertTrue("getCharacterDirection()", res); in _getCharacterDirection()
385 Assert.assertTrue("getScript()", res); in _getScript()
421 Assert.assertTrue("parseAnyToken()", res); in _parseAnyToken()
[all …]
H A DXCollatorTest.java38 import org.junit.Assert;
117 Assert.assertTrue("listCollatorAlgorithms()", algorithms.length > 0) ; in _listCollatorAlgorithms()
119 Assert.fail("listCollatorAlgorithms()"); in _listCollatorAlgorithms()
140 Assert.assertTrue("listCollatorOptions()", true) ; in _listCollatorOptions()
142 Assert.fail("listCollatorOptions()") ; in _listCollatorOptions()
158 Assert.assertTrue("loadDefaultCollator()", res) ; in _loadDefaultCollator()
178 Assert.assertTrue("loadCollatorAlgorithm()", res); in _loadCollatorAlgorithm()
199 Assert.assertTrue("loadCollatorAlgorithmWithEndUserOption()", res); in _loadCollatorAlgorithmWithEndUserOption()
261 Assert.assertTrue("compareSubstring()", result) ; in _compareSubstring()
323 Assert.assertTrue("compareString()", result) ; in _compareString()
H A DXExtendedIndexEntrySupplierTest.java34 import org.junit.Assert;
82 Assert.assertTrue("compareIndexEntry()", result1 == 0 && result2 + result3 == 0); in _compareIndexEntry()
113 Assert.assertTrue("getAlgorithmList()", result); in _getAlgorithmList()
127 Assert.assertTrue("getIndexKey()", getIndexKey()); in _getIndexKey()
156 Assert.assertTrue("getLocaleList()", locales.length > 0); in _getLocaleList()
185 Assert.assertTrue("getPhoneticCandidate()", res); in _getPhoneticCandidate()
231 Assert.assertTrue("loadAlgorithm()", res); in _loadAlgorithm()
262 Assert.assertTrue("usePhoneticEntry()", res); in _usePhoneticEntry()
H A DXNumberFormatCodeTest.java38 import org.junit.Assert;
124 Assert.assertTrue("getDefault()", res); in _getDefault()
146 Assert.assertTrue("getFormatCode()", res); in _getFormatCode()
166 Assert.assertTrue("getAllFormatCode()", res); in _getAllFormatCode()
182 Assert.assertTrue("getAllFormatCodes()", res); in _getAllFormatCodes()
H A DXExtendedTransliterationTest.java34 import org.junit.Assert;
90 Assert.assertTrue("transliterateChar2Char()", result); in _transliterateChar2Char()
105 Assert.assertTrue("transliterateChar2String()", result); in _transliterateChar2String()
120 Assert.assertTrue("transliterateString2String()", result); in _transliterateString2String()
H A DXIndexEntrySupplierTest.java34 import org.junit.Assert;
95 Assert.assertTrue("getIndexCharacter()", res); in _getIndexCharacter()
123 Assert.assertTrue("getIndexFollowPageWord()", res); in _getIndexFollowPageWord()
/trunk/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()
108 Assert.assertEquals("Line break is inserted when open saved odt file.",4,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()
122 Assert.assertEquals("Line break is inserted when open saved doc file.",4,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()
[all …]
/trunk/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()
/trunk/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()
/trunk/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);
334 Assert that there are no overlaps among all the rectangles in the array, which should
346 Assert that there are no overlaps among all the rectangles in the array, which should
[all …]
/trunk/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()
/trunk/test/testgui/source/bvt/gui/
H A DFileTypeTest.java27 import static org.junit.Assert.*;
36 import org.junit.Assert;
115 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()
/trunk/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()
123Assert.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()
/trunk/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;
/trunk/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()
/trunk/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()
235Assert.assertTrue("Verify sample file " + testFilePath + " export to pdf!", pdfFile.exists()); in exportAsPDF()
/trunk/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;

12345678910>>...15