Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Unified Diff: test/webkit/fast/js/kde/statements-expected.txt

Issue 21070002: Migrate more tests from blink repository. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/webkit/fast/js/kde/statements.js ('k') | test/webkit/fast/js/kde/var_decl_init.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/fast/js/kde/statements-expected.txt
diff --git a/test/webkit/array-index-immediate-types-expected.txt b/test/webkit/fast/js/kde/statements-expected.txt
similarity index 80%
copy from test/webkit/array-index-immediate-types-expected.txt
copy to test/webkit/fast/js/kde/statements-expected.txt
index 0f74e1957f694d6b8d80078cb1f4576e4e7b66a1..838933f291c930112468f2d0a180242b69fb5e61 100644
--- a/test/webkit/array-index-immediate-types-expected.txt
+++ b/test/webkit/fast/js/kde/statements-expected.txt
@@ -21,18 +21,24 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-This test checks the behaviour of indexing an Array with immediate types.
+KDE JS Test
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS array[0] is "Zero"
-PASS array[null] is undefined
-PASS array[undefined] is undefined
-PASS array[true] is undefined
-PASS array[false] is undefined
-PASS putSelf([0], 0); is true
-PASS putSelf([0], 1/9); is true
+PASS testSwitch(0) is 'abcd'
+PASS testSwitch(1) is 'bcd'
+PASS testSwitch(2) is 'd'
+PASS testSwitch(false) is ''
+PASS testSwitch2(1) is 'a'
+PASS testSwitch2(2) is 'b'
+PASS testSwitch2(3) is 'd'
+PASS testSwitch2(-1) is 'cd'
+PASS testSwitch2('x') is 'cd'
+PASS testSwitch3(0) is 'cde'
+PASS testSwitch3(3) is 'de'
+PASS testSwitch3(4) is 'e'
+PASS testSwitch4(0) is 'ab'
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « test/webkit/fast/js/kde/statements.js ('k') | test/webkit/fast/js/kde/var_decl_init.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698