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

Update tests #384

Merged
merged 16 commits into from
Jul 21, 2016
Merged

Update tests #384

merged 16 commits into from
Jul 21, 2016

Conversation

glennrfisher
Copy link
Contributor

This pull request updates the tests for Dialog, Language Translator, and Text to Speech.

This commit speeds up the Dialog test suite by using a single dialog application instead of creating a new dialog application for each test.

Note that some test errors were introduced and will be fixed in an upcoming commit.
This commit modifies the `getDialogFile` method to ensure that dialog files are downloaded to the user’s downloads directory with a unique name and proper extension.
- Verify that the file exists at the given path
- Verify that the extension of the downloaded file is correct
- Remove the downloaded file to avoid collisions with subsequent tests
The service is returning time in milliseconds since the Unix epoch instead of seconds. The resulting values are too large for a Swift `Int` and cannot be parsed by Freddy. These fields are optional, so that they will be populated after the bug has been fixed.
# Conflicts:
#	Source/DialogV1/Tests/DialogTests.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant