WebWorldWind
WebWorldWind copied to clipboard
Add surface shape performance test
Description of the Change
This PR adds a functional test which measures SurfaceShape performance. Both static and moving surface shapes are tested using an automated navigation technique.
Applicable Issues
Closes #694
@pdavidc I've addressed 2, 3, and 4; however I need guidance with 1.
With the functionalTest
directory designated as a test directory WebStorm's server function makes the content-type
header equal text/html
. The javascript files are then prevented from executing because:
because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Using an alternative server (e.g. python) allows the functional test to run, but WebStorm's built-in seems to be changing the content type header on my machine.
Is there a workaround for the content type in WebStorm?
@zglueck The content-type error is not the root of the problem. Registering the functionalTest folder as a test root affects the configuration of WebStorm's built-in web server. The paths to resources in src no longer work as expected.