OCaml Forge
SCM

Detail: [#1343] JUnit: setting classname to the name of the test is wrong

Bugs: Browse | Download .csv | Monitor

[#1343] JUnit: setting classname to the name of the test is wrong

Date:
2013-11-09 00:17
Priority:
3
State:
Open
Submitted by:
Sylvain Le Gall (gildor-admin)
Assigned to:
Sylvain Le Gall (gildor-admin)
Severity:
normal
Component:
None
Product:
None
Resolution:
Accepted As Bug
Version:
None
 
URL:
Status:
 
Summary:
JUnit: setting classname to the name of the test is wrong

Detailed description
JUnit analysis think that tests with a '.' inside their name are classname.

We should remap the name to a fake hierarchy that matches a standard java hierarchy:

OASIS:1:OASIS:0:ValueParser:0:>= 3.11.1

->

classname = OASIS.OASIS.ValueParser
name = ">= 3.11.1"

to get rid of the :1:x check that their is no duplicate (and default to _1_x)

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item