MarappPrashanth / sikuli-api

Automatically exported from code.google.com/p/sikuli-api
0 stars 0 forks source link

mvn test fails at testExtractInteger #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. mvn test

What is the expected output? What do you see instead?
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.sikuli.api.ColorImageTargetTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.65 sec
Running org.sikuli.api.ImageTargetTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.759 sec
Running org.sikuli.api.MultiStateTargetTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.433 sec
Running org.sikuli.api.ScreenRegionTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.909 sec <<< 
FAILURE!

Results :

Tests in error:
  testExtractInteger(org.sikuli.api.ScreenRegionTest): For input string: ""

What version of the product are you using? On what operating system?
1.0.2

Please provide any additional information below.

Original issue reported on code.google.com by mt...@umich.edu on 31 Jan 2013 at 1:54

GoogleCodeExporter commented 8 years ago
I can see this failure on Windows 7, but the test passes on Mac OS X 10.8.2 
(both systems running Java 7)

Original comment by nathan...@waisbrot.net on 28 Feb 2013 at 1:37

GoogleCodeExporter commented 8 years ago
Looks like the bug is somewhere below DigitRecognizer, which is not part of the 
publicly-shared code repository, so it's hard for me to debug further.  It's 
possible that the bug is way down in the opencv library for Windows...

Running org.sikuli.api.ScreenRegionTest
10:03:33.650 [main] TRACE org.sikuli.ocr.DigitRecognizer - [null] (53,409) 
score: 0.8372809886932373
10:03:33.729 [main] TRACE org.sikuli.ocr.DigitRecognizer - [null] (5,129) 
score: 0.6547338962554932
10:03:33.808 [main] TRACE org.sikuli.ocr.DigitRecognizer - [null] (113,129) 
score: 0.7145148515701294
10:03:33.886 [main] TRACE org.sikuli.ocr.DigitRecognizer - [null] (18,410) 
score: 0.7772827744483948
10:03:33.966 [main] TRACE org.sikuli.ocr.DigitRecognizer - [null] (29,409) 
score: 0.5939279198646545
10:03:34.045 [main] TRACE org.sikuli.ocr.DigitRecognizer - [4] (63,226) score: 
0.5172113180160522

10:03:34.484 [main] TRACE org.sikuli.ocr.DigitRecognizer - [null] (18,249) 
score: 0.8433857560157776
10:03:34.565 [main] TRACE org.sikuli.ocr.DigitRecognizer - [null] (18,249) 
score: 0.8433857560157776
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.421 sec <<< 
FAILURE!

Original comment by nathan...@waisbrot.net on 28 Feb 2013 at 3:14