fuse-open / fuselibs

Fuselibs is the Uno-libraries that provide the UI framework used in Fuse apps
https://npmjs.com/package/@fuse-open/fuselibs
MIT License
176 stars 72 forks source link

BundleTests.TestExtract fails spuriously #117

Open kusma opened 7 years ago

kusma commented 7 years ago

Here's an example log:

Starting project 'FuseJS.Test', target 'Native'
Started test runner on http://localhost:64419/
Configuring (0.9 s)
Compiling syntax tree (1.1 s)
Generating code and data (7.2 s)
Building Native app (58.5 s)
Build completed in 67.74 seconds
---
OK:      FuseJS.Test.FuseJS.Test.Base64Tests.JavaScriptTests (87,737 μs)
FAILED:  FuseJS.Test.FuseJS.Test.BundleTests.TestExtract
         Assertion failed in 'TestExtract', at /Users/travis/build/fusetools/fuselibs-public/Source/FuseJS/Tests/Bundle.Test.uno:67
           Expected: True
           But got : 
OK:      FuseJS.Test.FuseJS.Test.BundleTests.TestList (24,018 μs)
OK:      FuseJS.Test.FuseJS.Test.BundleTests.TestRead (12,034 μs)
OK:      FuseJS.Test.FuseJS.Test.BundleTests.TestReadBuffer (16,860 μs)
OK:      FuseJS.Test.FuseJS.Test.BundleTests.TestReadSync (9,121 μs)
OK:      FuseJS.Test.FuseJS.Test.Latin1HelpersTests.DecodeLatin1_given_valid_base64_encoded_arg_decodes_string (10 μs)
OK:      FuseJS.Test.FuseJS.Test.Latin1HelpersTests.EncodeLatin1_given_string_with_invalid_Latin1_characters_throws_exception (36 μs)
OK:      FuseJS.Test.FuseJS.Test.Latin1HelpersTests.EncodeLatin1_given_valid_Latin1_string_encodes_to_base64 (4 μs)
OK:      FuseJS.Test.FuseTest.SatisfyUnoTest.Test (2 μs)
OK:      FuseJS.Test.JsTest.Environment (84,067 μs)
Built & ran 11 tests in 68.99 seconds (233,889 μs)
Failures: 1
kusma commented 7 years ago

@Sunjammer: Assigning you, since you wrote the tests and functionality.

kusma commented 7 years ago

It's worth noting that #113 introduces TestRootPanel.MultiStepFrameJS(int), which these tests might benefit from (in terms of reducing repetition).

kusma commented 7 years ago

This test has been ignored now, as it kept holding back otherwise good PRs.