BasicFunctionTest.java (2e4d2335) | BasicFunctionTest.java (f9b06548) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 691 unchanged lines hidden (view full) --- 700 typeKeys(sourceNumber); 701 typeKeys("<enter>"); 702 // Insert a function via Function Wizard Dialog: ABS 703 SCTool.selectRange("B1"); 704 app.dispatch(".uno:FunctionDialog"); 705 // SC_FunctionWizardDlg_FunctionList.doubleClick(5, 5); 706 scFunctionWizardDlgFunctionList.select("ABS"); 707 scFunctionWizardDlgNext.click(); // Use "Next" button | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 691 unchanged lines hidden (view full) --- 700 typeKeys(sourceNumber); 701 typeKeys("<enter>"); 702 // Insert a function via Function Wizard Dialog: ABS 703 SCTool.selectRange("B1"); 704 app.dispatch(".uno:FunctionDialog"); 705 // SC_FunctionWizardDlg_FunctionList.doubleClick(5, 5); 706 scFunctionWizardDlgFunctionList.select("ABS"); 707 scFunctionWizardDlgNext.click(); // Use "Next" button |
708 scFunctionWizardDlgEdit1.inputKeys("A1"); | 708 scFunctionWizardDlgEdit1.typeKeys("A1"); |
709 scFunctionWizardDlg.ok(); 710 // Verify if the calculated result is equal to the expected result 711 assertEquals("The calculated result", expectedResult, SCTool.getCellText("B1")); 712 discard(); 713 } 714} | 709 scFunctionWizardDlg.ok(); 710 // Verify if the calculated result is equal to the expected result 711 assertEquals("The calculated result", expectedResult, SCTool.getCellText("B1")); 712 discard(); 713 } 714} |