Commit cd6d5e65 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

тесты приведены в рабочее состояние.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@52371 954022d7-b5bf-4e40-9824-e11837661b57
parent efeed4ee
......@@ -56,7 +56,7 @@
var aFormated = expr.format(nArr[i]);
var text = "";
for(var j = 0, length = aFormated.length; j < length; ++j)
text += aFormated[j].t;
text += aFormated[j].text;
strictEqual(text, res[i], "format(\"" + fmtStr + "\", " + nArr[i] + ")");
}
break;
......
......@@ -10,12 +10,18 @@
<link rel="stylesheet" href="qunit/qunit.css" type="text/css" media="screen" />
<script type="text/javascript" src="qunit/qunit.js"></script>
<script type="text/javascript" src="../../OfficeWebCommon/3rdparty/XregExp/xregexp-all.js"></script>
<script type="text/javascript" src="../../Common/3rdparty/XregExp/xregexp-all.js"></script>
<script type="text/javascript" src="../utils/utils.js"></script>
<script type="text/javascript" src="../model/Workbook.js"></script>
<script type="text/javascript" src="../model/parserFormula.js"></script>
<script type="text/javascript" src="../model/NumFormat.js"></script>
<script type="text/javascript" src="../model/WorkbookElems.js"></script>
<script type="text/javascript" src="../model/Serialize.js"></script>
<script type="text/javascript" >
g_oDefaultFontAbs = {};
</script>
<script type="text/javascript" src="../model/FormulaObjects/parserFormula.js"></script>
<script type="text/javascript" src="../../Common/commonDefines.js"></script>
<script type="text/javascript" src="../../Common/NumFormat.js"></script>
<script type="text/javascript" src="CellFormatTests.js"></script>
......
......@@ -10,12 +10,18 @@
<link rel="stylesheet" href="qunit/qunit.css" type="text/css" media="screen" />
<script type="text/javascript" src="qunit/qunit.js"></script>
<script type="text/javascript" src="../../OfficeWebCommon/3rdparty/XregExp/xregexp-all.js"></script>
<script type="text/javascript" src="../../Common/3rdparty/XregExp/xregexp-all.js"></script>
<script type="text/javascript" src="../utils/utils.js"></script>
<script type="text/javascript" src="../model/Workbook.js"></script>
<script type="text/javascript" src="../model/parserFormula.js"></script>
<script type="text/javascript" src="../model/NumFormat.js"></script>
<script type="text/javascript" src="../model/WorkbookElems.js"></script>
<script type="text/javascript" src="../model/Serialize.js"></script>
<script type="text/javascript" >
g_oDefaultFontAbs = {};
</script>
<script type="text/javascript" src="../model/FormulaObjects/parserFormula.js"></script>
<script type="text/javascript" src="../../Common/commonDefines.js"></script>
<script type="text/javascript" src="../../Common/NumFormat.js"></script>
<script type="text/javascript" src="testsForFWB.html.js"></script>
......
......@@ -4,7 +4,7 @@
var res = "";
for(var i = 0, length = aFormated.length; i < length; i++)
{
res += aFormated[i].t;
res += aFormated[i].text;
}
return res;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment