You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by mi...@apache.org on 2015/01/15 18:13:50 UTC
[3/6] git commit: [flex-utilities] [refs/heads/develop] - FLEX-34717
Moved the unit test outside the source folder,
so that it's not included in the swc.
FLEX-34717 Moved the unit test outside the source folder, so that it's not included in the swc.
Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/a43c535e
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/a43c535e
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/a43c535e
Branch: refs/heads/develop
Commit: a43c535e5318f28c4047dcc8871ed9946eae41c8
Parents: 4ceb81a
Author: Mihai Chira <mi...@apache.org>
Authored: Thu Jan 15 16:41:30 2015 +0000
Committer: Mihai Chira <mi...@apache.org>
Committed: Thu Jan 15 16:41:30 2015 +0000
----------------------------------------------------------------------
.../linguistics/spelling/FLEX_34717_Test.as | 57 --------------------
.../linguistics/spelling/FLEX_34717_Test.as | 57 ++++++++++++++++++++
2 files changed, 57 insertions(+), 57 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/a43c535e/Squiggly/main/SpellingUIEx/src/tests/com/adobe/linguistics/spelling/FLEX_34717_Test.as
----------------------------------------------------------------------
diff --git a/Squiggly/main/SpellingUIEx/src/tests/com/adobe/linguistics/spelling/FLEX_34717_Test.as b/Squiggly/main/SpellingUIEx/src/tests/com/adobe/linguistics/spelling/FLEX_34717_Test.as
deleted file mode 100644
index 4d6a357..0000000
--- a/Squiggly/main/SpellingUIEx/src/tests/com/adobe/linguistics/spelling/FLEX_34717_Test.as
+++ /dev/null
@@ -1,57 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package com.adobe.linguistics.spelling {
- import com.adobe.linguistics.spelling.SpellUI;
-
- import mx.controls.TextArea;
-
- import org.flexunit.asserts.assertTrue;
- import org.fluint.uiImpersonation.UIImpersonator;
-
- public class FLEX_34717_Test {
- private var _input:TextArea;
-
- [Before]
- public function setUp():void
- {
- _input = new TextArea();
- }
-
- [After]
- public function tearDown():void
- {
- _input = null;
- }
-
- [Test]
- public function test_immediate_disable_after_enable():void
- {
- //given
- UIImpersonator.addChild(_input);
-
- //when
- SpellUI.enableSpelling(_input, "en_US");
- SpellUI.disableSpelling(_input);
-
- //then
- assertTrue(true); //no error was thrown
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/a43c535e/Squiggly/main/SpellingUIEx/tests/com/adobe/linguistics/spelling/FLEX_34717_Test.as
----------------------------------------------------------------------
diff --git a/Squiggly/main/SpellingUIEx/tests/com/adobe/linguistics/spelling/FLEX_34717_Test.as b/Squiggly/main/SpellingUIEx/tests/com/adobe/linguistics/spelling/FLEX_34717_Test.as
new file mode 100644
index 0000000..4d6a357
--- /dev/null
+++ b/Squiggly/main/SpellingUIEx/tests/com/adobe/linguistics/spelling/FLEX_34717_Test.as
@@ -0,0 +1,57 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package com.adobe.linguistics.spelling {
+ import com.adobe.linguistics.spelling.SpellUI;
+
+ import mx.controls.TextArea;
+
+ import org.flexunit.asserts.assertTrue;
+ import org.fluint.uiImpersonation.UIImpersonator;
+
+ public class FLEX_34717_Test {
+ private var _input:TextArea;
+
+ [Before]
+ public function setUp():void
+ {
+ _input = new TextArea();
+ }
+
+ [After]
+ public function tearDown():void
+ {
+ _input = null;
+ }
+
+ [Test]
+ public function test_immediate_disable_after_enable():void
+ {
+ //given
+ UIImpersonator.addChild(_input);
+
+ //when
+ SpellUI.enableSpelling(_input, "en_US");
+ SpellUI.disableSpelling(_input);
+
+ //then
+ assertTrue(true); //no error was thrown
+ }
+ }
+}