flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mih...@apache.org
Subject git commit: [flex-utilities] [refs/heads/develop] - FLEX-34717 Clarified how the tests can fail.
Date Wed, 21 Jan 2015 10:33:26 GMT
Repository: flex-utilities
Updated Branches:
  refs/heads/develop f6d1ade23 -> 7a774d9e7


FLEX-34717 Clarified how the tests can fail.


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/7a774d9e
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/7a774d9e
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/7a774d9e

Branch: refs/heads/develop
Commit: 7a774d9e7ae94a486980f397c1f9c5aba4d75106
Parents: f6d1ade
Author: Mihai Chira <mihaic@apache.org>
Authored: Wed Jan 21 10:33:03 2015 +0000
Committer: Mihai Chira <mihaic@apache.org>
Committed: Wed Jan 21 10:33:03 2015 +0000

----------------------------------------------------------------------
 .../tests/com/adobe/linguistics/spelling/FLEX_34717_Test.as        | 2 +-
 .../tests/com/adobe/linguistics/spelling/FLEX_34717_Test.as        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/7a774d9e/Squiggly/main/SpellingUI/tests/com/adobe/linguistics/spelling/FLEX_34717_Test.as
----------------------------------------------------------------------
diff --git a/Squiggly/main/SpellingUI/tests/com/adobe/linguistics/spelling/FLEX_34717_Test.as
b/Squiggly/main/SpellingUI/tests/com/adobe/linguistics/spelling/FLEX_34717_Test.as
index 4d6a357..1c45837 100644
--- a/Squiggly/main/SpellingUI/tests/com/adobe/linguistics/spelling/FLEX_34717_Test.as
+++ b/Squiggly/main/SpellingUI/tests/com/adobe/linguistics/spelling/FLEX_34717_Test.as
@@ -51,7 +51,7 @@ package com.adobe.linguistics.spelling {
             SpellUI.disableSpelling(_input);
 
             //then
-            assertTrue(true); //no error was thrown
+            assertTrue("If the unit test reaches this point, it means no RTE was thrown,
which means the bug is not present", true);
         }
     }
 }

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/7a774d9e/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
index 4d6a357..1c45837 100644
--- 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
@@ -51,7 +51,7 @@ package com.adobe.linguistics.spelling {
             SpellUI.disableSpelling(_input);
 
             //then
-            assertTrue(true); //no error was thrown
+            assertTrue("If the unit test reaches this point, it means no RTE was thrown,
which means the bug is not present", true);
         }
     }
 }


Mime
View raw message