文件名称:expect.as:ActionScript 3 的 BDD 风格断言库
文件大小:467KB
文件格式:ZIP
更新时间:2024-07-15 09:09:30
ActionScript
期望.as Action Script 3 的 BDD 风格断言库 应用程序接口 ok : 断言该值是否为真 expect( true ) . to . be . ok() ; expect( false ) . not . to . be . ok() ; expect( "everything" ) . to . be . ok() ; expect( null ) . not . to . be . ok() ; expect( undefined ) . not . to . be . ok() ; truthy : 断言该值等于 true expect( true ) . to . be . truthy() ; expect( 0 ) . not . to . be . truthy() ; false :断言该值等于 false expect( false ) .
【文件预览】:
expect.as-master
----.gitignore(30B)
----src()
--------specification()
----bin()
--------expect.swc(35KB)
----LICENSE(1KB)
----README.md(5KB)
----lib()
--------starling.swc(221KB)
--------flexunit-4.1.0-8-as3_4.1.0.16076.swc(188KB)
----build.sh(281B)
----test()
--------ExpectToExist.as(769B)
--------ExpectToBeEmpty.as(930B)
--------ExpectToBeBelow.as(500B)
--------ExpectToBeBetween.as(1009B)
--------ExpectToHaveProperty.as(546B)
--------ExpectToDispatch.as(1KB)
--------ExpectToBeUndef.as(706B)
--------ExpectToBeAbove.as(500B)
--------ExpectToStrictlyEqual.as(541B)
--------ExpectToContainStarlingDisplayObject.as(1004B)
--------ExpectFail.as(234B)
--------ExpectToBeAtLeast.as(459B)
--------ExpectToBeFalsy.as(690B)
--------ExpectToBeCloseTo.as(480B)
--------ExpectToBeNill.as(689B)
--------ExpectToBeTruthy.as(704B)
--------ExpectToHaveLength.as(1KB)
--------ExpectToRaise.as(3KB)
--------ExpectToMatch.as(604B)
--------ExpectToDispatchStarling.as(1KB)
--------ExpectToBeAtMost.as(451B)
--------ExpectToContainDisplayObject.as(978B)
--------ExpectToContain.as(723B)
--------ExpectToEqual.as(813B)
--------ExpectToDeeplyCompare.as(748B)
--------ExpectToBeOk.as(879B)
--------ExpectToBeA.as(1KB)