Permalink
Browse files

git-svn-id: https://flexapps.svn.sourceforge.net/svnroot/flexapps/cen…

…sus2@655 381d3abc-5231-0410-a0e4-b068e20cbb11
  • Loading branch information...
1 parent 6a1ac3b commit c1683e7b414cbbfe7311f0918b3ec969ae09dda0 jlward4 committed Jun 9, 2010
Showing with 80 additions and 76 deletions.
  1. +8 −6 client/src/census2.mxml
  2. BIN server/WebContent/census2.swf
  3. +72 −70 server/WebContent/tests.xml
View
@@ -93,7 +93,7 @@
{
result[resultType] = resultValue;
- if ((result['requestTime'] != -1) && (result['parseTime'] != -1) && (result['renderTime'] != -1) && (result['contentLength'] != -1))
+ if ( (!isNaN(result['requestTime'])) && (!isNaN(result['parseTime'])) && (!isNaN(result['renderTime'])) && (!isNaN(result['contentLength'])) )
{
// calc transfer time
//updateResult(testId, "transferTime", result['requestTime'] - result['totalServerTime']);
@@ -125,6 +125,8 @@
private function startTest(test:Object):void
{
+ cursorManager.removeAllCursors();
+
if (numRows.value > numRows.maximum)
{
numRows.value = numRows.maximum;
@@ -244,11 +246,11 @@
//result.totalServerTime = 0;
//result.transferTime = 0;
//result.totalServerTime = 0;
- result.requestTime = -1;
- result.parseTime = -1;
- result.renderTime = -1;
- result.contentLength = -1;
- result.memorySize = -1;
+ result.requestTime = NaN;
+ result.parseTime = NaN;
+ result.renderTime = NaN;
+ result.contentLength = NaN;
+ result.memorySize = NaN;
}
public function selectChartItem(item:Object):void
Binary file not shown.
View
@@ -1,72 +1,74 @@
<tests>
- <test>
- <id>flex_amf3</id>
- <name>Flex AMF3</name>
- <url>http://localhost:8080/census2-tests/flex_amf3.html</url>
- <description>Flex AMF3 Remoting</description>
- </test>
- <test>
- <id>flex_xml_as</id>
- <name>Flex XML AS</name>
- <url>http://localhost:8080/census2-tests/flex_xml_as.html</url>
- <description>Flex XML to AS Objects</description>
- </test>
- <test>
- <id>flex_xml_e4x</id>
- <name>Flex XML E4X</name>
- <url>http://localhost:8080/census2-tests/flex_xml_e4x.html</url>
- <description>Flex XML to E4X</description>
- </test>
- <test>
- <id>flex_soap_as</id>
- <name>Flex SOAP AS</name>
- <url>http://localhost:8080/census2-tests/flex_soap_as.html</url>
- <description>Flex SOAP to AS Objects</description>
- </test>
- <test>
- <id>flex_soap_e4x</id>
- <name>Flex SOAP E4X</name>
- <url>http://localhost:8080/census2-tests/flex_soap_e4x.html</url>
- <description>Flex SOAP to E4X</description>
- </test>
- <!--
- <test>
- <id>ajax_html</id>
- <name>Ajax HTML</name>
- <url>http://localhost:8080/census2-tests/ajax_html.html</url>
- <description>HTML Table via Plain Ajax</description>
- </test>
- <test>
- <id>ajax_json</id>
- <name>Ajax JSON</name>
- <url>http://localhost:8080/census2-tests/ajax_json.html</url>
- <description>HTML Table via Ajax JSON</description>
- </test>
- -->
- <test>
- <id>silverlight_xml</id>
- <name>Silverlight XML</name>
- <url>http://localhost:8080/census2-tests/silverlight_xml.html</url>
- <description>Silverlight via XML</description>
- </test>
- <test>
- <id>smartgwt_rpc</id>
- <name>Smart GWT RPC</name>
- <url>http://localhost:8080/census2-tests/Census2_gwt.html</url>
- <description>Smart GWT via RPC</description>
- </test>
- <test>
- <id>dojo_json</id>
- <name>Dojo JSON</name>
- <url>http://localhost:8080/census2-tests/dojo_json.html</url>
- <description>Dojo Grid via JSON</description>
- </test>
- <!--
- <test>
- <id>flex_amf3_paged</id>
- <name>Flex AMF3 Paged</name>
- <url>http://localhost:8080/census2-tests/flex_amf3.html</url>
- <description>Flex AMF3 w/ Paging</description>
- </test>
- -->
+ <test>
+ <id>flex_amf3</id>
+ <name>Flex AMF3</name>
+ <url>http://localhost:8080/census2-tests/flex_amf3.html</url>
+ <description>Flex AMF3 Remoting</description>
+ </test>
+ <test>
+ <id>flex_xml_as</id>
+ <name>Flex XML AS</name>
+ <url>http://localhost:8080/census2-tests/flex_xml_as.html</url>
+ <description>Flex XML to AS Objects</description>
+ </test>
+ <test>
+ <id>flex_xml_e4x</id>
+ <name>Flex XML E4X</name>
+ <url>http://localhost:8080/census2-tests/flex_xml_e4x.html</url>
+ <description>Flex XML to E4X</description>
+ </test>
+ <test>
+ <id>flex_soap_as</id>
+ <name>Flex SOAP AS</name>
+ <url>http://localhost:8080/census2-tests/flex_soap_as.html</url>
+ <description>Flex SOAP to AS Objects</description>
+ </test>
+ <test>
+ <id>flex_soap_e4x</id>
+ <name>Flex SOAP E4X</name>
+ <url>http://localhost:8080/census2-tests/flex_soap_e4x.html</url>
+ <description>Flex SOAP to E4X</description>
+ </test>
+ <test>
+ <id>ajax_html</id>
+ <name>Ajax HTML</name>
+ <url>http://localhost:8080/census2-tests/ajax_html.html</url>
+ <description>HTML Table via Plain Ajax</description>
+ </test>
+ <test>
+ <id>ajax_json</id>
+ <name>Ajax JSON</name>
+ <url>http://localhost:8080/census2-tests/ajax_json.html</url>
+ <description>HTML Table via Ajax JSON</description>
+ </test>
+ <test>
+ <id>silverlight_xml</id>
+ <name>Silverlight XML</name>
+ <url>http://localhost:8080/census2-tests/silverlight_xml.html</url>
+ <description>Silverlight via XML</description>
+ </test>
+ <test>
+ <id>smartgwt_rpc</id>
+ <name>Smart GWT RPC</name>
+ <url>http://localhost:8080/census2-tests/Census2_gwt.html</url>
+ <description>Smart GWT via RPC</description>
+ </test>
+ <test>
+ <id>dojo_json</id>
+ <name>Dojo JSON</name>
+ <url>http://localhost:8080/census2-tests/dojo_json.html</url>
+ <description>Dojo Grid via JSON</description>
+ </test>
+ <test>
+ <id>html5_datagrid</id>
+ <name>HTML5</name>
+ <url>http://localhost:8080/census2-tests/html5_datagrid.html</url>
+ <description>HTML5 DataGrid</description>
+ </test>
+ <test>
+ <id>flex_amf3_paged</id>
+ <name>Flex AMF3 Paged</name>
+ <url>http://localhost:8080/census2-tests/flex_amf3.html</url>
+ <description>Flex AMF3 w/ Paging</description>
+ </test>
</tests>

0 comments on commit c1683e7

Please sign in to comment.