Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / editor / text-editor-word-jumps-expected.txt
1 This test checks how text editor handles different movements: ctrl-left, ctrl-right, ctrl-shift-left, ctrl-backspace, alt-left, alt-right, alt-shift-left, alt-shift-right.
2
3 function testFunction(foo, bar)
4 {
5     someFunctionCall(bar);
6     var b = 42;
7     return a === 1 ? true : false;
8 }
9
10 Running: testCtrlRightArrow
11 |function testFunction(foo, bar)
12 function| testFunction(foo, bar)
13 function testFunction|(foo, bar)
14 function testFunction(|foo, bar)
15 function testFunction(foo|, bar)
16 function testFunction(foo,| bar)
17 function testFunction(foo, bar|)
18 function testFunction(foo, bar)|
19 |{
20 {|
21 |    someFunctionCall(bar);
22     someFunctionCall|(bar);
23     someFunctionCall(|bar);
24     someFunctionCall(bar|);
25     someFunctionCall(bar);|
26 |    var b = 42;
27     var| b = 42;
28     var b| = 42;
29     var b =| 42;
30     var b = 42|;
31     var b = 42;|
32 |    return a === 1 ? true : false;
33     return| a === 1 ? true : false;
34     return a| === 1 ? true : false;
35     return a ===| 1 ? true : false;
36     return a === 1| ? true : false;
37     return a === 1 ?| true : false;
38     return a === 1 ? true| : false;
39     return a === 1 ? true :| false;
40     return a === 1 ? true : false|;
41     return a === 1 ? true : false;|
42 |}
43 }|
44 }|
45
46 Running: testCtrlLeftArrow
47 }|
48 |}
49     return a === 1 ? true : false;|
50     return a === 1 ? true : false|;
51     return a === 1 ? true : |false;
52     return a === 1 ? true |: false;
53     return a === 1 ? |true : false;
54     return a === 1 |? true : false;
55     return a === |1 ? true : false;
56     return a |=== 1 ? true : false;
57     return |a === 1 ? true : false;
58     |return a === 1 ? true : false;
59 |    return a === 1 ? true : false;
60     var b = 42;|
61     var b = 42|;
62     var b = |42;
63     var b |= 42;
64     var |b = 42;
65     |var b = 42;
66 |    var b = 42;
67     someFunctionCall(bar);|
68     someFunctionCall(bar|);
69     someFunctionCall(|bar);
70     someFunctionCall|(bar);
71     |someFunctionCall(bar);
72 |    someFunctionCall(bar);
73 {|
74 |{
75 function testFunction(foo, bar)|
76 function testFunction(foo, bar|)
77 function testFunction(foo, |bar)
78 function testFunction(foo|, bar)
79 function testFunction(|foo, bar)
80 function testFunction|(foo, bar)
81 function |testFunction(foo, bar)
82 |function testFunction(foo, bar)
83 |function testFunction(foo, bar)
84
85 Running: testCtrlShiftRightArrow
86 |function testFunction(foo, bar)
87 >>function<<
88 >>function testFunction<<
89 >>function testFunction(<<
90 >>function testFunction(foo<<
91 >>function testFunction(foo,<<
92 >>function testFunction(foo, bar<<
93 >>function testFunction(foo, bar)<<
94 >>function testFunction(foo, bar)
95 <<
96 >>function testFunction(foo, bar)
97 {<<
98 >>function testFunction(foo, bar)
99 {
100 <<
101 >>function testFunction(foo, bar)
102 {
103     someFunctionCall<<
104 >>function testFunction(foo, bar)
105 {
106     someFunctionCall(<<
107 >>function testFunction(foo, bar)
108 {
109     someFunctionCall(bar<<
110 >>function testFunction(foo, bar)
111 {
112     someFunctionCall(bar);<<
113 >>function testFunction(foo, bar)
114 {
115     someFunctionCall(bar);
116 <<
117 >>function testFunction(foo, bar)
118 {
119     someFunctionCall(bar);
120     var<<
121 >>function testFunction(foo, bar)
122 {
123     someFunctionCall(bar);
124     var b<<
125 >>function testFunction(foo, bar)
126 {
127     someFunctionCall(bar);
128     var b =<<
129 >>function testFunction(foo, bar)
130 {
131     someFunctionCall(bar);
132     var b = 42<<
133 >>function testFunction(foo, bar)
134 {
135     someFunctionCall(bar);
136     var b = 42;<<
137 >>function testFunction(foo, bar)
138 {
139     someFunctionCall(bar);
140     var b = 42;
141 <<
142 >>function testFunction(foo, bar)
143 {
144     someFunctionCall(bar);
145     var b = 42;
146     return<<
147 >>function testFunction(foo, bar)
148 {
149     someFunctionCall(bar);
150     var b = 42;
151     return a<<
152 >>function testFunction(foo, bar)
153 {
154     someFunctionCall(bar);
155     var b = 42;
156     return a ===<<
157 >>function testFunction(foo, bar)
158 {
159     someFunctionCall(bar);
160     var b = 42;
161     return a === 1<<
162 >>function testFunction(foo, bar)
163 {
164     someFunctionCall(bar);
165     var b = 42;
166     return a === 1 ?<<
167 >>function testFunction(foo, bar)
168 {
169     someFunctionCall(bar);
170     var b = 42;
171     return a === 1 ? true<<
172 >>function testFunction(foo, bar)
173 {
174     someFunctionCall(bar);
175     var b = 42;
176     return a === 1 ? true :<<
177 >>function testFunction(foo, bar)
178 {
179     someFunctionCall(bar);
180     var b = 42;
181     return a === 1 ? true : false<<
182 >>function testFunction(foo, bar)
183 {
184     someFunctionCall(bar);
185     var b = 42;
186     return a === 1 ? true : false;<<
187 >>function testFunction(foo, bar)
188 {
189     someFunctionCall(bar);
190     var b = 42;
191     return a === 1 ? true : false;
192 <<
193 >>function testFunction(foo, bar)
194 {
195     someFunctionCall(bar);
196     var b = 42;
197     return a === 1 ? true : false;
198 }<<
199 >>function testFunction(foo, bar)
200 {
201     someFunctionCall(bar);
202     var b = 42;
203     return a === 1 ? true : false;
204 }<<
205
206 Running: testCtrlShiftLeftArrow
207 }|
208 >>}<<
209 >>
210 }<<
211 >>;
212 }<<
213 >>false;
214 }<<
215 >>: false;
216 }<<
217 >>true : false;
218 }<<
219 >>? true : false;
220 }<<
221 >>1 ? true : false;
222 }<<
223 >>=== 1 ? true : false;
224 }<<
225 >>a === 1 ? true : false;
226 }<<
227 >>return a === 1 ? true : false;
228 }<<
229 >>    return a === 1 ? true : false;
230 }<<
231 >>
232     return a === 1 ? true : false;
233 }<<
234 >>;
235     return a === 1 ? true : false;
236 }<<
237 >>42;
238     return a === 1 ? true : false;
239 }<<
240 >>= 42;
241     return a === 1 ? true : false;
242 }<<
243 >>b = 42;
244     return a === 1 ? true : false;
245 }<<
246 >>var b = 42;
247     return a === 1 ? true : false;
248 }<<
249 >>    var b = 42;
250     return a === 1 ? true : false;
251 }<<
252 >>
253     var b = 42;
254     return a === 1 ? true : false;
255 }<<
256 >>);
257     var b = 42;
258     return a === 1 ? true : false;
259 }<<
260 >>bar);
261     var b = 42;
262     return a === 1 ? true : false;
263 }<<
264 >>(bar);
265     var b = 42;
266     return a === 1 ? true : false;
267 }<<
268 >>someFunctionCall(bar);
269     var b = 42;
270     return a === 1 ? true : false;
271 }<<
272 >>    someFunctionCall(bar);
273     var b = 42;
274     return a === 1 ? true : false;
275 }<<
276 >>
277     someFunctionCall(bar);
278     var b = 42;
279     return a === 1 ? true : false;
280 }<<
281 >>{
282     someFunctionCall(bar);
283     var b = 42;
284     return a === 1 ? true : false;
285 }<<
286 >>
287 {
288     someFunctionCall(bar);
289     var b = 42;
290     return a === 1 ? true : false;
291 }<<
292 >>)
293 {
294     someFunctionCall(bar);
295     var b = 42;
296     return a === 1 ? true : false;
297 }<<
298 >>bar)
299 {
300     someFunctionCall(bar);
301     var b = 42;
302     return a === 1 ? true : false;
303 }<<
304 >>, bar)
305 {
306     someFunctionCall(bar);
307     var b = 42;
308     return a === 1 ? true : false;
309 }<<
310 >>foo, bar)
311 {
312     someFunctionCall(bar);
313     var b = 42;
314     return a === 1 ? true : false;
315 }<<
316 >>(foo, bar)
317 {
318     someFunctionCall(bar);
319     var b = 42;
320     return a === 1 ? true : false;
321 }<<
322 >>testFunction(foo, bar)
323 {
324     someFunctionCall(bar);
325     var b = 42;
326     return a === 1 ? true : false;
327 }<<
328 >>function testFunction(foo, bar)
329 {
330     someFunctionCall(bar);
331     var b = 42;
332     return a === 1 ? true : false;
333 }<<
334 >>function testFunction(foo, bar)
335 {
336     someFunctionCall(bar);
337     var b = 42;
338     return a === 1 ? true : false;
339 }<<
340
341 Running: testCtrlBackspace
342 ===============
343 function testFunction(foo, bar)
344 {
345     someFunctionCall(bar);
346     var b = 42;
347     return a === 1 ? true : false;
348 }
349 ===============
350 function testFunction(foo, bar)
351 {
352     someFunctionCall(bar);
353     var b = 42;
354     return a === 1 ? true : false;
355 <<
356 ===============
357 function testFunction(foo, bar)
358 {
359     someFunctionCall(bar);
360     var b = 42;
361     return a === 1 ? true : false;<<
362 ===============
363 function testFunction(foo, bar)
364 {
365     someFunctionCall(bar);
366     var b = 42;
367     return a === 1 ? true : false<<
368 ===============
369 function testFunction(foo, bar)
370 {
371     someFunctionCall(bar);
372     var b = 42;
373     return a === 1 ? true : <<
374 ===============
375 function testFunction(foo, bar)
376 {
377     someFunctionCall(bar);
378     var b = 42;
379     return a === 1 ? true <<
380 ===============
381 function testFunction(foo, bar)
382 {
383     someFunctionCall(bar);
384     var b = 42;
385     return a === 1 ? <<
386 ===============
387 function testFunction(foo, bar)
388 {
389     someFunctionCall(bar);
390     var b = 42;
391     return a === 1 <<
392 ===============
393 function testFunction(foo, bar)
394 {
395     someFunctionCall(bar);
396     var b = 42;
397     return a === <<
398 ===============
399 function testFunction(foo, bar)
400 {
401     someFunctionCall(bar);
402     var b = 42;
403     return a <<
404 ===============
405 function testFunction(foo, bar)
406 {
407     someFunctionCall(bar);
408     var b = 42;
409     return <<
410 ===============
411 function testFunction(foo, bar)
412 {
413     someFunctionCall(bar);
414     var b = 42;
415     <<
416 ===============
417 function testFunction(foo, bar)
418 {
419     someFunctionCall(bar);
420     var b = 42;
421 <<
422 ===============
423 function testFunction(foo, bar)
424 {
425     someFunctionCall(bar);
426     var b = 42;<<
427 ===============
428 function testFunction(foo, bar)
429 {
430     someFunctionCall(bar);
431     var b = 42<<
432 ===============
433 function testFunction(foo, bar)
434 {
435     someFunctionCall(bar);
436     var b = <<
437 ===============
438 function testFunction(foo, bar)
439 {
440     someFunctionCall(bar);
441     var b <<
442 ===============
443 function testFunction(foo, bar)
444 {
445     someFunctionCall(bar);
446     var <<
447 ===============
448 function testFunction(foo, bar)
449 {
450     someFunctionCall(bar);
451     <<
452 ===============
453 function testFunction(foo, bar)
454 {
455     someFunctionCall(bar);
456 <<
457 ===============
458 function testFunction(foo, bar)
459 {
460     someFunctionCall(bar);<<
461 ===============
462 function testFunction(foo, bar)
463 {
464     someFunctionCall(bar<<
465 ===============
466 function testFunction(foo, bar)
467 {
468     someFunctionCall(<<
469 ===============
470 function testFunction(foo, bar)
471 {
472     someFunctionCall<<
473 ===============
474 function testFunction(foo, bar)
475 {
476     <<
477 ===============
478 function testFunction(foo, bar)
479 {
480 <<
481 ===============
482 function testFunction(foo, bar)
483 {<<
484 ===============
485 function testFunction(foo, bar)
486 <<
487 ===============
488 function testFunction(foo, bar)<<
489 ===============
490 function testFunction(foo, bar<<
491 ===============
492 function testFunction(foo, <<
493 ===============
494 function testFunction(foo<<
495 ===============
496 function testFunction(<<
497 ===============
498 function testFunction<<
499 ===============
500 function <<
501 ===============
502 <<
503
504 Running: testAltRight
505 ====== CAMEL CASE MOVEMENTS ======
506 |function testMyCamelMove(foo, bar)
507 function| testMyCamelMove(foo, bar)
508 function test|MyCamelMove(foo, bar)
509 function testMy|CamelMove(foo, bar)
510 function testMyCamel|Move(foo, bar)
511 function testMyCamelMove|(foo, bar)
512 function testMyCamelMove(|foo, bar)
513 function testMyCamelMove(foo|, bar)
514 function testMyCamelMove(foo,| bar)
515 function testMyCamelMove(foo, bar|)
516 function testMyCamelMove(foo, bar)|
517 |{
518 {|
519 |    /* HelloWorld.TestSTRIng */
520     /*| HelloWorld.TestSTRIng */
521     /* Hello|World.TestSTRIng */
522     /* HelloWorld|.TestSTRIng */
523     /* HelloWorld.|TestSTRIng */
524     /* HelloWorld.Test|STRIng */
525     /* HelloWorld.TestSTR|Ing */
526     /* HelloWorld.TestSTRIng| */
527     /* HelloWorld.TestSTRIng */|
528 |    
529     |
530 |    var a = e === 2;    
531     var| a = e === 2;    
532     var a| = e === 2;    
533     var a =| e === 2;    
534     var a = e| === 2;    
535     var a = e ===| 2;    
536     var a = e === 2|;    
537     var a = e === 2;|    
538     var a = e === 2;    |
539 |{}
540 {}|
541 |}
542 }|
543 }|
544
545 Running: testAltLeft
546 }|
547 |}
548 {}|
549 |{}
550     var a = e === 2;    |
551     var a = e === 2|;    
552     var a = e === |2;    
553     var a = e |=== 2;    
554     var a = |e === 2;    
555     var a |= e === 2;    
556     var |a = e === 2;    
557     |var a = e === 2;    
558 |    var a = e === 2;    
559     |
560 |    
561     /* HelloWorld.TestSTRIng */|
562     /* HelloWorld.TestSTRIng |*/
563     /* HelloWorld.TestSTR|Ing */
564     /* HelloWorld.Test|STRIng */
565     /* HelloWorld.|TestSTRIng */
566     /* HelloWorld|.TestSTRIng */
567     /* Hello|World.TestSTRIng */
568     /* |HelloWorld.TestSTRIng */
569     |/* HelloWorld.TestSTRIng */
570 |    /* HelloWorld.TestSTRIng */
571 {|
572 |{
573 function testMyCamelMove(foo, bar)|
574 function testMyCamelMove(foo, bar|)
575 function testMyCamelMove(foo, |bar)
576 function testMyCamelMove(foo|, bar)
577 function testMyCamelMove(|foo, bar)
578 function testMyCamelMove|(foo, bar)
579 function testMyCamel|Move(foo, bar)
580 function testMy|CamelMove(foo, bar)
581 function test|MyCamelMove(foo, bar)
582 function |testMyCamelMove(foo, bar)
583 |function testMyCamelMove(foo, bar)
584 |function testMyCamelMove(foo, bar)
585
586 Running: testAltShiftRight
587 |function testMyCamelMove(foo, bar)
588 >>function<<
589 >>function test<<
590 >>function testMy<<
591 >>function testMyCamel<<
592 >>function testMyCamelMove<<
593 >>function testMyCamelMove(<<
594 >>function testMyCamelMove(foo<<
595 >>function testMyCamelMove(foo,<<
596 >>function testMyCamelMove(foo, bar<<
597 >>function testMyCamelMove(foo, bar)<<
598 >>function testMyCamelMove(foo, bar)
599 <<
600 >>function testMyCamelMove(foo, bar)
601 {<<
602 >>function testMyCamelMove(foo, bar)
603 {
604 <<
605 >>function testMyCamelMove(foo, bar)
606 {
607     /*<<
608 >>function testMyCamelMove(foo, bar)
609 {
610     /* Hello<<
611 >>function testMyCamelMove(foo, bar)
612 {
613     /* HelloWorld<<
614 >>function testMyCamelMove(foo, bar)
615 {
616     /* HelloWorld.<<
617 >>function testMyCamelMove(foo, bar)
618 {
619     /* HelloWorld.Test<<
620 >>function testMyCamelMove(foo, bar)
621 {
622     /* HelloWorld.TestSTR<<
623 >>function testMyCamelMove(foo, bar)
624 {
625     /* HelloWorld.TestSTRIng<<
626 >>function testMyCamelMove(foo, bar)
627 {
628     /* HelloWorld.TestSTRIng */<<
629 >>function testMyCamelMove(foo, bar)
630 {
631     /* HelloWorld.TestSTRIng */
632 <<
633 >>function testMyCamelMove(foo, bar)
634 {
635     /* HelloWorld.TestSTRIng */
636     <<
637 >>function testMyCamelMove(foo, bar)
638 {
639     /* HelloWorld.TestSTRIng */
640     
641 <<
642 >>function testMyCamelMove(foo, bar)
643 {
644     /* HelloWorld.TestSTRIng */
645     
646     var<<
647 >>function testMyCamelMove(foo, bar)
648 {
649     /* HelloWorld.TestSTRIng */
650     
651     var a<<
652 >>function testMyCamelMove(foo, bar)
653 {
654     /* HelloWorld.TestSTRIng */
655     
656     var a =<<
657 >>function testMyCamelMove(foo, bar)
658 {
659     /* HelloWorld.TestSTRIng */
660     
661     var a = e<<
662 >>function testMyCamelMove(foo, bar)
663 {
664     /* HelloWorld.TestSTRIng */
665     
666     var a = e ===<<
667 >>function testMyCamelMove(foo, bar)
668 {
669     /* HelloWorld.TestSTRIng */
670     
671     var a = e === 2<<
672 >>function testMyCamelMove(foo, bar)
673 {
674     /* HelloWorld.TestSTRIng */
675     
676     var a = e === 2;<<
677 >>function testMyCamelMove(foo, bar)
678 {
679     /* HelloWorld.TestSTRIng */
680     
681     var a = e === 2;    <<
682 >>function testMyCamelMove(foo, bar)
683 {
684     /* HelloWorld.TestSTRIng */
685     
686     var a = e === 2;    
687 <<
688 >>function testMyCamelMove(foo, bar)
689 {
690     /* HelloWorld.TestSTRIng */
691     
692     var a = e === 2;    
693 {}<<
694 >>function testMyCamelMove(foo, bar)
695 {
696     /* HelloWorld.TestSTRIng */
697     
698     var a = e === 2;    
699 {}
700 <<
701 >>function testMyCamelMove(foo, bar)
702 {
703     /* HelloWorld.TestSTRIng */
704     
705     var a = e === 2;    
706 {}
707 }<<
708 >>function testMyCamelMove(foo, bar)
709 {
710     /* HelloWorld.TestSTRIng */
711     
712     var a = e === 2;    
713 {}
714 }<<
715
716 Running: testAltShiftLeft
717 }|
718 >>}<<
719 >>
720 }<<
721 >>{}
722 }<<
723 >>
724 {}
725 }<<
726 >>;    
727 {}
728 }<<
729 >>2;    
730 {}
731 }<<
732 >>=== 2;    
733 {}
734 }<<
735 >>e === 2;    
736 {}
737 }<<
738 >>= e === 2;    
739 {}
740 }<<
741 >>a = e === 2;    
742 {}
743 }<<
744 >>var a = e === 2;    
745 {}
746 }<<
747 >>    var a = e === 2;    
748 {}
749 }<<
750 >>
751     var a = e === 2;    
752 {}
753 }<<
754 >>    
755     var a = e === 2;    
756 {}
757 }<<
758 >>
759     
760     var a = e === 2;    
761 {}
762 }<<
763 >>*/
764     
765     var a = e === 2;    
766 {}
767 }<<
768 >>Ing */
769     
770     var a = e === 2;    
771 {}
772 }<<
773 >>STRIng */
774     
775     var a = e === 2;    
776 {}
777 }<<
778 >>TestSTRIng */
779     
780     var a = e === 2;    
781 {}
782 }<<
783 >>.TestSTRIng */
784     
785     var a = e === 2;    
786 {}
787 }<<
788 >>World.TestSTRIng */
789     
790     var a = e === 2;    
791 {}
792 }<<
793 >>HelloWorld.TestSTRIng */
794     
795     var a = e === 2;    
796 {}
797 }<<
798 >>/* HelloWorld.TestSTRIng */
799     
800     var a = e === 2;    
801 {}
802 }<<
803 >>    /* HelloWorld.TestSTRIng */
804     
805     var a = e === 2;    
806 {}
807 }<<
808 >>
809     /* HelloWorld.TestSTRIng */
810     
811     var a = e === 2;    
812 {}
813 }<<
814 >>{
815     /* HelloWorld.TestSTRIng */
816     
817     var a = e === 2;    
818 {}
819 }<<
820 >>
821 {
822     /* HelloWorld.TestSTRIng */
823     
824     var a = e === 2;    
825 {}
826 }<<
827 >>)
828 {
829     /* HelloWorld.TestSTRIng */
830     
831     var a = e === 2;    
832 {}
833 }<<
834 >>bar)
835 {
836     /* HelloWorld.TestSTRIng */
837     
838     var a = e === 2;    
839 {}
840 }<<
841 >>, bar)
842 {
843     /* HelloWorld.TestSTRIng */
844     
845     var a = e === 2;    
846 {}
847 }<<
848 >>foo, bar)
849 {
850     /* HelloWorld.TestSTRIng */
851     
852     var a = e === 2;    
853 {}
854 }<<
855 >>(foo, bar)
856 {
857     /* HelloWorld.TestSTRIng */
858     
859     var a = e === 2;    
860 {}
861 }<<
862 >>Move(foo, bar)
863 {
864     /* HelloWorld.TestSTRIng */
865     
866     var a = e === 2;    
867 {}
868 }<<
869 >>CamelMove(foo, bar)
870 {
871     /* HelloWorld.TestSTRIng */
872     
873     var a = e === 2;    
874 {}
875 }<<
876 >>MyCamelMove(foo, bar)
877 {
878     /* HelloWorld.TestSTRIng */
879     
880     var a = e === 2;    
881 {}
882 }<<
883 >>testMyCamelMove(foo, bar)
884 {
885     /* HelloWorld.TestSTRIng */
886     
887     var a = e === 2;    
888 {}
889 }<<
890 >>function testMyCamelMove(foo, bar)
891 {
892     /* HelloWorld.TestSTRIng */
893     
894     var a = e === 2;    
895 {}
896 }<<
897 >>function testMyCamelMove(foo, bar)
898 {
899     /* HelloWorld.TestSTRIng */
900     
901     var a = e === 2;    
902 {}
903 }<<
904