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 220105 - testKAndRStyle and testOpenSolarisStyle tests fails for 5 days
Summary: testKAndRStyle and testOpenSolarisStyle tests fails for 5 days
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Solaris
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-15 10:52 UTC by soldatov
Modified: 2012-10-16 02:03 UTC (History)
0 users

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 soldatov 2012-10-15 10:52:20 UTC
testKAndRStyle and testOpenSolarisStyle tests fails for 5 days

- Select OpenSolaris or K&R style
- Source code:
int f() {
    int i = 1;
    if (i == 1) {
        i = 2;
    }
    return 0;
}
- Reformat code

expected result:
int f()
{
......
}

real result:
int f() {
......
}
Comment 1 soldatov 2012-10-15 10:56:45 UTC
expected result (OpenSolaris style):
int
f()
{
......
}
Comment 2 Alexander Simon 2012-10-15 14:08:54 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/d41275772d92
Comment 3 Quality Engineering 2012-10-16 02:03:41 UTC
Integrated into 'main-golden', will be available in build *201210160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d41275772d92
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #220105 testKAndRStyle and testOpenSolarisStyle tests fails for 5 days