首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > funit

funit

  • 资源大小:1.58 MB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

FUnit is the first generation xUnit testing tool to leverage the custom metadata capabilities of the Flex mxmlc compiler. The tag-based attribute model of FUnit makes it the most intuitive unit-testing framework ever created for the Flex platform. How does FUnit compare to FlexUnit? Note: Both of these samples are functionally identical. FlexUnit Implementation ``` public class TestExecute extends TestCase { public static function getSuite() : TestSuite { var suite : TestSuite = new TestSuite(); suite.addTest(new TestExecute("testGetString")); suite.addTest(new TestExecute("testExecuteNull")); return suite; } public override function setup() : void { CustomClass.setString("TestString"); } public function testGetString() : void { // sample code to test Assert.assertEquals( CustomClass.getString(), "TestString"); } public function testExec

文 件 列 表

FUnitProject
.actionScriptProperties
.flexProperties
.project
bin
docs
flex-config.xml
FUnitProject.mxml
libs
tests

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP