-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Inline the default Factory-definitions in getDocument
#19341
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
Inline the default Factory-definitions in getDocument
#19341
Conversation
/botio-linux test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/4def0cfce396a54/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/4def0cfce396a54/output.txt Total script time: 28.18 mins
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me, with the comment below answered/addressed. Thank you!
- Most of the these are only used in the `src/display/api.js` file, and this leads to slightly shorter code. - A number of unit-tests need a `BaseCanvasFactory`-instance, however that one is available through the `PDFDocumentProxy`-instance nowadays. - For other unit-tests the remaining necessary default Factory-definitions can be moved into the `test/unit/test_utils.js` file.
4ac15a5
to
db43f15
Compare
/botio-linux unittest |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/a98d29528c03b72/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/a98d29528c03b72/output.txt Total script time: 2.33 mins
|
Most of the these are only used in the
src/display/api.js
file, and this leads to slightly shorter code.A number of unit-tests need a
BaseCanvasFactory
-instance, however that one is available through thePDFDocumentProxy
-instance nowadays.For other unit-tests the remaining necessary default Factory-definitions can be moved into the
test/unit/test_utils.js
file.