Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update kotlinx-coroutines-test #2973

Merged
merged 22 commits into from Nov 19, 2021
Merged

Commits on Nov 19, 2021

  1. Configuration menu
    Copy the full SHA
    1e26794 View commit details
    Browse the repository at this point in the history
  2. Improve deprecations

    dkhalanskyjb committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    e03d2fe View commit details
    Browse the repository at this point in the history
  3. Add some tests

    dkhalanskyjb committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    46b38e1 View commit details
    Browse the repository at this point in the history
  4. Small refactoring

    dkhalanskyjb committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    9ec7857 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cada696 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e2567fd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8aae9e7 View commit details
    Browse the repository at this point in the history
  8. Fixes

    dkhalanskyjb committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    3898c7f View commit details
    Browse the repository at this point in the history
  9. Fixes

    dkhalanskyjb committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    d6cf120 View commit details
    Browse the repository at this point in the history
  10. Reformat

    dkhalanskyjb committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    17aed1e View commit details
    Browse the repository at this point in the history
  11. Improve TestCoroutineScope (#2975)

    * Add more detailed documentation;
    * Move most verification logic from `runBlockingTest` to
      `cleanupTestCoroutines`
    Fixes #1749
    dkhalanskyjb committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    721b5fe View commit details
    Browse the repository at this point in the history
  12. Implement 'runTest' that waits for asynchronous completion (#2978)

    Implement a multiplatform runTest as an initial implementation of #1996.
    
    Fixes #1204
    Fixes #1222
    Fixes #1395
    Fixes #1881
    Fixes #1910
    Fixes #1772
    dkhalanskyjb committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    d9bc7ac View commit details
    Browse the repository at this point in the history
  13. Implement new test dispatchers (#2986)

    Defines two test dispatchers:
    * StandardTestDispatcher, which, combined with runTest,
      gives an illusion of an event loop;
    * UnconfinedTestDispatcher, which is like
      Dispatchers.Unconfined, but skips delays.
    
    By default, StandardTestDispatcher is used due to the somewhat
    chaotic execution order of Dispatchers.Unconfined.
    TestCoroutineDispatcher is deprecated.
    
    Fixes #1626
    Fixes #1742
    Fixes #2082
    Fixes #2102
    Fixes #2405
    Fixes #2462
    dkhalanskyjb committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    5c7d034 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ca6bf03 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    665cc43 View commit details
    Browse the repository at this point in the history
  16. Eagerly enter launch and async blocks with unconfined dispatcher (#3011)

    Also, fix `Dispatchers.Main` not delegating `Delay` methods and
    discover that, on JS, `Dispatchers.Main` gets reset during the test
    if it is reset in `AfterTest`.
    dkhalanskyjb committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    f979638 View commit details
    Browse the repository at this point in the history
  17. Implement TestScope (#3015)

    Co-authored-by: Vsevolod Tolstopyatov <qwwdfsad@gmail.com>
    dkhalanskyjb and qwwdfsad committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    c014717 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    96414ca View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ded719f View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    9d2a4c8 View commit details
    Browse the repository at this point in the history
  21. Fix build on Native

    dkhalanskyjb committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    af49d00 View commit details
    Browse the repository at this point in the history
  22. Fixes

    dkhalanskyjb committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    0ffeb0e View commit details
    Browse the repository at this point in the history