asyncawait-functionality.baseline 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. Completion Results:
  21. Test #1 - Success lambda expression with no argument called with result = 'true'
  22. Test #1 - Success lambda expression with several arguments called with result = '60'
  23. Test #2 - Success lambda expression with single argument and no paren called with result = '12'
  24. Test #2 - Success lambda expression with a single argument a called with result = '12'
  25. Test #3 - Success function #2 called with result = '30'
  26. Test #3 - Success function #3 called with result = '-10'
  27. Test #3 - Success function #4 called with result = '12'
  28. Test #4 - Success function in a object #1 called with result = '12'
  29. Test #4 - Success function in a object #3 called with result = '12'
  30. Test #4 - Success function in a object #4 called with result = '12'
  31. Test #4 - Success function in a object #5 called with result = '12'
  32. Test #4 - Success function in a object #6 called with result = '12'
  33. Test #5 - Success async in a class #1 called with result = '10'
  34. Test #5 - Success async in a class #2 called with result = '10'
  35. Test #5 - Success async in a class #3 called with result = '12'
  36. Test #5 - Success async in a class #4 called with result = '12'
  37. Test #5 - Success async in a class #5 called with result = '12'
  38. Test #5 - Success async in a class #6 called with result = '12'
  39. Test #5 - Success async in a class #7 called with result = '10'
  40. Test #5 - Success async in a class #10 called with result = '10'
  41. Test #8 - Success async function with default arguments's value overwritten #1 called with result = 'true'
  42. Test #8 - Success async function with default arguments's value has been rejected as expected by 'err' #2 called with err = 'expected error'
  43. Test #8 - Success async function with default arguments's value #3 called with result = 'true'
  44. Test #11 - Success inner var x overwrote formal parameter x only after the declaration statement
  45. Test #11 - Success inner function x() overwrote formal parameter x
  46. Test #12 - Success this value set to 5
  47. Test #12 - Success this value set to { af: af, b: "abc" }
  48. Test #13 - Success result is 'ab' from arguments 'a' + 'b'
  49. Test #14 - Success result is 'base derived' from derived method call
  50. Test #6 - Success await in an async function #1 called with result = '-4'
  51. Test #6 - Success await in an async function #2 called with result = '2'
  52. Test #6 - Success await in an async function catch a rejected Promise in 'err'. Error = 'Error: My Error'
  53. Test #6 - Success await in an async function catch an error in 'err'. Error = '32'
  54. Test #7 - Success await keyword with a lambda expressions #1 called with result = '125'
  55. Test #7 - Success await keyword with a lambda expressions #1 called with result = '60'
  56. Test #9 - Success resolved promise in an async function #2 called with result = 'resolved'
  57. Test #10 - Success %AsyncFunction% created async function #1 called with result = '0'
  58. Test #9 - Success resolved promise in an async function #1 called with result = 'resolved'
  59. Test #9 - Success promise in an async function has been rejected as expected by 'err' #3 called with err = 'rejected'
  60. Test #10 - Success %AsyncFunction% created async function #2 called with result = '6'