[
https://issues.apache.org/jira/browse/NETBEANS-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bailey Campbell updated NETBEANS-2225:
--------------------------------------
Comment: was deleted
(was: Not sure I understand this comment.
BC
)
> Create/Update JUnit tests fail
> ------------------------------
>
> Key: NETBEANS-2225
> URL: https://issues.apache.org/jira/browse/NETBEANS-2225
> Project: NetBeans
> Issue Type: Bug
> Components: java - JUnit
> Affects Versions: 11.0
> Reporter: Bailey Campbell
> Priority: Major
>
> *[Generation of method access level specific
> tests|http://netbeans-vm.apache.org/synergy/client/app/index.html#/case/5957/suite/2370/v/1]*
> Test Case
> * *Steps:*
> ** For the project *JUnitSampleProjectAnt*:
> ### In the *Projects* panel, under *Source Packages > methodaccess* double
> click the file *Methods.java* to open it in the editor.
> ### From the *Tools* menu select *Create/Update Tests*.
> ### In the *Create/Update Tests* dialog there are three checkboxes named:
> **** *Public*
> **** *Protected*
> **** *Package Private*
> * If, and only if, *Public* was checked then method *testPublicMethod()*
> will be generated.
> * If, and only if, *Protected* was checked then method
> *testProtectedMethod()* will be generated.
> * If, and only if, *Package Private* was checked then method
> *testPackagePrivateMethod()* will be generated.
> *Acutal Results:*
> If you only select *Public* the testPublicMethod() is created, if you then
> unselect *Public* and select *Protected* the testProtectedMethod() is created
> but the testPublcMethod() remains.
> If you delete the MethodsT.java file between tests everything works fine.
> In general it appears the tests are not updated, ie new tests are added but
> old tests are not removed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists