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

Use beforeAll/afterAll in CipherTransformFactory in crypto_spec.js (issue 6905) #7174

Merged
merged 1 commit into from
Apr 10, 2016
Merged

Use beforeAll/afterAll in CipherTransformFactory in crypto_spec.js (issue 6905) #7174

merged 1 commit into from
Apr 10, 2016

Conversation

Snuffleupagus
Copy link
Collaborator

This patch also adds/improves utility functions for checking if the passwords are correct/incorrect, and replaces string2binary with stringToBytes. Finally the patch does away with the DictMock, in favour of using actual Dicts.

Re: issue #6905.

_Note:_ Perhaps marginally easier reviewing with https://github.com/mozilla/pdf.js/compare/master...Snuffleupagus:issue-6905-crypto_spec?w=1.

….js (issue 6905

This patch also adds/improves utility functions for checking if the passwords are correct/incorrect, and replaces `string2binary` with `stringToBytes`. Finally the patch does away with the `DictMock`, in favour of using actual `Dict`s.

Re: issue 6905.
@Snuffleupagus Snuffleupagus changed the title Use beforeAll in CipherTransformFactory in crypto_spec.js (issue 6905) Use beforeAll/afterAll in CipherTransformFactory in crypto_spec.js (issue 6905) Apr 10, 2016
@Snuffleupagus
Copy link
Collaborator Author

/botio unittest

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_unittest from @Snuffleupagus received. Current queue size: 0

Live output at: http://107.22.172.223:8877/6d84b00796ebc67/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_unittest from @Snuffleupagus received. Current queue size: 0

Live output at: http://107.21.233.14:8877/a0e89809869376e/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/a0e89809869376e/output.txt

Total script time: 1.50 mins

  • Unit Tests: Passed

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://107.22.172.223:8877/6d84b00796ebc67/output.txt

Total script time: 1.72 mins

  • Unit Tests: Passed

@timvandermeij timvandermeij merged commit 5f925a5 into mozilla:master Apr 10, 2016
@timvandermeij
Copy link
Contributor

Nice work!

@Snuffleupagus Snuffleupagus deleted the issue-6905-crypto_spec branch April 10, 2016 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants