I can't seem to attach a file here, so here's the base test case type in question:
/** Copyright 2013 Company. All rights reserved. */
package testing.utilities {
import com.project.configuration.Beans;
import com.project.presentation.mappers.*;
import com.project.presentation.mappers.template.*;
import com.project.presentation.mappers.utilities.DatabaseManager;
import com.project.presentation.services.*;
import flash.events.EventDispatcher;
import org.fluint.sequence.*;
import org.swizframework.core.*;
import org.swizframework.events.BeanEvent;
import org.swizframework.utils.test.AutowiredTestCase;
public class BeanTest
extends AutowiredTestCase {
[Dispatcher] public var dispatcher: EventDispatcher;
[Inject] public var cMapper: CDAO;
[Inject] public var dMapper: DDAO;
[Inject] public var eMapper: UDAO;
[Inject] public var iMapper: PDAO;
[Inject] public var manager: DatabaseManager;
[Inject] public var nMapper: NDAO;
[Inject] public var rMapper: UDAO;
[Inject] public var sMapper: SDAO;
[Inject] public var uMapper: UDAO;
[Inject] public var networkMonitorService: NetworkMonitorService;
[Inject] public var iService: PService;
[Inject] public var securityService: SecurityService;
[Inject] public var remoteIObject: RemoteIObject;
[Inject] public var securityObject: RemoteSecurityObject;
[Before] override public function constructSwizContext(): void {
swizConfig = new SwizConfig();
swizConfig.eventPackages = 'com.project.presentation.events.*';
beanProviders = [new Beans()];
super.constructSwizContext();
}
[After] public function destroyBeans(): void {
cMapper = null;
dMapper = null;
eMapper = null;
iMapper = null;
manager = null;
nMapper = null;
rMapper = null;
sMapper = null;
uMapper = null;
networkMonitorService = null;
securityService = null;
iService = null;
remoteIObject = null;
securityObject = null;
}
}
}
On Monday, 22 July 2013 13:05:35 UTC-4, Brian Kotek wrote: