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

Create unit tests #26

Closed
gabelerner opened this issue Dec 7, 2014 · 2 comments
Closed

Create unit tests #26

gabelerner opened this issue Dec 7, 2014 · 2 comments
Labels

Comments

@gabelerner
Copy link
Member

From gabelerner@gmail.com on April 07, 2010 09:44:22

Just throwing around the idea, but since after the viewport/viewbox changes
everything on the test page is rendering exactly the same as the svgs, maybe
we can create a unit test page that loads the svgs one by one and does a
toDataUrl ( http://www.w3.org/TR/html5/the-canvas-element.html#dom-canvas- todataurl) on them, then compares that against the expected toDataUrl value.
Don't know if this would be different between browsers or not, but at least I
won't have to click through 20 links each time I check in.

Original issue: http://code.google.com/p/canvg/issues/detail?id=26

@gabelerner
Copy link
Member Author

From gabelerner@gmail.com on April 07, 2010 14:21:48

Labels: Priority-Low

@gabelerner
Copy link
Member Author

From gabelerner@gmail.com on April 07, 2010 20:16:29

closed by r40

Status: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant