[iOS WK2] ExternalSourceDataTransferItemGetAsEntry tests produce inconsistent results...
authorwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Sep 2017 23:34:03 +0000 (23:34 +0000)
committerwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Sep 2017 23:34:03 +0000 (23:34 +0000)
commit853645d38a5b25717619a83464733f10d1011224
treeadc5da971ee68592d8533dee976d9f9747f9705e
parentac3c021bca996734e59c63f8efff8dee8e4fcfdb
[iOS WK2] ExternalSourceDataTransferItemGetAsEntry tests produce inconsistent results on test automation bots
https://bugs.webkit.org/show_bug.cgi?id=176736

Reviewed by Andy Estes and Megan Gardner.

The test output dumped when dropping a file in DataTransferItem-getAsEntry.html should adhere to some deterministic order.
Currently, this is not enforced, so on some systems, these tests fail due to expected test output being out of order. To
fix this, simply have the test harness alphabetically sort the output before writing to the textarea.

* TestWebKitAPI/Tests/WebKitCocoa/DataTransferItem-getAsEntry.html:
* TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
(TestWebKitAPI::TEST):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@221893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKitCocoa/DataTransferItem-getAsEntry.html
Tools/TestWebKitAPI/Tests/ios/DataInteractionTests.mm