asyncawait-functionality.baseline 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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 decalration in the body with eval
  26. Completion Results:
  27. Test #1 - Success lambda expression with no argument called with result = 'true'
  28. Test #1 - Success lambda expression with several arguments called with result = '60'
  29. Test #2 - Success lambda expression with single argument and no paren called with result = '12'
  30. Test #2 - Success lambda expression with a single argument a called with result = '12'
  31. Test #3 - Success function #2 called with result = '30'
  32. Test #3 - Success function #3 called with result = '-10'
  33. Test #3 - Success function #4 called with result = '12'
  34. Test #4 - Success function in a object #1 called with result = '12'
  35. Test #4 - Success function in a object #3 called with result = '12'
  36. Test #4 - Success function in a object #4 called with result = '12'
  37. Test #4 - Success function in a object #5 called with result = '12'
  38. Test #4 - Success function in a object #6 called with result = '12'
  39. Test #5 - Success async in a class #1 called with result = '10'
  40. Test #5 - Success async in a class #2 called with result = '10'
  41. Test #5 - Success async in a class #3 called with result = '12'
  42. Test #5 - Success async in a class #4 called with result = '12'
  43. Test #5 - Success async in a class #5 called with result = '12'
  44. Test #5 - Success async in a class #6 called with result = '12'
  45. Test #5 - Success async in a class #7 called with result = '10'
  46. Test #5 - Success async in a class #10 called with result = '10'
  47. Test #8 - Success async function with default arguments's value overwritten #1 called with result = 'true'
  48. Test #8 - Success async function with default arguments's value #3 called with result = 'true'
  49. Test #11 - Success inner var x overwrote formal parameter x only after the declaration statement
  50. Test #11 - Success inner function x() overwrote formal parameter x
  51. Test #12 - Success this value set to 5
  52. Test #12 - Success this value set to { af: af, b: "abc" }
  53. Test #13 - Success result is 'ab' from arguments 'a' + 'b'
  54. Test #14 - Success result is 'base derived' from derived method call
  55. Test #15 - Success lambda returns 1 when no arguments passed
  56. Test #16 - Success nested function returns 1 when no arguments passed
  57. Test #17 - Success eval returns 1 when no arguments passed
  58. Test #18 - Success inner function decalration captures the body variable
  59. Test #18 - Success function defined in the param scope captures the param scope variable
  60. Test #19 - Success inner function decalration captures the body variable with eval in the body
  61. Test #19 - Success function defined in the param scope captures the param scope variable with eval in the body
  62. Test #20 - Success inner variable decalration shadows the formal
  63. Test #6 - Success await in an async function #1 called with result = '-4'
  64. Test #6 - Success await in an async function #2 called with result = '2'
  65. Test #6 - Success await in an async function catch a rejected Promise in 'err'. Error = 'Error: My Error'
  66. Test #6 - Success await in an async function catch an error in 'err'. Error = '32'
  67. Test #7 - Success await keyword with a lambda expressions #1 called with result = '125'
  68. Test #7 - Success await keyword with a lambda expressions #1 called with result = '60'
  69. Test #9 - Success resolved promise in an async function #2 called with result = 'resolved'
  70. Test #10 - Success %AsyncFunction% created async function #1 called with result = '0'
  71. Test #8 - Success async function with default arguments's value has been rejected as expected by 'err' #2 called with err = 'expected error'
  72. Test #9 - Success resolved promise in an async function #1 called with result = 'resolved'
  73. Test #9 - Success promise in an async function has been rejected as expected by 'err' #3 called with err = 'rejected'
  74. Test #10 - Success %AsyncFunction% created async function #2 called with result = '6'