topleft topright
  PureMVC Forums

Welcome, Guest. Please login or register.
September 02, 2010, 07:47:14 AM
Home Help Search Login Register
News: ATTENTION: Spambots must die! Humans must visit http://contact.futurescale.com to request forum access.

Pages: [1]
Print
Author Topic: PureMVC AS3 Standard Version Unit Tests  (Read 3945 times)
puremvc
Global Moderator
Hero Member
*****
Posts: 2366



View Profile WWW
« on: March 07, 2008, 03:52:56 PM »

These are the Unit Tests for the PureMVC Framework for AS3 - Standard Version

The demo is located at http://trac.puremvc.org/PureMVC_AS3_UnitTests

The author is Cliff Hall.
« Last Edit: May 19, 2008, 04:00:20 PM by puremvc » Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2366



View Profile WWW
« Reply #1 on: March 17, 2008, 03:58:58 PM »

2.0.2 of the AS3 Standard Version has been released. The unit test changes are:

  * The addition of the core/ControllerTestCommand2.as 
  * The modification of the core/ControllerTestVO.as to initialize input and result values to 0
  * The addition of testReregisterAndExecuteCommand to ControllerTest.

We now test that when a Command is re-registered that it isn't fired twice. This involves, minimally, registration with the controller but notification via the View, rather than direct execution of  the Controller's executeCommand method as is done in testRegisterAndRemove.

The bug under test was fixed in AS3 Standard Version 2.0.2. If you run the unit tests with 2.0.1 this new test will fail.

-=Cliff>
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2366



View Profile WWW
« Reply #2 on: March 17, 2008, 06:42:17 PM »

2.0.3 of the framework was release but only required replacing an interface method, and did not require a unit test modification, so the 2.0.2 unit tests are still valid for 2.0.3.

-=Cliff>
Logged
Pages: [1]
Print
Jump to:  



Login with username, password and session length

Powered by SMF 1.1.11 | SMF © 2006-2007, Simple Machines LLC
Copyright © 2006-2008 Futurescale, Inc.