From 618ca8d603bf340f0061aa037a29002f76de5fd9 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Wed, 5 Aug 2009 13:35:25 -0700 Subject: [PATCH] Added Layout to ant builds. Migrated 4 of 7 Layout examples. host query string updates for the remainder of the Button examples. --- build.felix.xml | 48 ++++++++++++++++++++++++++++++++++++++++++-- tests/js/data.js | 6 +++--- tests/js/examples.js | 26 +++++++++++++++--------- tests/js/notes.js | 16 +++++++++++++-- 4 files changed, 79 insertions(+), 17 deletions(-) diff --git a/build.felix.xml b/build.felix.xml index 160af5d..85c412d 100644 --- a/build.felix.xml +++ b/build.felix.xml @@ -273,6 +273,15 @@ + + + + + + + + + @@ -817,11 +826,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + depends="init, utilities, yahoo-dom-event, yahoo, dom, event, connection, dragdrop, animation, element, yuitest, json, treeview, resize, yuitest, selector, cookie, profiler, datasource, tabview, autocomplete, button, calendar, carousel, colorpicker, imagecropper, datatable, logger, menu, paginator, editor, slider, stylesheet, container, layout" /> @@ -833,7 +875,7 @@ depends="init, yahoo_test, animation_test, dd_test, dom_test, selector_test, yuitest_test, connection_test, cookie_test, profiler_test, datasource_test, tabview_test, autocomplete_test, menu_test, slider_test, module_test, config_test, calendar_test, datemath_test, colorpicker_test, paginator_test, json_test" /> + depends="init, core, example_data, autocomplete_examples, connection_examples, event_examples, container_examples, button_examples, layout_examples"/> @@ -850,5 +892,7 @@ + diff --git a/tests/js/data.js b/tests/js/data.js index a6b7f8d..08a76cb 100644 --- a/tests/js/data.js +++ b/tests/js/data.js @@ -56,10 +56,10 @@ YAHOO.namespace('caja').data = { cajoled: true, yuitest: 'test=stylesheet', examples: 0, tests : [0,0,0] }, { module:'resize', status: 'pending', - cajoled: true, yuitest: 'pending', examples: 0, tests : [0,0,0] }, + cajoled: true, yuitest: false, examples: 7, tests : [0,0,0] }, - { module:'layout', status: 'pending', - cajoled: true, yuitest: 'pending', examples: 0, tests : [0,0,0] }, + { module:'layout', status: 'wip', + cajoled: true, yuitest: false, examples: 7, tests : [0,0,0] }, { module:'history', status: 'pending', cajoled: true, yuitest: 'pending', examples: 0, tests : [0,0,0] }, diff --git a/tests/js/examples.js b/tests/js/examples.js index ac12c4e..ed8cc14 100644 --- a/tests/js/examples.js +++ b/tests/js/examples.js @@ -21,17 +21,17 @@ YAHOO.namespace('caja').examples = { "[[suffix=example&include=button&test=button4]Radio Buttons]", "[[suffix=example&include=button&test=button5]Submit Buttons]", "[[suffix=example&include=button&test=button6]Reset Buttons]", - "[[suffix=example&include=button&test=button7]Menu Buttons]", - "[[suffix=example&include=button&test=button8]Split Buttons]", - "[[suffix=example&include=button,calendar&test=button9]Calendar Menu Button]", - "[[suffix=example&include=button,calendar&test=button10]Calendar Menu Button with Date on face]", - "[[suffix=example&include=button,slider,colorpicker&test=button11]ColorPicker Button]", - "[[suffix=example&include=button,menu&test=button12]Fixed width Menu Button]", + "[[suffix=example&include=container,menu,button&test=button7]Menu Buttons]", + "[[suffix=example&include=container,menu,button&test=button8]Split Buttons]", + "[[suffix=example&include=button,container,calendar&test=button9]Calendar Menu Button]", + "[[suffix=example&include=button,container,calendar&test=button10]Calendar Menu Button with Date on face]", + "[[suffix=example&include=button,container,menu,slider,colorpicker&test=button11]ColorPicker Button]", + "[[suffix=example&include=button,container,menu&test=button12]Fixed width Menu Button]", "[[suffix=example&include=button&test=button13]Glowing Button]", - "[[suffix=example&include=button,slider&test=button14]Slider Button]", - "[[suffix=example&include=button&test=button-aria]Using a Button ARIA plugin]", - "[[suffix=example&include=button&test=button-menu-select]Using Button to replace a select element]", - "[[suffix=example&include=button&test=button-menu-swap]Replacing the contents of a Button's menu]" + "[[suffix=example&include=button,container,menu,slider&test=button14]Slider Button]", + "[[suffix=example&include=button,container,menu&test=button-aria]Using a Button ARIA plugin]", + "[[suffix=example&include=button,container,menu&test=button-menu-select]Using Button to replace a select element]", + "[[suffix=example&include=button,container,menu&test=button-menu-swap]Replacing the contents of a Button's menu]" ], connection: [ '[[suffix=gadget&test=connectio]Basic asyncRequest]', @@ -56,6 +56,12 @@ YAHOO.namespace('caja').examples = { json: [ '[[suffix=gadget&test=json]Simple test]' ], + layout: [ + '[[suffix=example&css=reset-fonts-grids&include=button,resize,layout&test=layout1]Full page Layout]', + '[[suffix=example&css=reset-fonts-grids&include=container,button,resize,layout&test=layout2]Resizable Panel Layout]', + '[[suffix=example&css=reset-fonts-grids&include=resize,layout&test=layout3]Nested Layout]', + '[[suffix=example&css=reset-fonts-grids&include=container,menu,resize,layout&test=layout4]Layout with Menu controls]' + ], yuitest: [ '[[suffix=gadget&test=yuitest]Simple suite to test that YUI Test cajoles]' ], diff --git a/tests/js/notes.js b/tests/js/notes.js index f46b36f..29fdbc3 100644 --- a/tests/js/notes.js +++ b/tests/js/notes.js @@ -1,11 +1,20 @@ YAHOO.namespace('caja').notes = { - animation: ['Tests appear to be passing before the animations complete. But the animations are completing'], + animation: [ + 'Tests appear to be passing before the animations complete. But the animations are completing', + 'Glowing Button example uses ColorAnim. Not working.' + ], autocomplete: [ 'Bug #1074 el.appendChild(el2) return undefined (fixed)', 'Bug #1075 focus/blur listeners not executed (fixed?) (workaround found n tests/examples/ac_basic_array_clean.html)' ], + button: [ + "Glowing button example isn't glowing. ColorAnim is pesent and no errors are thrown.", + "Slider in Slider Button example isn't interactive. Throws an odd error", + "ARIA example menu button throwing an error. Likely related to [[#1092]parentNode of off DOM elements reporting null]. This bug is marked fixed. Not in Felix's port yet?" + ], calendar: [ - 'YUI Test suite stopped several times at the debugger statement in domita (or was that in cajita?)' + 'YUI Test suite stopped several times at the debugger statement in domita (or was that in cajita?)', + '[[#1095]link.blur() throws an error] which kills cell click callback operation' ], connection: [ '[[suffix=gadget&test=connection]Simple example] as test works', @@ -38,6 +47,9 @@ YAHOO.namespace('caja').notes = { json: [ "Parse won't work because it uses eval. Caja exposes a JSON object, so if it could [[#1086]report 'object JSON' to the Miller device], JSON util would work unmodified" ], + layout: [ + "Full page layout and Layout with Menus examples are displaying as a blank page. The DOM is there, but some elements are sized height: 0. Investigation pending." + ], profiler: [ "Should work except for passing eval strings to registerFunction etc" ],