Submitted by Eelco Visser on 17 January 2013 at 16:15

On 17 January 2013 at 16:15 Eelco Visser tagged 0.34

On 17 January 2013 at 17:43 Vlad Vergu commented:

I now remember. The problem was the the string your function returned as the test name ended with a non-ASCII char. I didn’t fix the extractTestName function, but i instead cleaned up the string before using it:

	final char ch = name.charAt(name.length() - 1);
	final String l = String.valueOf(c);
	if (!l.equalsIgnoreCase("$") && !Character.isLetterOrDigit(ch)) {
		log.fatal("Got a barfed class: >>>" + name + "<<<");
		name = name.substring(0, name.length() - 1);
		log.fatal("Changed it to: >>>" + name + "<<<");
	}

Very inefficient, but it worked.


On 2 February 2013 at 17:43 Eelco Visser removed tag 0.34

On 2 February 2013 at 17:43 Eelco Visser tagged 0.35

On 4 February 2013 at 12:45 Eelco Visser removed tag 0.35

On 4 February 2013 at 12:45 Eelco Visser tagged 0.36

On 25 February 2013 at 09:07 Eelco Visser commented:

Changed extractTestName to always return a proper identifier.


On 25 February 2013 at 09:07 Eelco Visser closed this issue.

Log in to post comments