Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 25 of 158) sorted by relevance

1234567

/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/configuration/backend/
H A D_XLayerHandler.java222 expected += ("endProperty();" + ls); in getExpected()
225 expected += ("endProperty();" + ls); in getExpected()
228 expected += ("endProperty();" + ls); in getExpected()
246 expected += ("endNode();" + ls); in getExpected()
252 expected += ("endNode();" + ls); in getExpected()
254 expected += ("endNode();" + ls); in getExpected()
255 expected += ("endNode();" + ls); in getExpected()
256 expected += ("endNode();" + ls); in getExpected()
257 expected += ("endNode();" + ls); in getExpected()
258 expected += ("endLayer();" + ls); in getExpected()
[all …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/complexlib/
H A DAssurance.java71 protected void assureEquals( boolean expected, boolean actual ) { in assureEquals() argument
82 assureEquals( message, expected, actual, false ); in assureEquals()
90 protected void assureEquals( byte expected, byte actual ) { in assureEquals() argument
109 protected void assureEquals( double expected, double actual ) { in assureEquals() argument
128 protected void assureEquals( float expected, float actual ) { in assureEquals() argument
147 protected void assureEquals( short expected, short actual ) { in assureEquals() argument
166 protected void assureEquals( int expected, int actual ) { in assureEquals() argument
185 protected void assureEquals( long expected, long actual ) { in assureEquals() argument
215 assureEquals( message, expected, actual, false ); in assureEquals()
234 assureEquals( message, expected, actual, false ); in assureEquals()
[all …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/sheet/
H A D_XCellRangesQuery.java63 String expected = ""; field in _XCellRangesQuery
134 if (!getting.startsWith(expected)) { in _queryColumnDifferences()
153 expected = mExpectedResults[QUERYCONTENTCELLS]; in _queryContentCells()
155 if (!getting.startsWith(expected)) { in _queryContentCells()
171 expected = mExpectedResults[QUERYEMPTYCELLS]; in _queryEmptyCells()
207 expected = mExpectedResults[QUERYFORMULACELLS]; in _queryFormulaCells()
209 if (!getting.equals(expected)) { in _queryFormulaCells()
211 log.println("Expected: " + expected); in _queryFormulaCells()
225 if (!getting.startsWith(expected)) { in _queryIntersection()
245 if (!getting.startsWith(expected)) { in _queryRowDifferences()
[all …]
H A D_XSubTotalCalculatable.java73 String expected = "=SUBTOTAL(9;$A$2:$A$3)"; in _applySubTotals() local
74 res = formula.equals(expected); in _applySubTotals()
78 log.println("expected: " + expected); in _applySubTotals()
108 String expected = ""; in _removeSubTotals() local
109 res = formula.equals(expected); in _removeSubTotals()
113 log.println("expected: " + expected); in _removeSubTotals()
/trunk/main/scripting/workben/ifc/scripting/
H A D_XScriptInfo.java68 String expected = testdata.get("expected"); in _getLogicalName() local
76 result &= output.equals(expected); in _getLogicalName()
99 String expected = testdata.get("expected"); in _getParcelURI() local
107 result &= output.endsWith(expected); in _getParcelURI()
129 String expected = testdata.get("expected"); in _getLanguage() local
137 result &= output.equals(expected); in _getLanguage()
167 result &= output.equals(expected); in _getFunctionName()
207 result &= output.equals(expected); in _getLanguageProperties()
244 result &= output.equals(expected); in _getFileSetNames()
282 result &= output.equals(expected); in _getFilesInFileSet()
[all …]
H A D_XScriptStorageManager.java68 String expected = testdata.get("expected"); in _createScriptStorage() local
88 log.println("expected: " + expected + ", output: " + output); in _createScriptStorage()
89 result &= output.equals(expected); in _createScriptStorage()
109 String expected = testdata.get("expected"); in _createScriptStorageWithURI() local
139 log.println("expected: " + expected + ", output: " + output); in _createScriptStorageWithURI()
140 result &= output.equals(expected); in _createScriptStorageWithURI()
161 String expected = testdata.get("expected"); in _getScriptStorage() local
188 log.println("expected: " + expected + ", output: " + output); in _getScriptStorage()
189 result &= output.equals(expected); in _getScriptStorage()
209 String expected = testdata.get("expected"); in _refreshScriptStorage() local
[all …]
H A D_XScriptInfoAccess.java80 String expected = testdata.get("expected"); in runGetScriptLogicalNamesTest() local
95 if (logicalNames[i].equals(expected)) { in runGetScriptLogicalNamesTest()
107 log.println("expected: " + expected + ", output: " + output); in runGetScriptLogicalNamesTest()
108 if (output.equals(expected)) in runGetScriptLogicalNamesTest()
139 String expected = testdata.get("expected"); in runGetImplementationsTest() local
164 log.println("expected: " + expected + ", output: " + output); in runGetImplementationsTest()
165 if (output.equals(expected)) in runGetImplementationsTest()
196 String expected = testdata.get("expected"); in runGetAllImplementationsTest() local
218 log.println("expected: " + expected + ", output: " + output); in runGetAllImplementationsTest()
219 if (output.equals(expected)) in runGetAllImplementationsTest()
/trunk/main/sfx2/qa/complex/sfx2/
H A DGlobalEventBroadcaster.java107 String[] expected; in checkWriter() local
116 proveExpectation(expected)); in checkWriter()
123 expected = new String[] { "OnModifyChanged" }; in checkWriter()
126 proveExpectation(expected)); in checkWriter()
137 proveExpectation(expected)); in checkWriter()
149 proveExpectation(expected)); in checkWriter()
161 proveExpectation(expected)); in checkWriter()
186 proveExpectation(expected)); in checkWriter()
217 private boolean proveExpectation(String[] expected) { in proveExpectation() argument
226 for (int i = 0; i < expected.length; i++) { in proveExpectation()
[all …]
/trunk/main/scripting/workben/data/testdata/
H A DScriptStorageManager.csv1 _createScriptStorage;description=Try to create a ScriptStorage;expected=success
2 …ry to create a document ScriptStorage;location=script_in_class_file.sxw;expected=XScriptInfoAccess…
3 _getScriptStorage;description=Try to get application share ScriptStorage;location=share;expected=XS…
4 _getScriptStorage;description=Try to get application user ScriptStorage;location=user;expected=XScr…
5 …torage;description=Try to refresh non-existent ScriptStorage;location=non-existent;expected=success
6 …tion=Try to refresh valid document ScriptStorage;location=script_in_class_file.sxw;expected=success
7 …arning=false;dialog=false;checkbox=false;buttonName=Run;checkpath=false;expected=com.sun.star.secu…
8 …onfirm=false;warning=false;dialog=false;checkbox=false;buttonName=Run;checkpath=false;expected=true
9 …;confirm=false;warning=true;dialog=true;checkbox=false;buttonName=Run;checkpath=false;expected=true
11 …false;warning=false;dialog=false;checkbox=false;buttonName=Do Not Run;checkpath=false;expected=true
[all …]
H A DScriptInfo.csv1 _getLogicalName;description=Try to get a logical name;expected=MemoryUtils.MemUsage
2 _getParcelURI;description=Try to get a parcel URI;expected=ExampleSpreadSheetLatest.sxc/Scripts/jav…
3 _getLanguage;description=Try to get language;expected=Java
4 _getFunctionName;description=Try to get a function name;expected=MemoryUsage.updateMemoryUsage
5 _getLanguageProperties;description=Try to get language properties;expected=MemUsage.jar
6 _getFileSetNames;description=Try to get fileset names;expected=delivered
7 _getFilesInFileSet;description=Try to get files in fileset;expected=google.jar
8 _getDescription;description=Try to get description;expected=Show JVM memory usage stats
H A DScriptRuntimeManager.csv1 …tion=script_in_class_file.sxw;logicalname=script://doc.jsuite.testMethod;expected=XScriptInfo.class
2 …lve a valid user URI;location=user;logicalname=script://user.jsuite.test;expected=XScriptInfo.class
3 … a valid share URI;location=share;logicalname=script://share.jsuite.test;expected=XScriptInfo.class
4 …olve an invalid URI;location=user;logicalname=scrpit://user.jsuite.test;expected=com.sun.star.lang…
5 …lve a valid but non existent URI;location=user;logicalname=script://non.existent.test;expected=null
6 …id user level URI;location=user;context=null;logicalname=script://user.jsuite.test;expected=success
7 …t=xscriptcontext_test_document.sxw;logicalname=script://xscriptcontext.jsuite.test;expected=success
8 …n a jar file;location=user;context=null;logicalname=script://jarscript.jsuite.test;expected=success
/trunk/test/testuno/source/fvt/uno/sc/chart/
H A DChartAxis.java149 Boolean[][] expected = { in testCreateXYAxes() local
180 expected[0][0] = axes[0]; in testCreateXYAxes()
181 expected[0][1] = axes[1]; in testCreateXYAxes()
186 expected[1][0] = secondaryAxes[0]; in testCreateXYAxes()
192 expected[1][0] = false; in testCreateXYAxes()
193 if (expected[1][1]) { in testCreateXYAxes()
194 expected[1][0] = true; in testCreateXYAxes()
230 Boolean[][] expected = { in testCreateXYZAxes() local
263 expected[0][0] = axes[0]; in testCreateXYZAxes()
264 expected[0][1] = axes[1]; in testCreateXYZAxes()
[all …]
H A DChartGrid.java149 Boolean[][] expected = { in testCreateXYGrid() local
180 expected[0][0] = majorGrids[0]; in testCreateXYGrid()
181 expected[0][1] = majorGrids[1]; in testCreateXYGrid()
186 expected[1][0] = minorGrids[0]; in testCreateXYGrid()
187 expected[1][1] = minorGrids[1]; in testCreateXYGrid()
221 Boolean[][] expected = { in testCreateXYZGrid() local
254 expected[0][0] = majorGrids[0]; in testCreateXYZGrid()
255 expected[0][1] = majorGrids[1]; in testCreateXYZGrid()
256 expected[0][2] = majorGrids[2]; in testCreateXYZGrid()
262 expected[1][0] = minorGrids[0]; in testCreateXYZGrid()
[all …]
H A DChartType.java54 private String expected; field in ChartType
102 public ChartType(String expected, String inputType, double[][] numberData, String fileType) { in ChartType() argument
103 this.expected = expected; in ChartType()
176 assertEquals("Incorrect chart type string got in ." + fileType + " file.", expected, result); in testCreateChart()
/trunk/main/sc/qa/complex/cellRanges/
H A DCheckXCellRangesQuery.java217 public boolean _queryColumnDifferences(String expected) { in _queryColumnDifferences() argument
223 if (!getting.equals(expected)) { in _queryColumnDifferences()
225 System.out.println("\tShould have been: " + expected); in _queryColumnDifferences()
236 public boolean _queryEmptyCells(String expected) { in _queryEmptyCells() argument
241 if (!getting.equals(expected)) { in _queryEmptyCells()
243 System.out.println("\tShould have been: " + expected); in _queryEmptyCells()
254 public boolean _queryRowDifferences(String expected) { in _queryRowDifferences() argument
260 if (!getting.equals(expected)) { in _queryRowDifferences()
262 System.out.println("\tShould have been: " + expected); in _queryRowDifferences()
/trunk/test/testuno/source/fvt/uno/sc/cell/
H A DCellProtected.java58 private Boolean[] expected; field in CellProtected
87 public CellProtected(Boolean[] expected, String inputType, Boolean[] inputData, String fileType) { in CellProtected() argument
96 this.expected = expected; in CellProtected()
171 …rrect cell protection (IsLocked) value got in ." + fileType + " file.", expected[0], results[i].Is… in testCellProtected()
172 …cell protection(IsFormulaHidden) value got in ." + fileType + " file.", expected[1], results[i].Is… in testCellProtected()
173 …orrect cell protection(IsHidden) value got in ." + fileType + " file.", expected[2], results[i].Is… in testCellProtected()
174 …t cell protection(IsPrintHidden) value got in ." + fileType + " file.", expected[3], results[i].Is… in testCellProtected()
H A DCellFontSize.java57 private double[] expected; field in CellFontSize
84 public CellFontSize(double[] expected, String inputType, double[] inputData, String fileType) { in CellFontSize() argument
85 this.expected = expected; in CellFontSize()
158 …ect cell font size(" + inputType + ") value got in ." + fileType + " file.", expected, results, 0); in testCellFontSize()
/trunk/test/testcommon/source/org/openoffice/test/common/
H A DGraphicsUtil.java358 public static boolean imageEquals(BufferedImage expected, BufferedImage actual) { in imageEquals() argument
359 if (expected == null || actual == null) in imageEquals()
362 if (expected.getHeight() != actual.getHeight() || expected.getWidth() != actual.getWidth()) in imageEquals()
365 for (int y = 0; y < expected.getHeight(); ++y) { in imageEquals()
366 for (int x = 0; x < expected.getWidth(); ++x) { in imageEquals()
367 if (expected.getRGB(x, y) != actual.getRGB(x, y)) in imageEquals()
383 BufferedImage expected = loadImage(expectedImage), actual = loadImage(actualImage); in imageEquals() local
384 return imageEquals(expected, actual); in imageEquals()
/trunk/main/sc/source/ui/vba/testvba/TestDocuments/logs/unix/
H A DShapes.log58 ITEM Assertion OK : expected Sheets(2).Shapes.Range(1) to contain 1 element, it contains 1
59 ITEM Assertion OK : expected Sheets(2).Shapes.Range(1) to return Sheet2Shape1 got Sheet2Shape1
60 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Sheet2Shape3) to contain 1 element, it contain…
61 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Sheet2Shape3) to return Sheet2Shape3 got Sheet…
62 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Array(3, 1) to contain 2 elements, it contains…
63 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Array(3, 1) to return concated element/shape n…
64 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Array('Sheet2Shape3', 1, 'Sheet2Shape2')) to c…
65 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Array('Sheet2Shape3', 1, 'Sheet2Shape2')) to r…
/trunk/main/sc/source/ui/vba/testvba/TestDocuments/logs/win/
H A DShapes.log58 ITEM Assertion OK : expected Sheets(2).Shapes.Range(1) to contain 1 element, it contains 1
59 ITEM Assertion OK : expected Sheets(2).Shapes.Range(1) to return Sheet2Shape1 got Sheet2Shape1
60 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Sheet2Shape3) to contain 1 element, it contain…
61 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Sheet2Shape3) to return Sheet2Shape3 got Sheet…
62 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Array(3, 1) to contain 2 elements, it contains…
63 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Array(3, 1) to return concated element/shape n…
64 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Array('Sheet2Shape3', 1, 'Sheet2Shape2')) to c…
65 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Array('Sheet2Shape3', 1, 'Sheet2Shape2')) to r…
/trunk/main/sc/source/ui/vba/testvba/TestDocuments-ooo-build/logs/unix/
H A DShapes.log58 ITEM Assertion OK : expected Sheets(2).Shapes.Range(1) to contain 1 element, it contains 1
59 ITEM Assertion OK : expected Sheets(2).Shapes.Range(1) to return Sheet2Shape1 got Sheet2Shape1
60 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Sheet2Shape3) to contain 1 element, it contain…
61 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Sheet2Shape3) to return Sheet2Shape3 got Sheet…
62 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Array(3, 1) to contain 2 elements, it contains…
63 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Array(3, 1) to return concated element/shape n…
64 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Array('Sheet2Shape3', 1, 'Sheet2Shape2')) to c…
65 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Array('Sheet2Shape3', 1, 'Sheet2Shape2')) to r…
H A DFinancialFuncTests.log21 IRR test Failed: expected 35.8625323270733 got 35.8625323273411
22 NPer test Failed: expected 21.5365977313406 got 21.5365977313408
23 NPV test Failed: expected 3874.42183648785 got 3874.42183648784
24 Pmt test Failed: expected 20276.3942884139 got 20276.3942884138
25 Rate test Failed: expected 4.67819164224935E-02 got 4.67819164225E-02
/trunk/main/sc/source/ui/vba/testvba/TestDocuments-ooo-build/logs/win/
H A DShapes.log58 ITEM Assertion OK : expected Sheets(2).Shapes.Range(1) to contain 1 element, it contains 1
59 ITEM Assertion OK : expected Sheets(2).Shapes.Range(1) to return Sheet2Shape1 got Sheet2Shape1
60 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Sheet2Shape3) to contain 1 element, it contain…
61 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Sheet2Shape3) to return Sheet2Shape3 got Sheet…
62 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Array(3, 1) to contain 2 elements, it contains…
63 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Array(3, 1) to return concated element/shape n…
64 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Array('Sheet2Shape3', 1, 'Sheet2Shape2')) to c…
65 …ITEM Assertion OK : expected Sheets(2).Shapes.Range(Array('Sheet2Shape3', 1, 'Sheet2Shape2')) to r…
/trunk/main/javaunohelper/test/com/sun/star/lib/uno/helper/
H A DUnoUrlTest.java45 private void assertEquals(String expected, String actual) { in assertEquals() argument
46 if (!expected.equals(actual)) { in assertEquals()
47 fail("Expected: '"+ expected + "' but was: '"+actual+"'"); in assertEquals()
51 private void assertEquals(int expected, int actual) { in assertEquals() argument
52 if (expected != actual) { in assertEquals()
53 fail("Expected: "+ expected + " but was: "+actual); in assertEquals()
/trunk/test/testuno/source/fvt/uno/sc/formula/
H A DAddtionOperatorInFormula.java57 private double expected; field in AddtionOperatorInFormula
73 public AddtionOperatorInFormula(double expected, double[] inputData) { in AddtionOperatorInFormula() argument
75 this.expected = expected; in AddtionOperatorInFormula()
121 assertEquals("Unexpected calculate result.", expected, cellvalue, 0); in testAddtion()

Completed in 110 milliseconds

1234567