Skip to content

Conversation

@rogerk-apryse
Copy link

@rogerk-apryse rogerk-apryse commented Jan 15, 2026

  • DataExtraction_test.go: fixed values expected to be float's not int's. Int's were throwing an exception.

  • PDF2Html_test.go, PDF2Office_test.go: fixed path to the external module the tests need.

  • Enc_test.go, EncTest.php, EncTest.py, EntTest.rb: changed test from interactive (requiring user to enter the password "test") to automated so that the tests don't hang indefinitely waiting, or if there's not input, keep trying with wrong empty password.)

Small fixes to find the external module dependencies
The EncTest that the wrappers run is interactive (it asks the user to provide a password.) Changed it to non-interactive. This is needed so that they do not fail when ran from the CorePWSTester.
The Go DataExtraction_test was failing because of a call to set a new Rect with int values but the call expects floats.
for count < 3{
fmt.Println("A password required to open the document.")
var password string
fmt.Print("Please enter the password: \n")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove this line and also the commented out lines?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Addressing PR comments
- Fixes for the OCRTest samples to work with the IRIS OCR module if present. Before the change, if the module is present, and we are not requesting the use of that module, it was giving an error.
- Removed test case number 7 from these tests as it was previously removed from the CPP and Java tests but not from these. Test 7 is expected to fail.
Small fix for PHP OCRTest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants