Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Ensure progressbar tests can run #21

Conversation

weierophinney
Copy link
Member

Since zend-progressbar is updated, it was time to test if the progressbar tests could run. The first hurdle was getting extensions installed; the second was discovering the tests as written could not work.

To fix that, I separated them into discrete APC and UploadProgress tests. From there, I attempted to install the extensions and run each.

As it turns out APC is uninstallable starting in PHP 5.5, so the APC tests cannot run regardless. I decided not to remove the support for now, on the off chance that people have figured out a workaround.

The UploadProgress tests, however, required changes to the mock adapter to allow forcing error situations to occur. I can now verify they actually run and pass.

Since zend-progressbar is updated, it was time to test if the
progressbar tests could run. The first hurdle was getting extensions
installed; the second was discovering the tests as written could not
work.

To fix that, I separated them into discrete APC and UploadProgress
tests. From there, I attempted to install the extensions and run each.

As it turns out APC is uninstallable starting in PHP 5.5, so the APC
tests cannot run regardless. I decided not to remove the support for
now, on the off chance that people have figured out a workaround.

The UploadProgress tests, however, required changes to the mock adapter
to allow forcing error situations to occur. I can now verify they
actually run and pass.
@weierophinney weierophinney added this to the 2.6.1 milestone Mar 2, 2016
@weierophinney weierophinney self-assigned this Mar 2, 2016
@weierophinney weierophinney merged commit 91ed961 into zendframework:master Mar 2, 2016
weierophinney added a commit that referenced this pull request Mar 2, 2016
weierophinney added a commit that referenced this pull request Mar 2, 2016
weierophinney added a commit that referenced this pull request Mar 2, 2016
@weierophinney weierophinney deleted the hotfix/updated-dependencies branch March 2, 2016 18:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant