Revision 37822 branches/v2_0_0_prep/extensions/org.gvsig.installer/org.gvsig.installer.lib/org.gvsig.installer.lib.impl/src/test/java/org/gvsig/installer/lib/impl/execution/InstallPackageServiceTest.java

View differences:

InstallPackageServiceTest.java
85 85
			throws InstallPackageServiceException, IOException,
86 86
			LocatorException, MakePluginPackageServiceException {
87 87
		File installersDirectory = super.getInstallersDirectory();
88
		File pluginsDirectory = super.getPluginsDirectory();
89 88
		File applicationDirectory = super.getApplicationDirectory();
90 89

  
91 90
		InstallPackageService installerExecutionService = InstallerLocator
......
101 100

  
102 101
		// Reading the excution and check that the file is installed
103 102
		MakePluginPackageService installerCreationService = InstallerLocator
104
				.getInstallerManager().getMakePluginPackageService(
105
						pluginsDirectory);
103
				.getInstallerManager().getMakePluginPackageService();
106 104
		Assert
107 105
				.assertEquals(4, installerCreationService
108 106
						.getPluginPackageCount());
......
115 113
		File externalInstallationFile = new File(applicationDirectory
116 114
				.getAbsoluteFile()
117 115
				+ File.separator + "install" + File.separator + "bundle1.zip");
118
		File pluginsDirectory = super.getPluginsDirectory();
119 116

  
120 117
		InstallPackageService installerExecutionService = InstallerLocator
121 118
				.getInstallerManager().getInstallPackageService();
......
131 128

  
132 129
		// Reading the excution and check that the file is installed
133 130
		MakePluginPackageService installerCreationService = InstallerLocator
134
				.getInstallerManager().getMakePluginPackageService(
135
						pluginsDirectory);
131
				.getInstallerManager().getMakePluginPackageService();
136 132
		Assert
137 133
				.assertEquals(4, installerCreationService
138 134
						.getPluginPackageCount());

Also available in: Unified diff