update test to reflect support for scriptWarningMessage and scriptInfoMessage

This commit is contained in:
humbletim 2017-05-04 17:46:28 -04:00
parent 6cb95b2393
commit deeb9c367a

View file

@ -14,15 +14,12 @@ function main() {
// note: these trigger the equivalent of an emit
Script.printedMessage('[Script.printedMessage] hello world', '{filename}');
Script.infoMessage('[Script.infoMessage] hello world', '{filename}');
Script.warningMessage('[Script.warningMessage] hello world', '{filename}');
Script.errorMessage('[Script.errorMessage] hello world', '{filename}');
{
// FIXME: while not directly related to Script.print, these currently don't
// show up at all in the "HMD-friendly script log" or "Console..."
Script.infoMessage('[Script.infoMessage] hello world', '{filename}');
Script.warningMessage('[Script.warningMessage] hello world', '{filename}');
// FIXME: these only show up in the application debug log
Vec3.print('[Vec3.print]', Vec3.HALF);
var q = Quat.fromPitchYawRollDegrees(45, 45, 45);