Home
last modified time | relevance | path

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

123456

/AOO41X/main/qadevOOo/tests/java/ifc/configuration/backend/
H A D_XLayerHandler.java217 String expected = "startLayer();" + ls; in getExpected() local
218 expected += ("overrideNode(org.openoffice.Setup,0,false);" + ls); in getExpected()
219 expected += ("overrideNode(Office,0,false);" + ls); in getExpected()
220 expected += ("overrideProperty(ooSetupInstCompleted,0,Type[string],false);" + ls); in getExpected()
221 expected += ("setPropertyValue(false);" + ls); in getExpected()
222 expected += ("endProperty();" + ls); in getExpected()
223 expected += ("overrideProperty(ooSetupShowIntro,0,Type[string],false);" + ls); in getExpected()
224 expected += ("setPropertyValue(true);" + ls); in getExpected()
225 expected += ("endProperty();" + ls); in getExpected()
226 expected += ("overrideProperty(ooSetupLocales,0,Type[string],false);" + ls); in getExpected()
[all …]
/AOO41X/main/qadevOOo/runner/complexlib/
H A DAssurance.java71 protected void assureEquals( boolean expected, boolean actual ) { in assureEquals() argument
72 assureEquals( "Equality test failed", expected, new Boolean( actual ), false ); in assureEquals()
81 protected void assureEquals( String message, 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
91 assureEquals( "Equality test failed", new Byte( expected ), new Byte( actual ), false ); in assureEquals()
100 protected void assureEquals( String message, byte expected, byte actual ) { in assureEquals() argument
101 assureEquals( message, new Byte( expected ), new Byte( actual ), false ); in assureEquals()
109 protected void assureEquals( double expected, double actual ) { in assureEquals() argument
110 assureEquals( "Equality test failed", new Double( expected ), new Double( actual ), false ); in assureEquals()
[all …]
/AOO41X/main/qadevOOo/tests/java/ifc/sheet/
H A D_XCellRangesQuery.java63 String expected = ""; field in _XCellRangesQuery
132 expected = mExpectedResults[QUERYCOLUMNDIFFERENCES]; in _queryColumnDifferences()
134 if (!getting.startsWith(expected)) { in _queryColumnDifferences()
136 log.println("Should have started with: " + expected); in _queryColumnDifferences()
153 expected = mExpectedResults[QUERYCONTENTCELLS]; in _queryContentCells()
155 if (!getting.startsWith(expected)) { in _queryContentCells()
157 log.println("Should have started with: " + expected); in _queryContentCells()
171 expected = mExpectedResults[QUERYEMPTYCELLS]; in _queryEmptyCells()
179 endIndex = expected.indexOf(" ... ", startIndex); in _queryEmptyCells()
181 checkString = expected.substring(startIndex); in _queryEmptyCells()
[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()
/AOO41X/main/scripting/workben/ifc/scripting/
H A D_XScriptInfo.java68 String expected = testdata.get("expected"); in _getLogicalName() local
75 log.println("expected: " + expected + ", output: " + output); in _getLogicalName()
76 result &= output.equals(expected); in _getLogicalName()
99 String expected = testdata.get("expected"); in _getParcelURI() local
106 log.println("expected: " + expected + ", output: " + output); in _getParcelURI()
107 result &= output.endsWith(expected); in _getParcelURI()
129 String expected = testdata.get("expected"); in _getLanguage() local
136 log.println("expected: " + expected + ", output: " + output); in _getLanguage()
137 result &= output.equals(expected); in _getLanguage()
159 String expected = testdata.get("expected"); in _getFunctionName() local
[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()
/AOO41X/main/sfx2/qa/complex/sfx2/
H A DGlobalEventBroadcaster.java107 String[] expected; in checkWriter() local
113 expected = new String[] { "OnUnfocus", "OnCreate", "OnViewCreated", "OnFocus" }; in checkWriter()
116 proveExpectation(expected)); in checkWriter()
123 expected = new String[] { "OnModifyChanged" }; in checkWriter()
126 proveExpectation(expected)); in checkWriter()
134 expected = new String[] { "OnUnfocus", "OnFocus", "OnViewClosed", "OnUnload" }; in checkWriter()
137 proveExpectation(expected)); in checkWriter()
146expected = new String[] { "OnUnfocus", "OnCreate", "OnViewCreated", "OnFocus", "OnUnfocus", "OnVie… in checkWriter()
149 proveExpectation(expected)); in checkWriter()
158expected = new String[] { "OnViewClosed", "OnUnfocus", "OnFocus", "OnViewClosed", "OnUnload" }; in checkWriter()
[all …]
/AOO41X/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
10 …g=true;dialog=true;checkbox=false;buttonName=Do Not Run;checkpath=false;expected=com.sun.star.secu…
[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
H A DScriptStorage.csv1 _getScriptLogicalNames;description=Try to get logical names;expected=MemoryUtils.MemUsage
2 …lementation;logicalname=script://MemoryUtils.MemUsage?location=document;expected=MemoryUtils.MemUs…
3 …o get all valid implementations;location=doc_with_beanshell_scripts.sxw;expected=returns-Integer,r…
4 _refresh;description=Try calling refresh;expected=success
/AOO41X/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()
187 expected[1][1] = secondaryAxes[1]; in testCreateXYAxes()
192 expected[1][0] = false; in testCreateXYAxes()
193 if (expected[1][1]) { in testCreateXYAxes()
194 expected[1][0] = true; in testCreateXYAxes()
212 … assertArrayEquals("Incorrect chart grids got in ." + fileType + " file.", expected, results); in testCreateXYAxes()
230 Boolean[][] expected = { in testCreateXYZAxes() local
[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()
203 … assertArrayEquals("Incorrect chart grids got in ." + fileType + " file.", expected, results); 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()
[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()
H A DChartMeanValueLine.java57 private Boolean expected; field in ChartMeanValueLine
90 …public ChartMeanValueLine(Boolean expected, Boolean meanValueLine, String inputType, double[][] nu… in ChartMeanValueLine() argument
91 this.expected = expected; in ChartMeanValueLine()
168 if (expected) { in testCreateTrendline()
H A DChartTrendline.java57 private ChartRegressionCurveType expected; field in ChartTrendline
93 …public ChartTrendline(ChartRegressionCurveType expected, ChartRegressionCurveType trendlineType, S… in ChartTrendline() argument
94 this.expected = expected; in ChartTrendline()
171 assertEquals("Incorrect chart trendline got in ." + fileType + " file.", expected, result); in testCreateTrendline()
/AOO41X/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()
/AOO41X/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()
H A DCellColor.java57 private int[] expected; field in CellColor
89 public CellColor(int[] expected, String inputType, int[] inputData, String fileType) { in CellColor() argument
90 this.expected = expected; in CellColor()
164 …cell background color(" + inputType + ") value got in ." + fileType + " file.", expected, results); in testCellColor()
H A DCellAlignment.java60 private Enum expected; field in CellAlignment
97 public CellAlignment(Enum expected, String inputType, Enum inputValue, String fileType) { in CellAlignment() argument
98 this.expected = expected; in CellAlignment()
176 …ect cell alignment(" + inputType + ") value got in ." + fileType + " file.", expected, results[i]); in testCellAlignment()
/AOO41X/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()
/AOO41X/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()
/AOO41X/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()

123456