Adj Framework - Test Suite

For more about Adj, see the user guide.

1. Compatibility

This test suite for Adj version ? so far runs in contemporary Firefox 49 (Windows, Linux also verified 38), Chrome 55 (Windows, Mac OS X, Android 4.4), Safari 10 (Mac OS X 10.11, iOS 10.0 on iPhone and iPad), Opera 40 (Windows) and Internet Explorer 11. Do you have other browsers to report?

Starting in 2015 we have observed computer virus protection injecting scripts into web pages. Such extraneous elements cause this test suite to incorrectly report failure: Even though having run correctly, extraneous elements don't identifiably match expected results. If encountered, there is a known workaround: Run this test suite on a machine without that specific virus protection. Annoyingly, "Pause protection…" doesn't stop script injection with at least one well known brand name.

Font metrics differences between browsers still are a challenge. In this context, a functioning test suite is a challenge of its own. Problems are not always an indication of a problem with Adj itself. Nevertheless, having and using this test suite is much better than not having or not using it.

In addition to other font metric related issues, some versions of WebKit based browsers may have an issue apparently still loading web based fonts while already drawing an SVG image and hence not knowing the correct metric yet. This seems to be more noticeable on the weaker CPU of a mobile device, such as an iPad. If that would cause test failures then simply running this test suite a second time appears to work better, possibly because the font might be cached on the device already. Maybe this page loading the font here already helps too.

Furthermore, with an earlier version of this test suite, it had been observed that apparently hanging (not completing) tests with asynchronous code (testing command include) often would succed when run a second time.

2. Run

Test ? of of ?.

Normally you'd want to . To start over cleanly, reload your browser window.

Sometimes, if needed, after selecting a file below, once you see it above, you can .

To help debugging, after selecting a file below, once you see it above, you can force an .

Adj version ? ?
test-cases/test-adj-ex-002-verticalList.svg ?
test-cases/test-adj-ex-003-horizontalList.svg ?
test-cases/test-adj-ex-004-frameForParent.svg ?
test-cases/test-adj-ex-005-textBreaks.svg
has text, may suffer from font metrics differences

?

test-cases/test-adj-ex-006-connection.svg ?
test-cases/test-adj-ex-007-rider.svg ?
test-cases/test-adj-ex-008-circleForParent.svg ?
test-cases/test-adj-ex-009-ellipseForParent.svg ?
test-cases/test-adj-ex-010-circularList.svg ?
test-cases/test-adj-ex-023-connection-fromXY-explained.svg ?
test-cases/test-adj-ex-045-verticalTree.svg
has text, may suffer from font metrics differences
?
test-cases/test-adj-ex-051-horizontalTree.svg
has text, may suffer from font metrics differences
?
test-cases/test-adj-ex-053-vine.svg ?
test-cases/test-adj-ex-054-floater.svg ?
test-cases/test-adj-ex-056-explain-path-transform.svg ?
test-cases/test-adj-ex-057b-variable-scope.svg ?
test-cases/test-adj-ex-060-fit.svg ?
test-cases/test-adj-ex-061-stackFrames.svg ?
test-cases/test-adj-ex-063-zoomFrames.svg ?
test-cases/test-adj-ex-066-tilt.svg ?
test-cases/test-adj-ex-068-skimpyList.svg ?
test-cases/test-adj-ex-070-pinnedList.svg ?
test-cases/test-adj-ex-072-hide.svg ?
test-cases/test-adj-ex-075-telescopicTree.svg ?
test-cases/test-adj-ex-075-telescopicTree-motley-explained.svg ?
test-cases/test-adj-ex-077-paragraph.svg
has text, may suffer from font metrics differences
?
test-cases/test-adj-ex-077-paragraph-issue-12a.svg
has text, may suffer from font metrics differences
?
test-cases/test-adj-ex-078-paragraph-hAlign.svg
has text, may suffer from font metrics differences
?
test-cases/test-adj-ex-082-pathArrow.svg ?
test-cases/test-adj-ex-084-pathArrow-nockSetback-pointSetback.svg ?
test-cases/test-adj-ex-086-pathArrow-arithmetic.svg ?
test-cases/test-adj-ex-087-circularList-packArc.svg ?
test-cases/test-adj-ex-087b-circularList-packArc.svg ?
test-cases/test-adj-ex-087c-circularList-packArc.svg ?
test-cases/test-adj-ex-090-rcGrid-motley.svg ?
test-cases/test-adj-ex-091-rcGrid-templates.svg ?
test-cases/test-adj-ex-093-sliderKnob-motley-002.svg ?
test-cases/test-adj-ex-094-toggleButton.svg ?
test-cases/test-adj-ex-096-circularList-dullness.svg ?
test-cases/test-adj-ex-097-skimpyList-minWidth.svg ?
test-cases/test-adj-ex-080-include.svg
known to fail in file:// scheme unless browser permits or is set to permit;
if so then you should try running in http:// scheme, e.g. here
?
test-cases/test-adj-ex-081-include-fragment.svg
known to fail in file:// scheme unless browser permits or is set to permit;
if so then you should try running in http:// scheme, e.g. here
?
test-cases/test-adj-ex-002-verticalList.html HTML ?
test-cases/test-adj-ex-023-connection-fromXY-explained.html HTML ?
test-cases/test-adj-ex-045-verticalTree.html HTML
has text, may suffer from font metrics differences
?
test-cases/test-adj-ex-063-zoomFrames.html HTML ?
test-cases/test-adj-ex-075-telescopicTree-motley-explained.html HTML ?
test-cases/test-adj-ex-090-rcGrid-motley.html HTML ?
test-cases/test-adj-ex-091-rcGrid-templates.html HTML ?
test-cases/test-adj-ex-080-include.html HTML
known to fail in file:// scheme unless browser permits or is set to permit;
if so then you should try running in http:// scheme, e.g. here
?
test-cases/test-adj-ex-002-verticalList-and-more.html HTML
known to fail in file:// scheme unless browser permits or is set to permit;
if so then you should try running in http:// scheme, e.g. here
?
test-cases/test-adj-ex-081-include-fragment-from-html.html
known to fail in file:// scheme unless browser permits or is set to permit;
if so then you should try running in http:// scheme, e.g. here
?
test-cases/test-adj-ex-081-include-fragment-from-html.svg
known to fail in file:// scheme unless browser permits or is set to permit;
if so then you should try running in http:// scheme, e.g. here
?

3. History

Compatibility to older versions browsers is not currently verified. This test suite, however, has been run and updated, for what it's worth, since Firefox 24, Chrome 35, Safari 5, and Internet Explorer 10.