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 53274 - Refactoring tests do not work
Summary: Refactoring tests do not work
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: rmatous
URL:
Keywords: REGRESSION, TEST
Depends on:
Blocks:
 
Reported: 2005-01-12 09:06 UTC by Tomas Hurka
Modified: 2008-12-22 18:52 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 Tomas Hurka 2005-01-12 09:06:06 UTC
Four refactoring tests (in refactoring/test) are failing. This is 
probably caused by recent changes in filesystems 
implementation. 

Refactoing renames folder using DataFolder.rename() method. 
Filesystems infrastructure correctly fires fileRenamed event. The 
problem is that FileObject returned by FileRenameEvent.getFile() 
has no children.
Comment 1 rmatous 2005-01-13 17:06:22 UTC
/cvs/openide/masterfs/src/org/netbeans/modules/masterfs/filebasedfs/children/ChildrenSupport.java,v
 new revision: 1.3; previous revision: 1.2

/cvs/openide/masterfs/src/org/netbeans/modules/masterfs/filebasedfs/fileobjects/BaseFileObj.java,v
 new revision: 1.5; previous revision: 1.4

/cvs/openide/masterfs/src/org/netbeans/modules/masterfs/filebasedfs/naming/FileName.java,v
 new revision: 1.3; previous revision: 1.2

/cvs/openide/masterfs/src/org/netbeans/modules/masterfs/filebasedfs/naming/NamingFactory.java,v
 new revision: 1.3; previous revision: 1.2
Comment 2 rmatous 2005-01-13 18:24:45 UTC
I have been seeing this this test failing whenever I start your tests,
please evaluate and if it has something to do with filesystems then
file new issue.

org.netbeans.test.refactoring.moveclass.MoveClassTest started
ideTestRunner] - passed: 0  failed: 1  errors: 0  total: 1
Comment 3 Tomas Hurka 2005-01-14 11:18:58 UTC
Refactoring tests are OK.