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

Cocoa Touch tests should simulate a memory warning #24

Closed
boredzo opened this issue Sep 5, 2013 · 2 comments
Closed

Cocoa Touch tests should simulate a memory warning #24

boredzo opened this issue Sep 5, 2013 · 2 comments
Assignees
Milestone

Comments

@boredzo
Copy link
Owner

boredzo commented Sep 5, 2013

A test case in the Cocoa Touch test bundle target could and should post the notification that ordinarily the system posts in the event of a memory warning, in order to test that the ISO 8601 Date Formatter responds appropriately.

@boredzo
Copy link
Owner Author

boredzo commented Sep 5, 2013

Such a test will currently fail, because the date formatter expects you to tell it to drop its caches whenever you need to; it does not observe for the memory warning notification itself.

@boredzo
Copy link
Owner Author

boredzo commented Sep 5, 2013

This should be in a separate test case class from the one we currently have, and the new class should be located within the ISO8601ForCocoaTouchTests group and only a member of that target.

@ghost ghost assigned boredzo Oct 3, 2013
@boredzo boredzo closed this as completed in a9b6973 Oct 4, 2013
boredzo added a commit that referenced this issue Oct 4, 2013
Fixes the last remaining memory-warning-related test failure. Refs #24.
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

No branches or pull requests

1 participant