- Timestamp:
- 11/28/08 00:13:24 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
flexunitx/trunk/com/rocketboots/flexunitx/RespondingTestCase.as
r36 r37 1 1 /** 2 * TestCase for classes that return results to instances of com.adobe.cairngorm.business.Responder.2 * TestCase for classes that return results to instances of com.adobe.cairngorm.business.Responder. 3 3 * 4 * (c) 2008 RocketBoots Pty Ltd4 * Extend this class and create a test like this: 5 5 * 6 * public function someTest() : void { 7 * sd = new SomeDelegate(this); 8 * setCallback(someTestResult, 3000); 9 * sd.doSomething(); 10 * } 11 * 12 * public function someTestResult(e : Event) : void { 13 * assertNotNull(result.someValue); 14 * } 15 * 16 * (c) 2008 RocketBoots Pty Ltd 17 * 18 * This program is free software: you can redistribute it and/or modify 19 * it under the terms of the GNU General Public License as published by 20 * the Free Software Foundation, either version 3 of the License, or 21 * (at your option) any later version. 22 * 23 * This program is distributed in the hope that it will be useful, 24 * but WITHOUT ANY WARRANTY; without even the implied warranty of 25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 * GNU General Public License for more details. 27 * 28 * You should have received a copy of the GNU General Public License 29 * along with this program. If not, see <http://www.gnu.org/licenses/>. 6 30 **/ 31 7 32 package com.rocketboots.flexunitx { 8 33
Note: See TracChangeset
for help on using the changeset viewer.
