fleet/server/mdm/android/tests
Victor Lyuboslavsky 67b72764c5
Added Android activity and better handling of deleted users. (#26640)
For #26218

- Added `users_deleted` table to track user actions if the user was
actually deleted.
- Added enable/disable Android MDM activities

Note: I could not auto-generate fleet.Service mock because it has issues
with methods that don't return anything. I ended up using testify mock
instead.

# Checklist for submitter

- [x] If database migrations are included, checked table schema to
confirm autoupdate
- For database migrations:
- [x] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [x] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [x] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [x] Added/updated automated tests
- [x] Manual QA for all new/changed functionality
2025-02-27 14:19:15 -06:00
..
enterprise Added Android activity and better handling of deleted users. (#26640) 2025-02-27 14:19:15 -06:00
http.go Added GET enterprise API endpoint. (#26555) 2025-02-26 10:47:05 -06:00
README.md Added GET enterprise API endpoint. (#26555) 2025-02-26 10:47:05 -06:00
testing_utils.go Added Android activity and better handling of deleted users. (#26640) 2025-02-27 14:19:15 -06:00

This package contains API Android tests with the real Android service and Android MySQL database.

We use testify Suite to run these tests. Since testify Suite does not support parallel execution, we put each test in their own package/directory. This allows these tests to run in parallel because each package is a separate compile unit. If you create a large test, please put it in a separate file within the same Suite/package.