通报进度

0 views
Skip to first unread message

Jeff Xiong

unread,
Mar 12, 2008, 5:51:19 AM3/12/08
to fluo...@googlegroups.com
今天我抽空把CSS locator的child selector做了,类似"css=VBox > VBox >
Text"这样,参见test_locator.flt。

为了实现这个功能搞得Selector类很龌龊,如果接下来还想实现descendant selector(类似"css=VBox Text")必须先重构了。

接下来我要想办法处理Alert。

鼠标同志做自定义控件的测试进展如何了?

对HTML runner有什么想法?

--
Jeff Xiong
Software Journeyman - http://gigix.thoughtworkers.org
Open Source Contributor - http://fluorida.googlecode.com/
Technical Evangelist - http://www.infoq.com/cn/

咖啡屋的鼠标

unread,
Mar 12, 2008, 7:04:13 AM3/12/08
to fluo...@googlegroups.com
那天提交了两个mxml,权当测试素材:
/src/aut_customcomponent.mxml
/src/CustomComboBox.mxml
可以跑一下看看,fluorida现在应该无法访问到自定义组件内的元素。
如果扩展的话,可能会出现click|customComponent.realComboBox 这样的脚本,或者通过别的方式组织语法,我正想咱们怎么讨论呢,就看到这邮件了,呵呵。

除此之外,还想做Alert和别的Popup的组件着,但最近被公司CMMI恶心坏了,一直没有来得及写。

另外,老大你前几天把FlashPlayer的那个文件干掉之后,我用rake就构建失败了,不知道怎么回事。。。。。(俺Ruby水平实在是二把刀)

在08-3-12,Jeff Xiong <gigi...@gmail.com> 写道:



--
鼠标
=======
我的博客:http://www.blogjava.net/tj19832
我的twitter:http://twitter.com/tj19832

咖啡屋的鼠标

unread,
Mar 12, 2008, 7:27:38 AM3/12/08
to fluo...@googlegroups.com
另外,抱歉。我不太清楚你说的HTML runner是什么。。。。。-_-b
不会是说AIR的HTML控件吧。这好像跨出Flash的领域了。


在08-3-12,咖啡屋的鼠标 <tj1...@gmail.com> 写道:

咖啡屋的鼠标

unread,
Mar 12, 2008, 8:24:14 AM3/12/08
to fluo...@googlegroups.com
刚刚提交了Alert的测试素材代码,简单Alert,两个按钮的Alert,三个按钮的Alert。
Flex中是有一个PopupManager管理着所有这样的弹出窗口,我相信直接简单remove掉问题不大,就是多个按钮的Alert的选择得想想。

在08-3-12,咖啡屋的鼠标 <tj1...@gmail.com> 写道:

Jeff Xiong

unread,
Mar 12, 2008, 9:49:08 PM3/12/08
to fluo...@googlegroups.com
我在wiki里加了一节,"Build From Source Code"

http://code.google.com/p/fluorida/wiki/GettingStarted

2008/3/12 咖啡屋的鼠标 <tj1...@gmail.com>:

Jeff Xiong

unread,
Mar 13, 2008, 12:56:28 AM3/13/08
to fluo...@googlegroups.com
I tried and failed to handle Alert popups. I commented out associated
test case from "default.fls". It would be great if you can tackle it.

2008/3/12 咖啡屋的鼠标 <tj1...@gmail.com>:

咖啡屋的鼠标

unread,
Mar 13, 2008, 10:06:20 PM3/13/08
to fluo...@googlegroups.com
I failed too.I think SystemManager could help us.But I can't get the instance of Alert form popUpChildren property.
I am still thinking about it

在08-3-13,Jeff Xiong <gigi...@gmail.com> 写道:

咖啡屋的鼠标

unread,
Mar 14, 2008, 2:41:06 AM3/14/08
to fluo...@googlegroups.com
Well, I found the way to get the Instance of Alert.
if we code :Alert.show("Hello, World!");
we can use Application.application.root.getChildAt() to visit it. It is allways the last element.

在08-3-14,咖啡屋的鼠标 <tj1...@gmail.com> 写道:

Jeff Xiong

unread,
Mar 14, 2008, 2:58:23 AM3/14/08
to fluo...@googlegroups.com
Then make the test pass, please !

2008/3/14 咖啡屋的鼠标 <tj1...@gmail.com>:

Jeff Xiong

unread,
Mar 14, 2008, 11:07:27 PM3/14/08
to fluo...@googlegroups.com
I've seen the code you submitted. Great job!

A little suggestion on working style: as a part of completing a
feature, we'd better enable and commit corresponding test case(s) as
well, so that automated build script can make sure everything works
well anywhere.

By the way, what happens if the popup window being handled if not
Alert but a custom window? Or shall we rename this action to
"CloseAlert"?

2008/3/14 Jeff Xiong <gigi...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages