Skip to content

Enhanced A1-Test-App and A2-Test-App to automatically generate best download wait times#74

Open
MonteCreasor wants to merge 3 commits intodouglascraigschmidt:masterfrom
MonteCreasor:master
Open

Enhanced A1-Test-App and A2-Test-App to automatically generate best download wait times#74
MonteCreasor wants to merge 3 commits intodouglascraigschmidt:masterfrom
MonteCreasor:master

Conversation

@MonteCreasor
Copy link
Copy Markdown
Contributor

Added code to automatically adjust the waitForActivity() call for the DisplayImagesActivity. The calculation is based on the largest image in the image test set and takes into consideration the connection speed on each machine that it is run on. This solution does not require the students to ever have to make changes to waitTime constants. It has been tested on the fastest possible connection as well as the slowest possible connection (which takes roughly 10 minutes to download 6 images since I used GSM and GPRS, and I also tested it with EDGE speed).

I think you will get very few complaints with this design in the future. It is worth noting that Test4_SingleValidUrl is used to set the best wait time for the specific uses and their connection speed. The Images have also been changed: I remove 2 of the larger images that exceed 1000KB and replaced them with ones that are around 150KB (and those are to two largest now).

…it time for downloading multiple images depending on connection speeds and image sizes. This makes it unnecessary for students to ever need to adjust the wait time parameters for their specific hardware environment.
…it time for downloading multiple images depending on connection speeds and image sizes. This makes it unnecessary for students to ever need to adjust the wait time parameters for their specific hardware environment.
…it time for downloading multiple images depending on connection speeds and image sizes. This makes it unnecessary for students to ever need to adjust the wait time parameters for their specific hardware environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant