expect(mockInstallStatusEventFactory.create(InstallEventType.FILE_REMOVE_STARTED)).andReturn( mockFileRemoveStartedStatusEvent); expectLastCall().times(times); expect(mockInstallStatusEventFactory.create(InstallEventType.FILE_REMOVE_COMPLETE)).andReturn( mockFileRemoveCompleteStatusEvent); expectLastCall().times(times); mockInstallStatusListener.handleInstallStatusEvent(mockFileRemoveStartedStatusEvent); expectLastCall().times(times); mockInstallStatusListener.handleInstallStatusEvent(mockFileRemoveCompleteStatusEvent); expectLastCall().times(times);
expect(mockInstallStatusEventFactory.create(InstallEventType.FILE_INSTALL_STARTED)).andReturn( mockFileInstallStartedStatusEvent); expectLastCall().times(times); mockInstallStatusListener.handleInstallStatusEvent(mockFileInstallStartedStatusEvent); expectLastCall().times(times); expect(mockInstallStatusEventFactory.create(InstallEventType.FILE_INSTALL_COMPLETE)).andReturn( mockFileInstallCompleteStatusEvent); expectLastCall().times(times); mockInstallStatusListener.handleInstallStatusEvent(mockFileInstallCompleteStatusEvent); expectLastCall().times(times);
Clone fragments detected by clone detection tool
File path: /sql12/test/src/net/sourceforge/squirrel_sql/client/update/gui/installer/ArtifactInstallerImplTest.java File path: /sql12/test/src/net/sourceforge/squirrel_sql/client/update/gui/installer/ArtifactInstallerImplTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
expect(mockInstallStatusEventFactory.create(InstallEventType.FILE_REMOVE_STARTED)).andReturn(
1
expect(mockInstallStatusEventFactory.create(InstallEventType.FILE_INSTALL_STARTED)).andReturn(
2
				mockFileRemoveStartedStatusEvent);
2
				mockFileInstallStartedStatusEvent);
3
			expectLastCall().times(times);
3
			expectLastCall().times(times);
4
			expect(mockInstallStatusEventFactory.create(InstallEventType.FILE_REMOVE_COMPLETE)).andReturn(
4
			mockInstallStatus
5
				mockFileRemoveCompleteStatusEvent);
5
Listener.handleInstallStatusEvent(mockFileInstallStartedStatusEvent);
6
			expectLastCall().times(times);
6
			expectLastCall().times(times);
7
			mockInstallStatusListener.handleInstallStatusEvent(mockFileRemoveStar
7
			expect(mockInstallStatusEventFactory.create(InstallEventType.FILE_INSTALL_COMPLETE)).andReturn(
8
tedStatusEvent);
8
				mockFileInstallCompleteStatusEvent);
9
			expectLastCall().times(times);
9
			expectLastCall().times(times);
10
			mockInstallStatusListener.handleInstallStatusEvent(mockFileRemoveCompleteStatusEvent);
10
			mockInstallStatusListener.handleInstallStatusEvent(mockFileInstallCompleteStatusEvent);
11
			expectLastCall().times(times);
11
			expectLastCall().times(times);
12
		
12
		
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0