[
https://issues.apache.org/jira/browse/NETBEANS-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Trebbien updated NETBEANS-354:
-------------------------------------
Summary: InnerToOutterTest test248745 fails, but issue 248745 is not
reproducible (was: InnerToOutterTest test248745() fails, but issue 248745 is
not reproducible)
> InnerToOutterTest test248745 fails, but issue 248745 is not reproducible
> ------------------------------------------------------------------------
>
> Key: NETBEANS-354
> URL: https://issues.apache.org/jira/browse/NETBEANS-354
> Project: NetBeans
> Issue Type: Bug
> Components: java - Refactoring
> Reporter: Daniel Trebbien
> Priority: Major
>
> Steps to reproduce:
> # Open the refactoring.java project.
> # Expand Unit Test Packages > org.netbeans.modules.refactoring.java.test in
> the Projects window.
> # Right click on InnerToOutterTest.java and select "Test File". test248745
> will fail:
> {code:none}
> Testcase:
> test248745(org.netbeans.modules.refactoring.java.test.InnerToOutterTest):
> FAILED
> test248745 expected:<package t; []public class C { pub...> but was:<package
> t; [import static t.A.B; ]public class C { pub...>
> junit.framework.ComparisonFailure: test248745 expected:<package t; []public
> class C { pub...> but was:<package t; [import static t.A.B; ]public class C {
> pub...>
> at
> org.netbeans.modules.refactoring.java.test.RefactoringTestBase.verifyContent(RefactoringTestBase.java:125)
> at
> org.netbeans.modules.refactoring.java.test.InnerToOutterTest.test248745(InnerToOutterTest.java:149)
> {code}
> # Try the steps to reproduce for [issue
> 248745|https://netbeans.org/bugzilla/show_bug.cgi?id=248745]. The bug is not
> reproducible.
> # Set a breakpoint on the first line of test248745() (currently, line 145).
> Right click on InnerToOutterTest.java and select "Debug Test File". When the
> breakpoint is hit, simply continue execution. Now, all tests pass.
--
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