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

Android Test Suites #2039

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Commits on Mar 17, 2024

  1. Configuration menu
    Copy the full SHA
    ecfcb35 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b24603a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f93b133 View commit details
    Browse the repository at this point in the history
  4. Test: Don't mount testing/output directory on Android.

    In Android, the tests are running in fused mode. This means the source directory is not writeable.
    MikuAuahDark committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    e62145a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7503e61 View commit details
    Browse the repository at this point in the history
  6. Test: Add identity and disable DPI scaling.

    Needed for Android.
    MikuAuahDark committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    ffa3d2b View commit details
    Browse the repository at this point in the history
  7. Test: Skip (un)mountFullPath tests in Android

    The tests uses `getSource()` which is not supported when the test program run inside .love file or when fused.
    MikuAuahDark committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    6b38118 View commit details
    Browse the repository at this point in the history
  8. Test: Add necessary skips for mobile devices in love.window tests.

    In particular:
    * `love.window.getMode()` width and height always return the fullscreen dimensions.
    * Maximization function is undefined/unavailable.
    * Minimizing in mobile causes the test suites to be paused.
    MikuAuahDark committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    b61d09d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    51a40c9 View commit details
    Browse the repository at this point in the history
  10. Test: Skip love.window.restore tests and function that calls it.

    love.window.restore causes the app to be minimized in Android, pausing the execution. Note that this may actually work in multi-window scenario but for now skip them.
    MikuAuahDark committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    f4d8313 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5442419 View commit details
    Browse the repository at this point in the history