Kalervo Kujala
e00ae164f0
Catch multiline log function calls.
14 years ago
Kalervo Kujala
3fa8bba48e
Make 'make test' factors faster.
...
Profiling with firebug reveals that log and checkScrolling functions slow down
the 'make test' by factors.
Use insertAdjacentHtml in the log fucntion insteand of appending to
innerHTML. Also call checkScrolling function only when it is prudent to do
instead of unnecessarily in every log function call.
14 years ago
Adil Allawi
5a528944f0
Change the way Type 2 CID fonts are encoded. Move the cmap glyphs above the first 255 unicode values so that fillText does not change them and create an encoding to map characters to the glyphs.
14 years ago
Kalervo Kujala
6fc25241cc
Report results properly to test.py from driver.js.
...
If the PDFDoc creation failed in driver.js then that was not informed back to
test.py. This lead to State.remaining being off by one. And that did not let
the test to end as expected. Instead the test hung indefinitely.
This change now reveals TEST-UNEXPECTED-FAIL which was hidden previously.
14 years ago
Kalervo Kujala
7cbdc982c5
Report results properly to test.py from driver.js.
...
If the PDFDoc creation failed in driver.js then that was not informed back to
test.py. This lead to State.remaining being off by one. And that did not let
the test to end as expected. Instead the test hung indefinitely.
This change now reveals TEST-UNEXPECTED-FAIL which was hidden previously.
14 years ago
Kalervo Kujala
965193b38d
Keep the results visible in test_slave.html before quitting.
...
Currently the innerHTML is replaced with text:
Tests are finished.
CLOSE ME!
Instead of replacing the innerHTML prepend that text to it.
This way the user can still check the results of the test.
14 years ago
Kalervo Kujala
802f664baa
Indent the driver.js correctly.
14 years ago
notmasteryet
447ff0a059
Add JAI.pdf (issue #292 ) to the ref tests
14 years ago
notmasteryet
aad77fcc55
BaseFont and misc fonts fixes
14 years ago
Kalervo Kujala
56ed06e7ea
Refactor the lines that are over 80 characters long in driver.js.
14 years ago
Kalervo Kujala
9634eab60b
Use strict in user.js.
...
And correct the coding style according to gjslint.
14 years ago
Kalervo Kujala
30ecf43676
Correct the coding style according to gjslint for driver.js.
...
And remove stray tabs.
14 years ago
Brendan Dahl
4377eed920
Adding support for page rotation
14 years ago
Kalervo Kujala
25a6e09d78
Show browser-test results in pageNum/numPages format.
...
This is only for convenience in order to see how far in the pdf the test
currently is.
14 years ago
Kalervo Kujala
dc01974aa4
Create an example browser_manifest.json for windows.
14 years ago
Kalervo Kujala
b1ea9332b8
Avoid browser-test stoppage when task.pdfDoc is undefined.
...
If nextTask leaves task.pdfDoc as undefined then sendTaskResult will fail on
that. SendTaskResult tries to access task.pdfDoc.numPages which cannot
succeed. This leads to a complete stop in the browser-test.
14 years ago
Kalervo Kujala
17e02e3c39
Use strict in driver.js.
...
And declare undeclared variables.
14 years ago
sbarman
3c0ba19c88
Added new link file
14 years ago
Chris Jones
41bdf82137
Fix bug in ref-updating code
14 years ago
sbarman
4b132a7b3e
Added test for inline images
14 years ago
Artur Adib
02a6e3ffec
Updated test/pdfs link (intelisa.pdf)
14 years ago
notmasteryet
e9df0bb8ca
link to AESV2 encrypted file
14 years ago
Chris Jones
6f3fff5798
fix some bugs
14 years ago
Adil Allawi
8dbbbbb589
Add and wire in test files
14 years ago
Adil Allawi
9b3b49547a
Add test files with CID fonts
14 years ago
Chris Jones
452ba3d85b
#123 , part 2: move more PDF-page rendering stuff into pdf.js
14 years ago
Rob Sayre
e7e8e4f6c9
Fix wrong exception throwing syntax.
14 years ago
Saebekassebil
f88d05e3b5
Adding ASCIIHexDecode pdf to test/pdfs
14 years ago
Chris Jones
9c3aef1f19
remove State.masterMode
14 years ago
Adil Allawi
5d337b1c76
Added sample OpenOffice file to tests
14 years ago
Rob Sayre
4530384769
Add a make server target, fix paths to scripts.
14 years ago
Chris Jones
e8f98f4e16
add unicode test
14 years ago
Chris Jones
122d168b51
fix some bugs
14 years ago
Chris Jones
d4f49c05c5
fix another binary-mode issue
14 years ago
Rob Sayre
1aa0b390b9
Make sure to guard against load errors.
14 years ago
Rob Sayre
a4f8251d10
Make test driver a separate js file, eradicate some global variables.
14 years ago
Chris Jones
eb17d81316
fix test.py bug on windows and stomped failure messages
14 years ago
Rob Sayre
8031c7244c
Make it possible to run the server without any test browsers.
14 years ago
Rob Sayre
53dcb85072
Make reftest analyzer popup in masterMode when there are differences, if --reftest is specified.
14 years ago
Chris Jones
a564076b22
add another hackity hack to detect font loaded-ness
14 years ago
notmasteryet
5ece4da552
the "hieght" and the 72dpi<->96dpi fixes
14 years ago
Rob Sayre
aee8542ec0
Add a break statement, just in case.
14 years ago
Rob Sayre
a50136709f
Make the browser command dispatch table-driven and fix the --browser option.
14 years ago
Rob Sayre
781bcb674b
Clean some trailing whitespace.
14 years ago
Rob Sayre
42b7c7dfc6
Use AppleScript to close Chrome.
14 years ago
Rob Sayre
061c998ca2
Add Google Chrome to Mac example manifest.
14 years ago
Rob Sayre
6e82ccd073
Add sample browser manifest for Linux.
14 years ago
Rob Sayre
d5ef6e1b05
Add support for Google Chrome.
14 years ago
Chris Jones
76f1291284
convert twips->CSS pixels
14 years ago
Chris Jones
f77707814e
convert twips->CSS pixels
14 years ago