Aha! On 1/19/07, P T Withington <[EMAIL PROTECTED]> wrote:
Because I wrote a test to test the debugger formatted output! On 2007-01-19, at 07:58 EST, Henry Minsky wrote: > I'm confused, how did changing the debug printing format for > objects affect > the values compared in the smoketest? > > On 1/19/07, P T Withington <[EMAIL PROTECTED]> wrote: >> >> I hope so! >> >> Er, I changed the semantics of %w to be 'prettier' by default. I >> don't know what I was thinking, to not even run the smoketest. I >> will update the test. Unless anyone thinks the semantic change is >> bad? The primary change is that '%w' no longer prints object-id's. >> You can force an object-id (for objects, or for any value whose >> representation is not unique, such as a string that is truncated due >> to formattting) by using %#w. The purpose of this change is to make >> it easier to compare debugging traces from one run to another. I >> used it to sort out the event deferral issues. >> >> The one other change I made is that '%w' now prints a string in >> quotes by default, so that the representation of booleans, numbers >> and strings are distinct (e.g., `true` vs. `'true'` or `123` vs. >> `'123'`). >> >> If anyone feels these changes are undesirable, speak now... >> >> On 2007-01-18, at 20:03 EST, Benjamin Shine wrote: >> >> > >> > I tracked this issue to r3371. which is a change from Tucker. >> > Filed as http://www.openlaszlo.org/jira/browse/LPP-3447 >> > ...which is a P0 cuz it fails smoke >> > I suspect Tucker will have a quick fix for this. >> > >> > On Jan 18, 2007, at 4:31 PM, Benjamin Shine wrote: >> > >> >> Lots of errors in legals smokecheck. Henry and Max, is it either >> >> of you? >> >> >> >> http://localhost:8080/legals/test/smoke/smokecheck.lzx?lzr=swf7 >> >> and >> >> http://localhost:8080/legals/test/smoke/smokecheck.lzx?lzr=dhtml >> >> both fail, like this: >> >> >> >> DEBUG: LzNode.__LZhenryWasRight = true >> >> ERROR: couldn't find dataset for "http:/root" >> >> ERROR: couldn't find dataset for "http2:/root/child" >> >> ActionScriptSemantics: 11 tests skipped for runtime swf7 >> >> ERROR: Expected: expected false got true >> >> ERROR: Expected: expected false got 1 >> >> ERROR: Expected: expected false got "1" >> >> ERROR: Expected: expected false got "1492" >> >> ERROR: Expected: expected false got «Array(0)#9| []» >> >> ERROR: Expected: expected false got «Object#11| {}» >> >> ERROR: Expected: expected true got false >> >> ERROR: Expected: expected true got null >> >> ERROR: Expected: expected true got 0 >> >> ERROR: Expected: expected true got "" >> >> ERROR: Expected: expected true got «undefined» >> >> ERROR: Expected: expected true got NaN >> >> ERROR: Expected: expected null got "null" >> >> ERROR: Expected: expected "undefined" got «undefined» >> >> ERROR: Expected: expected NaN got 0 >> >> ERROR: Expected: expected 1 got "one" >> >> ERROR: Expected: expected 1 got "true" >> >> ERROR: Expected: expected "true" got "1" >> >> ERROR: Expected: expected "0±0.01" got 0.1 >> >> ERROR: Expected: expected "0±1.79769313486231e+308" got Infinity >> >> ERROR: Expected: expected "0±0" got 1e-307 >> >> ERROR: Expected: expected anything but «undefined» got >> «undefined» >> >> ERROR: Expected: expected anything but null got null >> >> ERROR: Expected: expected anything but 1 got 1 >> >> ERROR: Expected: expected anything but Infinity got Infinity >> >> ERROR: Expected: expected anything but 0 got 0 >> >> ERROR: Expected: expected anything but true got true >> >> ERROR: Expected: expected NaN got Infinity >> >> ERROR: Expected: expected Infinity got NaN >> >> ERROR: Expected: expected "" got " " >> >> ERROR: Expected: expected true got false >> >> ERROR: Expected: expected «Object#38| {zot: qux}» got «Object#39| >> >> {zot: qux}» >> >> ERROR: Expected: expected "non-null value" got null >> >> ERROR: Expected: expected null got "" >> >> ERROR: Expected: expected null got «Array(0)#43| []» >> >> ERROR: Expected: expected null got «Object#45| {}» >> >> ERROR: Expected: expected "defined value" got «undefined» >> >> ERROR: Expected: expected "undefined value" got "" >> >> ERROR: Expected: expected "undefined value" got «Array(0)#49| []» >> >> ERROR: Expected: expected "undefined value" got «Object#51| {}» >> >> Expected error: testing: 1, 2, 3 >> >> WARNING: This is a test >> >> Expected error: This is a test >> >> Expected error: This is an intentional error >> >> ERROR: Equals: expected "Hello Laszlo!" got «debugger/ >> >> LzMessage.lzs#19/17#55(15)#54| "\"Hello Laszlo!\""» >> >> ERROR: Equals: expected " Hello Laszlo!" got >> >> «debugger/LzMessage.lzs#19/17#55(30)#57| " \"Hello >> >> Laszlo!\""» >> >> ERROR: Equals: expected "Hello Laszlo!" got «debugger/ >> >> LzMessage.lzs#19/17#55(15)#59| "\"Hello Laszlo!\""» >> >> ERROR: Equals: expected "Hello Laszlo! " got >> >> «debugger/LzMessage.lzs#19/17#55(30)#61| "\"Hello Laszlo! >> >> \" "» >> >> ERROR: Equals: expected "\"String\", with \'\\\' escapes" got >> >> «debugger/LzMessage.lzs#19/17#55(33)#65| "\"\\\"String\\\", >> with \\ >> >> \'\\\\\\\' escapes\""» >> >> ERROR: Equals: expected " \"String\", with \'\\\' escapes" got >> >> «debugger/LzMessage.lzs#19/17#55(33)#67| "\"\\\"String\\\", >> with \\ >> >> \'\\\\\\\' escapes\""» >> >> ERROR: Equals: expected "\"String\", with \'\\\' escapes" got >> >> «debugger/LzMessage.lzs#19/17#55(33)#69| "\"\\\"String\\\", >> with \\ >> >> \'\\\\\\\' escapes\""» >> >> ERROR: Equals: expected "\"String\", with \'\\\' escapes " got >> >> «debugger/LzMessage.lzs#19/17#55(33)#71| "\"\\\"String\\\", >> with \\ >> >> \'\\\\\\\' escapes\""» >> >> ERROR: Equals: expected "3.141592653589" got «debugger/ >> >> LzMessage.lzs#19/17#55(16)#74| "3.14159265358979"» >> >> ERROR: Equals: expected "3.141" got «debugger/ >> >> LzMessage.lzs#19/17#55(7)#76| "3.14159"» >> >> ERROR: Equals: expected " 3.141592653589" got >> >> «debugger/LzMessage.lzs#19/17#55(30)#78| " >> >> 3.14159265358979"» >> >> ERROR: Equals: expected " 3.141" got >> >> «debugger/LzMessage.lzs#19/17#55(30)#80| " >> >> 3.14159"» >> >> ERROR: Equals: expected "3.141592653589" got «debugger/ >> >> LzMessage.lzs#19/17#55(16)#82| "3.14159265358979"» >> >> ERROR: Equals: expected "3.141" got «debugger/ >> >> LzMessage.lzs#19/17#55(7)#84| "3.14159"» >> >> ERROR: Equals: expected "3.141592653589 " got >> >> «debugger/LzMessage.lzs#19/17#55(30)#86| >> >> "3.14159265358979 "» >> >> ERROR: Equals: expected "3.141 " got >> >> «debugger/LzMessage.lzs#19/17#55(30)#88| >> >> "3.14159 "» >> >> expect: couldn't find dataset for http2:/root/child >> >> expect: couldn't find dataset for http:/root >> >> >> >> >> >> >> >> >> >> >> > >> >> >> > > > -- > Henry Minsky > Software Architect > [EMAIL PROTECTED]
-- Henry Minsky Software Architect [EMAIL PROTECTED]
