code-dot-org/blockly — pull request #103 by cpirich (2013-09-26 19:05:26+00:00)
Title: report testResult to server

This is the blockly part of pivotal task #57603648
We now report the testResult value to the service.
Also, I reordered the BlocklyApps.TestResults enum so that the max value is the "best" value.
The service was expecting this for the concept of stars - and this is the replacement for the detail that stars was intended to solve.
All "0 star" results are 0-9, All "1 star" results are "10-19", all "2 star" results are "20-29", and success is now "100". Trying to leave us some room for growth with new test result codes in the future.
part 2 of this change will be submitted as a dashboard pull request