Yeah, that assert (and the following one) was what I had to change. The
related change in royale-compiler that required me to do that is not in the
release/0.9.7 branch.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Tue, May 12, 2020 at 9:55 AM Harbs <[email protected]> wrote:

> It’s failing on the last line here:
>
>         public function testGetDynamicFields():void
>         {
>
>             const emptyArray:Array = [];
>             const singleDynField:Array = ['test'];
>             assertTrue( contentStringsMatch(getDynamicFields(Object),
> emptyArray), "dynamic fields should match reference list");
>             Object['test'] = true;
>             assertTrue( contentStringsMatch(getDynamicFields(Object),
> singleDynField), "dynamic fields should match reference list");
>             delete Object['test'];
>
>             assertTrue( contentStringsMatch(getDynamicFields(TestClass1),
> emptyArray), "dynamic fields should match reference list");
>
>
> > On May 12, 2020, at 7:43 PM, Josh Tynjala <[email protected]>
> wrote:
> >
> > That failure could happen if you were accidentally using royale-compiler
> > 0.9.8-SNAPSHOT with royale-asjs 0.9.7. I had to tweak one of the asserts
> in
> > the  testGetDynamicFields() test, but that was after the release branches
> > were made.
> >
> > I guess it's possible that a different assert in that test is failing,
> > though.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <https://bowlerhat.dev>
> >
> >
> > On Tue, May 12, 2020 at 8:50 AM Harbs <[email protected]> wrote:
> >
> >> I think ant. Here’s more output:
> >>
> >> Executing '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'
> >> with arguments:
> >>
> >>
> '/Apache/approve_ant/apache-royale-0.9.7-src/royale-asjs/frameworks/js/projects/ReflectionJS/src/test/royale/target/bin/js-release/index.html'
> >>
> >> The ' characters around the executable and arguments are
> >> not part of the command.
> >>
> >> Client connected.
> >> Receiving data ...
> >> Sending acknowledgement to player to start sending test data ...
> >>
> >> RoyaleUnit test testGetDynamicFields in suite
> >> flexUnitTests.reflection.ReflectionTesterTestDynamic failed.
> >>
> >> Stopping server ...
> >> End of test data reached, sending acknowledgement to player ...
> >> Analyzing reports ...
> >>
> >> Suite: flexUnitTests.reflection.ReflectionTesterTest
> >> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.738
> sec
> >> Suite: flexUnitTests.reflection.ReflectionTesterNativeTypes
> >> Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.476
> sec
> >> Suite: flexUnitTests.reflection.ReflectionTesterTestEdgeCases
> >> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.615
> sec
> >> Suite: flexUnitTests.reflection.ReflectionTesterTestUseCache
> >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.123
> sec
> >> Suite: flexUnitTests.reflection.ReflectionTesterTestDynamic
> >> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.369
> sec
> >> Suite: flexUnitTests.reflection.ReflectionTesterTestAlias
> >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.123
> sec
> >>
> >> Results :
> >>
> >> Tests run: 28, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.444
> sec
> >>
> >> JS-RELEASE TESTS FAILED
> >> Running backup tests in js-debug build, because release build tests
> failed
> >> OS: [Mac]
> >> Local path to SWF was given and SWF property will be used.
> >> Validating task attributes ...
> >> Generating default values ...
> >> Using the following settings for the test run:
> >>        ROYALE_HOME:
> >> [/Apache/approve_ant/apache-royale-0.9.7-src/royale-asjs]
> >>        haltonfailure: [false]
> >>        headless: [false]
> >>        display: [99]
> >>        localTrusted: [true]
> >>        player: [html]
> >>        command: [/Applications/Google Chrome.app/Contents/MacOS/Google
> >> Chrome]
> >>        port: [1024]
> >>        swf:
> >>
> [/Apache/approve_ant/apache-royale-0.9.7-src/royale-asjs/frameworks/js/projects/ReflectionJS/src/test/royale/target/bin/js-debug/index.html]
> >>        timeout: [90000ms]
> >>        toDir:
> >>
> [/Apache/approve_ant/apache-royale-0.9.7-src/royale-asjs/frameworks/js/projects/ReflectionJS/src/test/royale/out]
> >> Setting up server process ...
> >> Entry
> >>
> [/Apache/approve_ant/apache-royale-0.9.7-src/royale-asjs/frameworks/js/projects/ReflectionJS/src/test/royale/target/bin/js-debug]
> >> already available in local trust file at
> >> [/Users/harbs/Library/Preferences/Macromedia/Flash
> >> Player/#Security/FlashPlayerTrust/royaleUnit.cfg].
> >> Executing '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'
> >> with arguments:
> >>
> >>
> '/Apache/approve_ant/apache-royale-0.9.7-src/royale-asjs/frameworks/js/projects/ReflectionJS/src/test/royale/target/bin/js-debug/index.html'
> >>
> >> The ' characters around the executable and arguments are
> >> not part of the command.
> >>
> >> Starting server ...
> >> Waiting for client connection ...
> >> Client connected.
> >> Receiving data ...
> >> Sending acknowledgement to player to start sending test data ...
> >>
> >>
> >> Stopping server ...
> >> End of test data reached, sending acknowledgement to player ...
> >> Analyzing reports ...
> >>
> >> Suite: flexUnitTests.reflection.ReflectionTesterTest
> >> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.738
> sec
> >> Suite: flexUnitTests.reflection.ReflectionTesterNativeTypes
> >> Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.476
> sec
> >> Suite: flexUnitTests.reflection.ReflectionTesterTestEdgeCases
> >> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.615
> sec
> >> Suite: flexUnitTests.reflection.ReflectionTesterTestUseCache
> >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.123
> sec
> >> Suite: flexUnitTests.reflection.ReflectionTesterTestDynamic
> >> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.369
> sec
> >> Suite: flexUnitTests.reflection.ReflectionTesterTestAlias
> >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.123
> sec
> >>
> >> Results :
> >>
> >> Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.444
> sec
> >>
> >> Processing
> >>
> /Apache/approve_ant/apache-royale-0.9.7-src/royale-asjs/frameworks/js/projects/ReflectionJS/src/test/royale/out/TESTS-TestSuites.xml
> >> to /var/folders/k8/f8qyn4px641_zm313rvprfhw0000gn/T/null1887208993
> >> Loading stylesheet
> >>
> jar:file:/usr/local/Cellar/ant/1.10.7/libexec/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
> >> Transform time: 68ms
> >> Deleting:
> /var/folders/k8/f8qyn4px641_zm313rvprfhw0000gn/T/null1887208993
> >>
> >> BUILD FAILED
> >> /Apache/approve_ant/ApproveRoyale.xml:780: The following error occurred
> >> while executing this line:
> >> /Apache/approve_ant/apache-royale-0.9.7-src/royale-asjs/build.xml:667:
> The
> >> following error occurred while executing this line:
> >>
> /Apache/approve_ant/apache-royale-0.9.7-src/royale-asjs/frameworks/build.xml:157:
> >> The following error occurred while executing this line:
> >>
> /Apache/approve_ant/apache-royale-0.9.7-src/royale-asjs/frameworks/build.xml:459:
> >> The following error occurred while executing this line:
> >>
> /Apache/approve_ant/apache-royale-0.9.7-src/royale-asjs/frameworks/projects/Reflection/build.xml:69:
> >> The following error occurred while executing this line:
> >>
> /Apache/approve_ant/apache-royale-0.9.7-src/royale-asjs/frameworks/projects/Reflection/build.xml:73:
> >> The following error occurred while executing this line:
> >>
> /Apache/approve_ant/apache-royale-0.9.7-src/royale-asjs/frameworks/js/projects/ReflectionJS/build.xml:54:
> >> The following error occurred while executing this line:
> >>
> /Apache/approve_ant/apache-royale-0.9.7-src/royale-asjs/frameworks/js/projects/ReflectionJS/src/test/royale/build.xml:238:
> >> Test Failure
> >> RoyaleUnit Release Build Tests must pass:
> >>
> >>            ReflectionJS.test RoyaleUnit Release build tests: FAILED
> >>            ReflectionJS.test RoyaleUnit Debug build tests: PASSED
> >>
> >>
> >>> On May 12, 2020, at 6:33 PM, Alex Harui <[email protected]>
> >> wrote:
> >>>
> >>> Is that from the Maven or Ant build?
> >>>
> >>> On 5/12/20, 8:04 AM, "Harbs" <[email protected]> wrote:
> >>>
> >>>   I’m now getting:
> >>>               ReflectionJS.test RoyaleUnit Release build tests: FAILED
> >>>               ReflectionJS.test RoyaleUnit Debug build tests: PASSED
> >>>
> >>>   Any ideas?
> >>>
> >>
> >>
>
>

Reply via email to