This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 234068 - NbTestCase.abbrevCapitals returns empty string when name does not contain uppercase characters
Summary: NbTestCase.abbrevCapitals returns empty string when name does not contain upp...
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: NB JUnit (show other bugs)
Version: 7.4
Hardware: All All
: P1 normal (vote)
Assignee: Jiri Skrivanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-07 10:26 UTC by Jiri Skrivanek
Modified: 2013-08-08 02:28 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2013-08-07 10:26:26 UTC
Alexander Ioffe pointed me out that some tests fail while cleaning workdir. I found out that problem is in NbTestCase.abbrevCapitals() which returns empty string for test method names without uppercase letters (e.g. "test1", "test_12345", "testabcd", "test_a", "abcd", etc.). I will fix it by returning just method name because such cases are rare.
Comment 1 Jiri Skrivanek 2013-08-07 10:28:39 UTC
Fixed in main #814fa92dfdbb.
Comment 2 Quality Engineering 2013-08-08 02:28:41 UTC
Integrated into 'main-silver', will be available in build *201308072300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/814fa92dfdbb
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #234068 - NbTestCase.abbrevCapitals should not return empty string when name does not contain uppercase characters.