Revision: 5948
http://squirrel-sql.svn.sourceforge.net/squirrel-sql/?rev=5948&view=rev
Author: manningr
Date: 2010-10-30 18:23:43 +0000 (Sat, 30 Oct 2010)
Log Message:
-----------
Updated test for new installer event notification which causes the install started event to be created later in the update installation sequence.
Modified Paths:
--------------
trunk/sql12/app/src/test/java/net/sourceforge/squirrel_sql/client/update/gui/installer/ArtifactInstallerImplTest.java
Modified: trunk/sql12/app/src/test/java/net/sourceforge/squirrel_sql/client/update/gui/installer/ArtifactInstallerImplTest.java
===================================================================
--- trunk/sql12/app/src/test/java/net/sourceforge/squirrel_sql/client/update/gui/installer/ArtifactInstallerImplTest.java 2010-10-30 18:17:22 UTC (rev 5947)
+++ trunk/sql12/app/src/test/java/net/sourceforge/squirrel_sql/client/update/gui/installer/ArtifactInstallerImplTest.java 2010-10-30 18:23:43 UTC (rev 5948)
@@ -781,9 +781,11 @@
private void setupInstallEventsAndListener(int times)
{
expect(mockInstallStatusEventFactory.create(InstallEventType.INSTALL_STARTED)).andReturn(
- mockInstallStartedStatusEvent);
+ mockInstallStartedStatusEvent).anyTimes();
mockInstallStartedStatusEvent.setNumFilesToUpdate(anyInt());
+ expectLastCall().anyTimes();
mockInstallStatusListener.handleInstallStatusEvent(mockInstallStartedStatusEvent);
+ expectLastCall().anyTimes();
if (times != 0)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|