From 9fca356705bdef4ad3aa8c80cdfea4535a3c4bd2 Mon Sep 17 00:00:00 2001 From: Andrew n marshall Date: Mon, 9 Jan 2017 15:52:14 -0800 Subject: [PATCH] Improvements to the generator test framework. --- tests/generators/index.html | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/tests/generators/index.html b/tests/generators/index.html index 3ffc60689..3f905b698 100644 --- a/tests/generators/index.html +++ b/tests/generators/index.html @@ -147,7 +147,7 @@ function setOutput(text) { } function toXml() { - var xmlDom = Blockly.Xml.workspaceToDom(workspace); + var xmlDom = Blockly.Xml.workspaceToDom(workspace, /* opt_noId */ true); var xmlText = Blockly.Xml.domToPrettyText(xmlDom); xmlText = xmlText.replace(/ id="\d+"/g, ''); setOutput(xmlText); @@ -238,6 +238,7 @@ h1 { + @@ -307,6 +308,8 @@ h1 {

Blockly Generator Tests

+

See the docs for details on running the tests. +

- - - - - +

+ +
interpreter +
+
+ +
interpreter +
+
+ +
interpreter +
+
+ +
interpreter +
+
+ +
interpreter +