Skip to content

Commit 914ec37

Browse files
committed
Fix test baseline files
1 parent 6a1921c commit 914ec37

File tree

4 files changed

+115
-2
lines changed

4 files changed

+115
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pass

test/es6/rlexe.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,8 @@
871871
<test>
872872
<default>
873873
<files>generators-functionality.js</files>
874-
<compile-flags>-ES6Generators -ES6Classes -ES6DefaultArgs -debuglaunch -args summary -endargs</compile-flags>
874+
<baseline>generators-functionality.js.dbg.baseline</baseline>
875+
<compile-flags>-ES6Generators -ES6Classes -ES6DefaultArgs -debuglaunch -args summary -endargs</compile-flags>
875876
<tags>exclude_arm</tags>
876877
</default>
877878
</test>
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
Executing test #1 - Async keyword with a lambda expressions
2+
Executing test #2 - Async keyword with a lambda expressions and local variable captured and shadowed
3+
Executing test #3 - Async function in a statement
4+
Test #3 - Success function #1 called with result = '30'
5+
Test #3 - Success function #5 called with result = '30'
6+
Executing test #4 - Async function in an object
7+
Test #4 - Success function in a object #2 called with result = '12'
8+
Executing test #5 - Async classes
9+
Test #5 - Success async in a class #8 called with result = '10'
10+
Test #5 - Success async in a class #9 called with result = '10'
11+
Executing test #6 - Await in an async function
12+
Executing test #7 - Await keyword with a lambda expressions
13+
Executing test #8 - Async function with default arguments's value
14+
Executing test #9 - Promise in an Async function
15+
Executing test #10 - %AsyncFunction% constructor creates async functions analogous to Function constructor
16+
Executing test #11 - local variables with same names as formal parameters have proper redeclaration semantics (non-error cases, var and function)
17+
Executing test #12 - this value in async functions behaves like it does in normal functions
18+
Executing test #13 - arguments value in async functions behaves like it does in normal functions
19+
Executing test #14 - super value in async methods behaves like it does in normal methods
20+
Executing test #15 - Async function with formal captured in a lambda
21+
Executing test #16 - Async function with formal captured in a nested function
22+
Executing test #17 - Async function with formal captured in eval
23+
Executing test #18 - Async function with formal capturing in param scope
24+
Executing test #19 - Async function with formal capturing in param scope with eval in the body
25+
Executing test #20 - Async function with duplicate variable declaration in the body with eval
26+
Executing test #21 - Async function with duplicate variable declaration in the body with child having eval
27+
Executing test #22 - Async function with more than one await
28+
Executing test #23 - Async function with more than one await with branching
29+
Executing test #24 - Async function with an exception in an await expression
30+
Executing test #25 - Async functions throws on an await
31+
Executing test #26 - Awaiting a function with multiple awaits
32+
Executing test #27 - Async function with nested try-catch in the body
33+
Executing test #28 - Async function with try-catch and try-finally in the body
34+
Executing test #29 - Async function and with
35+
Executing test #30 - Async and arguments.callee
36+
Executing test #31 - Async and arguments.caller
37+
Executing test #32 - Async and split scope
38+
Test #32 - Success initial value of the formal is the same as the default param value
39+
Test #32 - Success initial value of the body symbol is the same as the default param value
40+
Executing test #33 - `then` is called with both onFulfilled and onRejected
41+
Test #33 - then: true, catch: true
42+
43+
Completion Results:
44+
Test #1 - Success lambda expression with no argument called with result = 'true'
45+
Test #1 - Success lambda expression with several arguments called with result = '60'
46+
Test #2 - Success lambda expression with single argument and no paren called with result = '12'
47+
Test #2 - Success lambda expression with a single argument a called with result = '12'
48+
Test #3 - Success function #2 called with result = '30'
49+
Test #3 - Success function #3 called with result = '-10'
50+
Test #3 - Success function #4 called with result = '12'
51+
Test #4 - Success function in a object #1 called with result = '12'
52+
Test #4 - Success function in a object #3 called with result = '12'
53+
Test #4 - Success function in a object #4 called with result = '12'
54+
Test #4 - Success function in a object #5 called with result = '12'
55+
Test #4 - Success function in a object #6 called with result = '12'
56+
Test #5 - Success async in a class #1 called with result = '10'
57+
Test #5 - Success async in a class #2 called with result = '10'
58+
Test #5 - Success async in a class #3 called with result = '12'
59+
Test #5 - Success async in a class #4 called with result = '12'
60+
Test #5 - Success async in a class #5 called with result = '12'
61+
Test #5 - Success async in a class #6 called with result = '12'
62+
Test #5 - Success async in a class #7 called with result = '10'
63+
Test #5 - Success async in a class #10 called with result = '10'
64+
Test #8 - Success async function with default arguments's value overwritten #1 called with result = 'true'
65+
Test #8 - Success async function with default arguments's value #3 called with result = 'true'
66+
Test #11 - Success inner var x overwrote formal parameter x only after the declaration statement
67+
Test #11 - Success inner function x() overwrote formal parameter x
68+
Test #12 - Success this value set to 5
69+
Test #12 - Success this value set to { af: af, b: "abc" }
70+
Test #13 - Success result is 'ab' from arguments 'a' + 'b'
71+
Test #14 - Success result is 'base derived' from derived method call
72+
Test #15 - Success lambda returns 1 when no arguments passed
73+
Test #16 - Success nested function returns 1 when no arguments passed
74+
Test #17 - Success eval returns 1 when no arguments passed
75+
Test #18 - Success inner function declaration captures the body variable
76+
Test #18 - Success function defined in the param scope captures the param scope variable
77+
Test #19 - Success inner function declaration captures the body variable with eval in the body
78+
Test #19 - Success function defined in the param scope captures the param scope variable with eval in the body
79+
Test #20 - Success inner variable declaration shadows the formal
80+
Test #21 - Success inner variable declaration shadows the formal with eval in child function
81+
Test #27 - Success Caught the expected exception inside the inner catch in async body
82+
Test #27 - Success Caught the expected exception inside catch in async body
83+
Test #28 - Success Caught the expected exception inside the inner catch in async body
84+
Test #28 - Success finally block is executed in async body
85+
Test #30 - Success async function and arguments.callee
86+
Test #32 - Success updated value of the formal is the same as the value returned from the second async function
87+
Test #32 - Success updated value of the body symbol is the same as the value returned from the second async function
88+
Test #33 - Success caught the expected exception
89+
Test #6 - Success await in an async function #1 called with result = '-4'
90+
Test #6 - Success await in an async function #2 called with result = '2'
91+
Test #6 - Success await in an async function catch a rejected Promise in 'err'. Error = 'Error: My Error'
92+
Test #6 - Success await in an async function catch an error in 'err'. Error = '32'
93+
Test #7 - Success await keyword with a lambda expressions #1 called with result = '125'
94+
Test #7 - Success await keyword with a lambda expressions #1 called with result = '60'
95+
Test #9 - Success resolved promise in an async function #2 called with result = 'resolved'
96+
Test #10 - Success %AsyncFunction% created async function #1 called with result = '0'
97+
Test #23 - Success functions completes the first await call
98+
Test #23 - Success functions completes the second await call
99+
Test #24 - Success caught the expected exception
100+
Test #25 - Success caught the expected exception
101+
Test #31 - Success async function returned through caller property is the same as the original async function
102+
Test #32 - Success value returned through await is assigned to the formal
103+
Test #32 - Success value returned through await is not assigned to the formal
104+
Test #8 - Success async function with default arguments's value has been rejected as expected by 'err' #2 called with err = 'expected error'
105+
Test #9 - Success resolved promise in an async function #1 called with result = 'resolved'
106+
Test #9 - Success promise in an async function has been rejected as expected by 'err' #3 called with err = 'rejected'
107+
Test #22 - Success functions completes both await calls
108+
Test #29 - Success functions call inside with returns the right this object
109+
Test #31 - Success async function returned through caller property behaves the same way as the original async function
110+
Test #10 - Success %AsyncFunction% created async function #2 called with result = '6'
111+
Test #26 - Success Multiple awaits in the inner function completed

test/es7/rlexe.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<default>
2424
<files>asyncawait-functionality.js</files>
2525
<compile-flags>-es6experimental -nodeferparse -debuglaunch -args summary -endargs</compile-flags>
26-
<baseline>asyncawait-functionality.baseline</baseline>
26+
<baseline>asyncawait-functionality.js.dbg.baseline</baseline>
2727
</default>
2828
</test>
2929
<test>

0 commit comments

Comments
 (0)