| Summary: | Invalid characters allowed as name of test assets | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Ben Chen <chenbs> |
| Component: | TPTP | Assignee: | Paul Slauenwhite <paulslau> |
| Status: | CLOSED WORKSFORME | QA Contact: | Kathy Chan <kathy> |
| Severity: | normal | ||
| Priority: | P2 | CC: | paulslau |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Paul, I recall seeing a test case covering this scenario in the Navigator test suite but cannot remember it on top of my head. If no such navigator test exists, shouldn't this test step be written as an individual navigator test instead of within the JUnit test suite? (In reply to comment #1) > Paul, I recall seeing a test case covering this scenario in the Navigator test > suite but cannot remember it on top of my head. If no such navigator test > exists, shouldn't this test step be written as an individual navigator test > instead of within the JUnit test suite? The only test suite that was removed was /org.eclipse.hyades.test.ui.navigator.tests/manual/Test.UI.TestNavigator_bugzilla_160861.testsuite: https://bugs.eclipse.org/bugs/show_bug.cgi?id=308686#c2 This is working as designed since name in the editor is the logical name (not the resource name), which is limited to the conditions of org.eclipse.hyades.test.ui.util.TestUIUtil.isLogicalNameValid(String), of which org.eclipse.hyades.ui.util.LocationValidator.validateEMFSegment(String) does not limit the !, *, (, and ) characters. Note, the wizard validates the resource and logical names since the same name is used to create the file/logical name. (In reply to comment #3) > This is working as designed since name in the editor is the logical name (not > the resource name), which is limited to the conditions of > org.eclipse.hyades.test.ui.util.TestUIUtil.isLogicalNameValid(String), of which > org.eclipse.hyades.ui.util.LocationValidator.validateEMFSegment(String) does > not limit the !, *, (, and ) characters. Note, the wizard validates the > resource and logical names since the same name is used to create the > file/logical name. Closing |
Build Identifier: TPTP-4.7.0-201005251601 related to Test.Execution.JUnitRunner case: Bugzilla_286952 Reproducible: Always Steps to Reproduce: 1.In the overview section of a test asset, change its name to contain any of the following: "!", "*", "(", ")" 2.Notice that the action is granted and the test asset is saved with the invalid name string