Fix typos
Change-Id: I20ad6ae358a0777eef0070f056e97eade9111b32 Reviewed-on: https://gerrit.libreoffice.org/77301 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
d9b54924fb
commit
bf372bf9bd
@@ -95,7 +95,7 @@ void ScCellFieldsObj::setUp()
|
||||
{
|
||||
CalcUnoApiTest::setUp();
|
||||
m_xComponent = loadFromDesktop("private:factory/scalc");
|
||||
CPPUNIT_ASSERT_MESSAGE("no compoment", m_xComponent.is());
|
||||
CPPUNIT_ASSERT_MESSAGE("no component", m_xComponent.is());
|
||||
}
|
||||
|
||||
void ScCellFieldsObj::tearDown()
|
||||
|
||||
@@ -130,7 +130,7 @@ public:
|
||||
CPPUNIT_TEST(testSetDataArrayOnTableSheet);
|
||||
|
||||
// XCellRangeFormula
|
||||
#if 0 // disable, because it makes no sense to set an FormulaArray over the whole sheet
|
||||
#if 0 // disable, because it makes no sense to set a FormulaArray over the whole sheet
|
||||
CPPUNIT_TEST(testGetSetFormulaArray);
|
||||
#endif
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ class tdf94208(UITestCase):
|
||||
#2 - Select rows three though eight.
|
||||
gridwin.executeAction("SELECT", mkPropertyValues({"RANGE": "A3:A8"}))
|
||||
self.xUITest.executeCommand(".uno:SelectRow")
|
||||
#3 - type Control-D/Fill Dow
|
||||
#3 - type Control-D/Fill Down
|
||||
self.xUITest.executeCommand(".uno:FillDown")
|
||||
#4 - undo.
|
||||
self.xUITest.executeCommand(".uno:Undo")
|
||||
@@ -49,4 +49,4 @@ class tdf94208(UITestCase):
|
||||
|
||||
self.ui_test.close_doc()
|
||||
|
||||
# vim: set shiftwidth=4 softtabstop=4 expandtab:
|
||||
# vim: set shiftwidth=4 softtabstop=4 expandtab:
|
||||
|
||||
@@ -25,7 +25,7 @@ class tdf31805(UITestCase):
|
||||
document = self.ui_test.get_component()
|
||||
#1. open "sample.ods"
|
||||
#2. click 'G1'
|
||||
#3. Menu 'edit -> Celete Cell - Delete entire Column'
|
||||
#3. Menu 'edit -> Delete Cell - Delete entire Column'
|
||||
#expected: Column with cell containing "g" will be deleted,
|
||||
# a merged cell range will remainlect row 1
|
||||
|
||||
|
||||
@@ -2226,7 +2226,7 @@
|
||||
<table:table-cell table:style-name="ce16"/>
|
||||
<table:table-cell table:style-name="ce23"/>
|
||||
<table:table-cell table:style-name="ce26" office:value-type="string" calcext:value-type="string">
|
||||
<text:p>COLOR <text:s/>Return a numeric value calculated by a combination of three colors (red, green and blue) and the alpha channel, in the RGBA color system.The result depends on the color system used by your computer. Syntax <text:s/>COLOR(Red; Green; Blue; Alpha) <text:s/>Red, Green and Blue – required arguments. The value for the red, green and blue components of the color. The values must be between 0 and 255. Zero means no color component and 255 means full color component. <text:s/>Alpha – optional argument. The value for the alpha channel or alpha composite. Alpha is a integer value between 0 and 255. The value of zero for alpha means the color is fully transparent, whereas a value of 255 in the alpha channel gives a fully opaque color.</text:p>
|
||||
<text:p>COLOR <text:s/>Return a numeric value calculated by a combination of three colors (red, green and blue) and the alpha channel, in the RGBA color system.The result depends on the color system used by your computer. Syntax <text:s/>COLOR(Red; Green; Blue; Alpha) <text:s/>Red, Green and Blue – required arguments. The value for the red, green and blue components of the color. The values must be between 0 and 255. Zero means no color component and 255 means full color component. <text:s/>Alpha – optional argument. The value for the alpha channel or alpha composite. Alpha is an integer value between 0 and 255. The value of zero for alpha means the color is fully transparent, whereas a value of 255 in the alpha channel gives a fully opaque color.</text:p>
|
||||
</table:table-cell>
|
||||
<table:table-cell table:number-columns-repeated="10"/>
|
||||
</table:table-row>
|
||||
|
||||
@@ -574,7 +574,7 @@ void ScParallelismTest::testFormulaGroupSpanEval()
|
||||
|
||||
m_pDoc->SetAutoCalc(true);
|
||||
|
||||
// EnsureFormulaCellResults should only calculate the sepecified range along with the dependent spans recursively and nothing more.
|
||||
// EnsureFormulaCellResults should only calculate the specified range along with the dependent spans recursively and nothing more.
|
||||
// The specified range is A99:A1124, and the dependent range is B99:B1125 (since A99 = SUM(B99:B100) and A1124 = SUM(B1124:B1125) )
|
||||
bool bAnyDirty = m_pDoc->EnsureFormulaCellResults(ScRange(0, nSpanStart, 0, 0, nSpanEnd, 0));
|
||||
CPPUNIT_ASSERT(bAnyDirty);
|
||||
|
||||
@@ -247,7 +247,7 @@ void ScPivotTableFiltersTest::testPivotTableBasicODS()
|
||||
pDPs->GetCount());
|
||||
|
||||
const ScDPObject* pDPObj = &(*pDPs)[0];
|
||||
CPPUNIT_ASSERT_MESSAGE("Failed to get an pivot table object.", pDPObj);
|
||||
CPPUNIT_ASSERT_MESSAGE("Failed to get a pivot table object.", pDPObj);
|
||||
const ScDPSaveData* pSaveData = pDPObj->GetSaveData();
|
||||
CPPUNIT_ASSERT_MESSAGE("Failed to get ScDPSaveData instance.", pSaveData);
|
||||
std::vector<const ScDPSaveDimension*> aDims;
|
||||
@@ -716,7 +716,7 @@ void ScPivotTableFiltersTest::testTdf112501()
|
||||
// Check first pivot table popup buttons (compact)
|
||||
{
|
||||
const ScDPObject* pDPObj = &(*pDPs)[0];
|
||||
CPPUNIT_ASSERT_MESSAGE("Failed to get an pivot table object.", pDPObj);
|
||||
CPPUNIT_ASSERT_MESSAGE("Failed to get a pivot table object.", pDPObj);
|
||||
// Check whether we have the buttons at the right buttons
|
||||
// Row button
|
||||
{
|
||||
@@ -744,7 +744,7 @@ void ScPivotTableFiltersTest::testTdf112501()
|
||||
// Check first pivot table popup buttons (not compact)
|
||||
{
|
||||
const ScDPObject* pDPObj = &(*pDPs)[1];
|
||||
CPPUNIT_ASSERT_MESSAGE("Failed to get an pivot table object.", pDPObj);
|
||||
CPPUNIT_ASSERT_MESSAGE("Failed to get a pivot table object.", pDPObj);
|
||||
// Check whether we have the buttons at the right buttons
|
||||
// Two row buttons
|
||||
{
|
||||
@@ -1035,7 +1035,7 @@ void ScPivotTableFiltersTest::testPivotCacheExportXLSX()
|
||||
"containsDate", "1");
|
||||
assertXPath(pCacheDef, "/x:pivotCacheDefinition/x:cacheFields/x:cacheField[5]/x:sharedItems",
|
||||
"containsString", "0");
|
||||
//TODO Date generator in tests are one day higher, than during standard xlsx export. It should be: minDate="1899-12-31T00:00:00" maxDate="2009-07-06T10:53:02"
|
||||
//TODO: date generator in tests are one day higher, than during standard xlsx export. It should be: minDate="1899-12-31T00:00:00" maxDate="2009-07-06T10:53:02"
|
||||
assertXPath(pCacheDef, "/x:pivotCacheDefinition/x:cacheFields/x:cacheField[5]/x:sharedItems",
|
||||
"minDate", "1900-01-01T00:00:00");
|
||||
assertXPath(pCacheDef, "/x:pivotCacheDefinition/x:cacheFields/x:cacheField[5]/x:sharedItems",
|
||||
@@ -1412,7 +1412,7 @@ void ScPivotTableFiltersTest::testPivotTableRowHeaderXLS()
|
||||
// First table has extra row header
|
||||
{
|
||||
const ScDPObject* pDPObj = &(*pDPs)[0];
|
||||
CPPUNIT_ASSERT_MESSAGE("Failed to get an pivot table object.", pDPObj);
|
||||
CPPUNIT_ASSERT_MESSAGE("Failed to get a pivot table object.", pDPObj);
|
||||
CPPUNIT_ASSERT(pDPObj->GetHeaderLayout());
|
||||
// Check whether the row header has the right popupbutton flag
|
||||
const ScPatternAttr* pPattern = rDoc.GetPattern(3, 3, 0);
|
||||
@@ -1424,7 +1424,7 @@ void ScPivotTableFiltersTest::testPivotTableRowHeaderXLS()
|
||||
// Second table has no extra row header
|
||||
{
|
||||
const ScDPObject* pDPObj = &(*pDPs)[1];
|
||||
CPPUNIT_ASSERT_MESSAGE("Failed to get an pivot table object.", pDPObj);
|
||||
CPPUNIT_ASSERT_MESSAGE("Failed to get a pivot table object.", pDPObj);
|
||||
CPPUNIT_ASSERT(!pDPObj->GetHeaderLayout());
|
||||
// Check whether the row header has the right popupbutton flag
|
||||
const ScPatternAttr* pPattern = rDoc.GetPattern(0, 2, 0);
|
||||
@@ -1445,7 +1445,7 @@ void ScPivotTableFiltersTest::testPivotTableRowHeaderXLS()
|
||||
// First table has extra row header
|
||||
{
|
||||
const ScDPObject* pDPObj = &(*pDPs)[0];
|
||||
CPPUNIT_ASSERT_MESSAGE("Failed to get an pivot table object.", pDPObj);
|
||||
CPPUNIT_ASSERT_MESSAGE("Failed to get a pivot table object.", pDPObj);
|
||||
CPPUNIT_ASSERT(pDPObj->GetHeaderLayout());
|
||||
// Check whether the row header has the right popupbutton flag
|
||||
const ScPatternAttr* pPattern = rLoadedDoc.GetPattern(3, 3, 0);
|
||||
@@ -1457,7 +1457,7 @@ void ScPivotTableFiltersTest::testPivotTableRowHeaderXLS()
|
||||
// Second table has no extra row header
|
||||
{
|
||||
const ScDPObject* pDPObj = &(*pDPs)[1];
|
||||
CPPUNIT_ASSERT_MESSAGE("Failed to get an pivot table object.", pDPObj);
|
||||
CPPUNIT_ASSERT_MESSAGE("Failed to get a pivot table object.", pDPObj);
|
||||
CPPUNIT_ASSERT(!pDPObj->GetHeaderLayout());
|
||||
// Check whether the row header has the right popupbutton flag
|
||||
const ScPatternAttr* pPattern = rLoadedDoc.GetPattern(0, 2, 0);
|
||||
|
||||
@@ -453,7 +453,7 @@ void ScExportTest::test()
|
||||
|
||||
void ScExportTest::testTdf111876()
|
||||
{
|
||||
// DOcument with relative path hyperlink
|
||||
// Document with relative path hyperlink
|
||||
|
||||
ScDocShellRef xShell = loadDoc("tdf111876.", FORMAT_XLSX);
|
||||
CPPUNIT_ASSERT(xShell.is());
|
||||
@@ -1147,7 +1147,7 @@ void ScExportTest::testOutlineExportXLSX()
|
||||
assertXPath(pSheet, "/x:worksheet/x:sheetData/x:row[8]", "hidden", "true");
|
||||
assertXPath(pSheet, "/x:worksheet/x:sheetData/x:row[8]", "outlineLevel", "4");
|
||||
assertXPath(pSheet, "/x:worksheet/x:sheetData/x:row[8]", "collapsed", "false");
|
||||
// Next rows are the same as the previous one but it needs to bre preserved,
|
||||
// Next rows are the same as the previous one but it needs to be preserved,
|
||||
// as they contain information about outlineLevel
|
||||
assertXPath(pSheet, "/x:worksheet/x:sheetData/x:row[20]", "r", "21");
|
||||
assertXPath(pSheet, "/x:worksheet/x:sheetData/x:row[20]", "hidden", "true");
|
||||
|
||||
@@ -2525,7 +2525,7 @@ void ScFiltersTest::testOrcusODSStyleInterface()
|
||||
ScDocument aDoc;
|
||||
OUString aFullUrl = m_directories.getURLFromSrc("sc/qa/unit/data/xml/styles.xml");
|
||||
|
||||
/* This loop below trims file:// from the start because orcus doesn't accept such a url */
|
||||
/* This loop below trims file:// from the start because orcus doesn't accept such a URL */
|
||||
OUString aValidPath;
|
||||
osl::FileBase::getSystemPathFromFileURL(aFullUrl, aValidPath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user