-Revisited the event flow for the db part
-start to track and save the window position on exit
-refactored a bit
-DB autoupdate on going
git-svn-id: https://svn.apache.org/repos/asf/flex/whiteboard@1448511 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/test/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/nativeProcess/CommandLineProcessTest.as b/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/test/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/nativeProcess/CommandLineProcessTest.as
deleted file mode 100644
index 75454d2..0000000
--- a/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/test/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/nativeProcess/CommandLineProcessTest.as
+++ /dev/null
@@ -1,47 +0,0 @@
-package org.apache.flex.utilities.developerToolSuite.executor.infrastructure.nativeProcess {
- import flash.events.ProgressEvent;
-
- import org.flexunit.Assert;
- import org.flexunit.asserts.assertNotNull;
- import org.flexunit.async.Async;
-
- public class CommandLineProcessTest {
-
- private var command:NativeShellHelper;
-
- [Before]
- public function setUp():void {
- command = new NativeShellHelper();
- command.logMessages();
- }
-
- [Test(async)]
- public function shouldLogMessages():void {
- command.addEventListener(ProgressEvent.STANDARD_OUTPUT_DATA, Async.asyncHandler(this, outputDataLogHandler, 20000, null, handleTimeout), false, 0,
- true);
-
- var shell:String = "C:\\Windows\\System32\\cmd.exe";
- var args:Vector.<String> = new Vector.<String>();
- args.push("/K");
- args.push("set");
-
- command.run(args, shell);
- }
-
- private function outputDataLogHandler(event:ProgressEvent, passThroughData:Object):void {
- var command:NativeShellHelper = event.currentTarget as NativeShellHelper;
- var result:String = command.process.standardOutput.readUTFBytes(command.process.standardOutput.bytesAvailable);
- trace("res: ", result);
- assertNotNull(result);
- }
-
- private function handleTimeout(passThroughData:Object):void {
- Assert.fail("Timeout reached before event");
- }
-
- [After]
- public function tearDown():void {
- command = null;
- }
- }
-}