Combine local and session storage tests into one and use script-tests properly
authorjorlow@chromium.org <jorlow@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Oct 2009 23:47:20 +0000 (23:47 +0000)
committerjorlow@chromium.org <jorlow@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Oct 2009 23:47:20 +0000 (23:47 +0000)
commit2e7d2ce4d7bcd668e9f12b43a7a1dffb71947f85
treef0c086993fdf6c81549bfe33c5a0e683e760fc65
parent24aa0118fdc51c7b36b37ab7f8cfd9c9c32a61dd
Combine local and session storage tests into one and use script-tests properly
https://bugs.webkit.org/show_bug.cgi?id=30640

Patch by Jeremy Orlow <jorlow@chromium.org> on 2009-10-21
Reviewed by Darin Adler.

I was apparently misusing the script-tests stuff.  I changed all the tests to
test both local storage and session storage so that we can use the
make-test-script-wrappers stuff as is.

* storage/domstorage/clear-expected.txt: Added.
* storage/domstorage/clear.html: Added.
* storage/domstorage/complex-keys-expected.txt: Added.
* storage/domstorage/complex-keys.html: Added.
* storage/domstorage/complex-values-expected.txt: Added.
* storage/domstorage/complex-values.html: Added.
* storage/domstorage/localstorage/clear-expected.txt: Removed.
* storage/domstorage/localstorage/clear.html: Removed.
* storage/domstorage/localstorage/complex-keys-expected.txt: Removed.
* storage/domstorage/localstorage/complex-keys.html: Removed.
* storage/domstorage/localstorage/complex-values-expected.txt: Removed.
* storage/domstorage/localstorage/complex-values.html: Removed.
* storage/domstorage/localstorage/quota-expected.txt: Removed.
* storage/domstorage/localstorage/quota.html: Removed.
* storage/domstorage/localstorage/remove-item-expected.txt: Removed.
* storage/domstorage/localstorage/remove-item.html: Removed.
* storage/domstorage/quota-expected.txt: Added.
* storage/domstorage/quota.html: Added.
* storage/domstorage/remove-item-expected.txt: Added.
* storage/domstorage/remove-item.html: Added.
* storage/domstorage/script-tests/TEMPLATE.html: Added.
* storage/domstorage/script-tests/clear.js:
(test):
(runTest):
* storage/domstorage/script-tests/complex-keys.js:
(test):
(runTest):
* storage/domstorage/script-tests/complex-values.js:
(test):
(runTest):
* storage/domstorage/script-tests/no-quota.js: Removed.
* storage/domstorage/script-tests/quota.js:
(testQuota):
(testNoQuota):
(runTest):
* storage/domstorage/script-tests/remove-item.js:
(test):
(runTest):
* storage/domstorage/sessionstorage/clear-expected.txt: Removed.
* storage/domstorage/sessionstorage/clear.html: Removed.
* storage/domstorage/sessionstorage/complex-keys-expected.txt: Removed.
* storage/domstorage/sessionstorage/complex-keys.html: Removed.
* storage/domstorage/sessionstorage/complex-values-expected.txt: Removed.
* storage/domstorage/sessionstorage/complex-values.html: Removed.
* storage/domstorage/sessionstorage/no-quota-expected.txt: Removed.
* storage/domstorage/sessionstorage/no-quota.html: Removed.
* storage/domstorage/sessionstorage/remove-item-expected.txt: Removed.
* storage/domstorage/sessionstorage/remove-item.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49928 268f45cc-cd09-0410-ab3c-d52691b4dbfc
33 files changed:
LayoutTests/ChangeLog
LayoutTests/storage/domstorage/clear-expected.txt [moved from LayoutTests/storage/domstorage/localstorage/clear-expected.txt with 58% similarity]
LayoutTests/storage/domstorage/clear.html [new file with mode: 0644]
LayoutTests/storage/domstorage/complex-keys-expected.txt [moved from LayoutTests/storage/domstorage/sessionstorage/complex-keys-expected.txt with 51% similarity]
LayoutTests/storage/domstorage/complex-keys.html [new file with mode: 0644]
LayoutTests/storage/domstorage/complex-values-expected.txt [moved from LayoutTests/storage/domstorage/localstorage/complex-values-expected.txt with 50% similarity]
LayoutTests/storage/domstorage/complex-values.html [new file with mode: 0644]
LayoutTests/storage/domstorage/localstorage/clear.html [deleted file]
LayoutTests/storage/domstorage/localstorage/complex-keys-expected.txt [deleted file]
LayoutTests/storage/domstorage/localstorage/complex-keys.html [deleted file]
LayoutTests/storage/domstorage/localstorage/complex-values.html [deleted file]
LayoutTests/storage/domstorage/localstorage/quota.html [deleted file]
LayoutTests/storage/domstorage/localstorage/remove-item.html [deleted file]
LayoutTests/storage/domstorage/quota-expected.txt [moved from LayoutTests/storage/domstorage/localstorage/quota-expected.txt with 57% similarity]
LayoutTests/storage/domstorage/quota.html [new file with mode: 0644]
LayoutTests/storage/domstorage/remove-item-expected.txt [moved from LayoutTests/storage/domstorage/localstorage/remove-item-expected.txt with 53% similarity]
LayoutTests/storage/domstorage/remove-item.html [new file with mode: 0644]
LayoutTests/storage/domstorage/script-tests/TEMPLATE.html [new file with mode: 0644]
LayoutTests/storage/domstorage/script-tests/clear.js
LayoutTests/storage/domstorage/script-tests/complex-keys.js
LayoutTests/storage/domstorage/script-tests/complex-values.js
LayoutTests/storage/domstorage/script-tests/no-quota.js [deleted file]
LayoutTests/storage/domstorage/script-tests/quota.js
LayoutTests/storage/domstorage/script-tests/remove-item.js
LayoutTests/storage/domstorage/sessionstorage/clear-expected.txt [deleted file]
LayoutTests/storage/domstorage/sessionstorage/clear.html [deleted file]
LayoutTests/storage/domstorage/sessionstorage/complex-keys.html [deleted file]
LayoutTests/storage/domstorage/sessionstorage/complex-values-expected.txt [deleted file]
LayoutTests/storage/domstorage/sessionstorage/complex-values.html [deleted file]
LayoutTests/storage/domstorage/sessionstorage/no-quota-expected.txt [deleted file]
LayoutTests/storage/domstorage/sessionstorage/no-quota.html [deleted file]
LayoutTests/storage/domstorage/sessionstorage/remove-item-expected.txt [deleted file]
LayoutTests/storage/domstorage/sessionstorage/remove-item.html [deleted file]