You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2020/04/09 16:41:10 UTC
[royale-asjs] branch develop updated: RoyaleUnit: MetadataRunner
doesn't bother checking for [Ignore] unless a method also has [Test]
This is an automated email from the ASF dual-hosted git repository.
joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new d0ee164 RoyaleUnit: MetadataRunner doesn't bother checking for [Ignore] unless a method also has [Test]
d0ee164 is described below
commit d0ee1641544efa618fdc7fbee6c667dcc2349155
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Thu Apr 9 09:41:03 2020 -0700
RoyaleUnit: MetadataRunner doesn't bother checking for [Ignore] unless a method also has [Test]
---
.../royale/org/apache/royale/test/runners/MetadataRunner.as | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/frameworks/projects/RoyaleUnit/src/main/royale/org/apache/royale/test/runners/MetadataRunner.as b/frameworks/projects/RoyaleUnit/src/main/royale/org/apache/royale/test/runners/MetadataRunner.as
index ccb2eff..b96d664 100644
--- a/frameworks/projects/RoyaleUnit/src/main/royale/org/apache/royale/test/runners/MetadataRunner.as
+++ b/frameworks/projects/RoyaleUnit/src/main/royale/org/apache/royale/test/runners/MetadataRunner.as
@@ -480,11 +480,11 @@ package org.apache.royale.test.runners
{
expected = expectedArgs[0].value;
}
- }
- var ignoreMetadata:Array = method.retrieveMetaDataByName(TestMetadata.IGNORE);
- if(ignoreMetadata.length > 0)
- {
- ignore = true;
+ var ignoreMetadata:Array = method.retrieveMetaDataByName(TestMetadata.IGNORE);
+ if(ignoreMetadata.length > 0)
+ {
+ ignore = true;
+ }
}
if(testName !== null)
{