Revision 33743 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/creation/MakePluginPackageServiceTest.java
MakePluginPackageServiceTest.java | ||
---|---|---|
110 | 110 |
InstallPackageService installPackageService = |
111 | 111 |
InstallerLocator.getInstallerManager().getInstallPackageService(); |
112 | 112 |
|
113 |
installPackageService.addBundle(installerFile.toURI());
|
|
113 |
installPackageService.addBundle(installerFile); |
|
114 | 114 |
assertEquals(1, installPackageService.getPackageCount()); |
115 | 115 |
PackageInfo newInstallerInfo = |
116 | 116 |
makePluginPackageService.getPluginPackageInfo(0); |
... | ... | |
138 | 138 |
// decompress the plugin and read the plugin information |
139 | 139 |
InstallPackageService installPackageService = |
140 | 140 |
InstallerLocator.getInstallerManager().getInstallPackageService(); |
141 |
installPackageService.addBundle(installerFile.toURI());
|
|
141 |
installPackageService.addBundle(installerFile); |
|
142 | 142 |
assertEquals(1, installPackageService.getPackageCount()); |
143 | 143 |
PackageInfo newInstallerInfo = |
144 | 144 |
makePluginPackageService.getPluginPackageInfo(0); |
... | ... | |
169 | 169 |
// decompress the plugin and read the plugin information |
170 | 170 |
InstallPackageService installPackageService = |
171 | 171 |
InstallerLocator.getInstallerManager().getInstallPackageService(); |
172 |
installPackageService.addBundle(installerFile.toURI());
|
|
172 |
installPackageService.addBundle(installerFile); |
|
173 | 173 |
assertEquals(1, installPackageService.getPackageCount()); |
174 | 174 |
PackageInfo newInstallerInfo = |
175 | 175 |
makePluginPackageService.getPluginPackageInfo(0); |
Also available in: Unified diff