IWBN to make some additional checks in that test, like that $mobile also sets $dhtml, etc.
On 2011-01-12, at 17:38, [email protected] wrote: > Author: hqm > Date: 2011-01-12 14:38:14 -0800 (Wed, 12 Jan 2011) > New Revision: 18249 > > Modified: > openlaszlo/trunk/test/smoke/compiler.lzl > Log: > Change hqm-20110112-W7l by [email protected] on 2011-01-12 17:36:49 EST > in /Users/hqm/openlaszlo/trunk-diamond > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: make smokecheck pass for mobile runtime > > New Features: > > Bugs Fixed: > > Technical Reviewer: ptw > QA Reviewer: (pending) > Doc Reviewer: (pending) > > Documentation: > > Release Notes: > > Overview: > > make the test > > $mobile implies runtime==mobile > > ($dhtml && !$mobile) implies runtime==dhtml > > > Details: > > > Tests: > smokecheck passes in mobile runtime, dhtml runtime > > > > Modified: openlaszlo/trunk/test/smoke/compiler.lzl > =================================================================== > --- openlaszlo/trunk/test/smoke/compiler.lzl 2011-01-12 22:27:11 UTC (rev > 18248) > +++ openlaszlo/trunk/test/smoke/compiler.lzl 2011-01-12 22:38:14 UTC (rev > 18249) > @@ -2,7 +2,7 @@ > Compiler Tests > --> > <!-- * X_LZ_COPYRIGHT_BEGIN > *************************************************** > - * Copyright 2001-2010 Laszlo Systems, Inc. All Rights Reserved. > * > + * Copyright 2001-2011 Laszlo Systems, Inc. All Rights Reserved. > * > * Use is subject to license terms. > * > * X_LZ_COPYRIGHT_END > ****************************************************** --> > > @@ -113,7 +113,10 @@ > if ($swf9) { > assertEquals('swf9', $runtime, "Compile-time constant"); > } else > - if ($dhtml) { > + if ($mobile) { > + assertEquals('mobile', $runtime, "Compile-time constant"); > + } else > + if ($dhtml && !$mobile) { > assertEquals('dhtml', $runtime, "Compile-time constant"); > } else > if ($swf10) { > > > _______________________________________________ > Laszlo-checkins mailing list > [email protected] > http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins
