Skip to content

Commit

Permalink
Rename test methods
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenq committed Aug 20, 2024
1 parent 6e47936 commit b6ccaed
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions src/main/resources/versionchanges.txt
Original file line number Diff line number Diff line change
Expand Up @@ -253,5 +253,6 @@ Version 5.11.0 (7 March 2024)
Version 5.12.0 (24 June 2024)
- Upgrade to Tesseract 5.4.1

Version 5.13.0 (3 August 2024)
- Add a convenient method to get OSD data
Version 5.13.0 (20 August 2024)
- Add a convenient method to get OSD data
- Use default methods in interface to reduce code duplication
6 changes: 3 additions & 3 deletions src/test/java/net/sourceforge/tess4j/TessAPI1Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -462,13 +462,13 @@ public void testTessBaseAPIDetectOrientationScript() throws Exception {
}

/**
* Test of Orientation and script detection (OSD).
* Test of page orientation, writing direction and deskew angle detection.
*
* @throws Exception while processing the image.
*/
@Test
public void testOSD() throws Exception {
logger.info("OSD");
public void testTessPageIteratorOrientation() throws Exception {
logger.info("TessPageIteratorOrientation");
int expResult = TessPageSegMode.PSM_AUTO_OSD;
IntBuffer orientation = IntBuffer.allocate(1);
IntBuffer direction = IntBuffer.allocate(1);
Expand Down
8 changes: 4 additions & 4 deletions src/test/java/net/sourceforge/tess4j/TessAPITest.java
Original file line number Diff line number Diff line change
Expand Up @@ -465,13 +465,13 @@ public void testTessBaseAPIDetectOrientationScript() throws Exception {
}

/**
* Test of Orientation and script detection (OSD).
* Test of page orientation, writing direction and deskew angle detection.
*
* @throws Exception while processing image
* @throws Exception while processing the image
*/
@Test
public void testOSD() throws Exception {
logger.info("OSD");
public void testTessPageIteratorOrientation() throws Exception {
logger.info("TessPageIteratorOrientation");
int expResult = TessPageSegMode.PSM_AUTO_OSD;
IntBuffer orientation = IntBuffer.allocate(1);
IntBuffer direction = IntBuffer.allocate(1);
Expand Down

0 comments on commit b6ccaed

Please sign in to comment.