954829b037
Added tests that I forgot to commit with big debug.js removal. TBR=dgozman@chromium.org Bug: none Change-Id: I518dd254af116d391a2af96a6f6c11da457129a1 Reviewed-on: https://chromium-review.googlesource.com/1086375 Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Cr-Commit-Position: refs/heads/master@{#53507}
170 lines
3.4 KiB
Plaintext
170 lines
3.4 KiB
Plaintext
Tests for stepInto out different places.
|
|
|
|
Running test: testStepInOutBranch
|
|
|
|
function a() { #b(false); c(); };
|
|
function b(x) { if (x) { c(); }};
|
|
|
|
function a() { b(false); c(); };
|
|
function b(x) { #if (x) { c(); }};
|
|
function c() {};
|
|
|
|
function a() { b(false); c(); };
|
|
function b(x) { if (x) { c(); }#};
|
|
function c() {};
|
|
|
|
|
|
function a() { b(false); #c(); };
|
|
function b(x) { if (x) { c(); }};
|
|
|
|
function b(x) { if (x) { c(); }};
|
|
function c() {#};
|
|
a(); b(); c();
|
|
|
|
|
|
function a() { b(false); c(); #};
|
|
function b(x) { if (x) { c(); }};
|
|
|
|
|
|
Running test: testStepInOutTree
|
|
use stepInto..
|
|
|
|
function a() { #b(c(d()), d()); c(d()); d(); };
|
|
function b(x,y) { c(); };
|
|
|
|
function c(x) {};
|
|
function d() {#};
|
|
a(); b(); c(); d();
|
|
|
|
|
|
function a() { b(#c(d()), d()); c(d()); d(); };
|
|
function b(x,y) { c(); };
|
|
|
|
function b(x,y) { c(); };
|
|
function c(x) {#};
|
|
function d() {};
|
|
|
|
|
|
function a() { b(c(d()), #d()); c(d()); d(); };
|
|
function b(x,y) { c(); };
|
|
|
|
function c(x) {};
|
|
function d() {#};
|
|
a(); b(); c(); d();
|
|
|
|
|
|
function a() { #b(c(d()), d()); c(d()); d(); };
|
|
function b(x,y) { c(); };
|
|
|
|
function a() { b(c(d()), d()); c(d()); d(); };
|
|
function b(x,y) { #c(); };
|
|
function c(x) {};
|
|
|
|
function b(x,y) { c(); };
|
|
function c(x) {#};
|
|
function d() {};
|
|
|
|
function a() { b(c(d()), d()); c(d()); d(); };
|
|
function b(x,y) { c(); #};
|
|
function c(x) {};
|
|
|
|
|
|
function a() { b(c(d()), d()); #c(d()); d(); };
|
|
function b(x,y) { c(); };
|
|
|
|
function c(x) {};
|
|
function d() {#};
|
|
a(); b(); c(); d();
|
|
|
|
|
|
function a() { b(c(d()), d()); #c(d()); d(); };
|
|
function b(x,y) { c(); };
|
|
|
|
function b(x,y) { c(); };
|
|
function c(x) {#};
|
|
function d() {};
|
|
|
|
|
|
function a() { b(c(d()), d()); c(d()); #d(); };
|
|
function b(x,y) { c(); };
|
|
|
|
function c(x) {};
|
|
function d() {#};
|
|
a(); b(); c(); d();
|
|
|
|
|
|
function a() { b(c(d()), d()); c(d()); d(); #};
|
|
function b(x,y) { c(); };
|
|
|
|
use stepOver..
|
|
|
|
function a() { #b(c(d()), d()); c(d()); d(); };
|
|
function b(x,y) { c(); };
|
|
|
|
|
|
function a() { b(c(d()), d()); #c(d()); d(); };
|
|
function b(x,y) { c(); };
|
|
|
|
|
|
function a() { b(c(d()), d()); c(d()); #d(); };
|
|
function b(x,y) { c(); };
|
|
|
|
|
|
function a() { b(c(d()), d()); c(d()); d(); #};
|
|
function b(x,y) { c(); };
|
|
|
|
use stepOut..
|
|
|
|
function a() { #b(c(d()), d()); c(d()); d(); };
|
|
function b(x,y) { c(); };
|
|
|
|
|
|
Running test: testStepInOutSimple
|
|
use stepInto..
|
|
|
|
function a() { #b(); c(); }
|
|
function b() { c(); }
|
|
|
|
function a() { b(); c(); }
|
|
function b() { #c(); }
|
|
function c() {}
|
|
|
|
function b() { c(); }
|
|
function c() {#}
|
|
a(); b(); c();
|
|
|
|
function a() { b(); c(); }
|
|
function b() { c(); #}
|
|
function c() {}
|
|
|
|
|
|
function a() { b(); #c(); }
|
|
function b() { c(); }
|
|
|
|
function b() { c(); }
|
|
function c() {#}
|
|
a(); b(); c();
|
|
|
|
|
|
function a() { b(); c(); #}
|
|
function b() { c(); }
|
|
|
|
use stepOver..
|
|
|
|
function a() { #b(); c(); }
|
|
function b() { c(); }
|
|
|
|
|
|
function a() { b(); #c(); }
|
|
function b() { c(); }
|
|
|
|
|
|
function a() { b(); c(); #}
|
|
function b() { c(); }
|
|
|
|
use stepOut..
|
|
|
|
function a() { #b(); c(); }
|
|
function b() { c(); }
|
|
|