spelling
authorEugene.Petrenko <eugene.petrenko@gmail.com>
Sun, 10 Jul 2011 10:40:29 +0000 (14:40 +0400)
committerEugene.Petrenko <eugene.petrenko@gmail.com>
Sun, 10 Jul 2011 10:40:29 +0000 (14:40 +0400)
nuget-agent/src/META-INF/build-agent-plugin-nuget.xml
nuget-agent/src/jetbrains/buildServer/nuget/agent/install/PackagesInstallerRunner.java
nuget-agent/src/jetbrains/buildServer/nuget/agent/parameters/PackagesParametersFactory.java [moved from nuget-agent/src/jetbrains/buildServer/nuget/agent/parameters/PackageInstallParametersFactory.java with 87% similarity]
nuget-agent/src/jetbrains/buildServer/nuget/agent/parameters/impl/PackagesParametersFactoryImpl.java [moved from nuget-agent/src/jetbrains/buildServer/nuget/agent/parameters/impl/PackageInstallParametersFactoryImpl.java with 92% similarity]
nuget-tests/src/jetbrains/buildServer/nuget/tests/integration/InstallPackageIntegtatoinTest.java

index e2836966c59e321c55586e45a73200be861d051a..2af26e40731ce05a68574b7ee40b6dc570c6b00e 100644 (file)
@@ -12,5 +12,5 @@
   <bean class="jetbrains.buildServer.nuget.agent.install.PackagesInstallerRunnerRegistrar"/>\r
 \r
   <bean class="jetbrains.buildServer.nuget.agent.install.impl.NuGetActionFactoryImpl"/>\r
-  <bean class="jetbrains.buildServer.nuget.agent.parameters.impl.PackageInstallParametersFactoryImpl"/>\r
+  <bean class="jetbrains.buildServer.nuget.agent.parameters.impl.PackagesParametersFactoryImpl"/>\r
 </beans>
\ No newline at end of file
index 952dba3a4857370c9905515a6a007b933f4d7000..7781c942a0e681448f9a1238397eb7c4a24f8567 100644 (file)
@@ -19,7 +19,7 @@ package jetbrains.buildServer.nuget.agent.install;
 import com.intellij.openapi.diagnostic.Logger;\r
 import jetbrains.buildServer.RunBuildException;\r
 import jetbrains.buildServer.agent.*;\r
-import jetbrains.buildServer.nuget.agent.parameters.PackageInstallParametersFactory;\r
+import jetbrains.buildServer.nuget.agent.parameters.PackagesParametersFactory;\r
 import jetbrains.buildServer.nuget.agent.parameters.PackagesInstallParameters;\r
 import jetbrains.buildServer.nuget.agent.util.DelegatingBuildProcess;\r
 import jetbrains.buildServer.nuget.agent.util.impl.CompositeBuildProcessImpl;\r
@@ -40,10 +40,10 @@ public class PackagesInstallerRunner implements AgentBuildRunner, AgentBuildRunn
   private static final Logger LOG = Logger.getInstance(PackagesInstallerRunner.class.getName());\r
 \r
   private final NuGetActionFactory myInstallActionFactory;\r
-  private final PackageInstallParametersFactory myParametersFactory;\r
+  private final PackagesParametersFactory myParametersFactory;\r
 \r
   public PackagesInstallerRunner(@NotNull final NuGetActionFactory installActionFactory,\r
-                                 @NotNull final PackageInstallParametersFactory parametersFactory) {\r
+                                 @NotNull final PackagesParametersFactory parametersFactory) {\r
     myInstallActionFactory = installActionFactory;\r
     myParametersFactory = parametersFactory;\r
   }\r
similarity index 87%
rename from nuget-agent/src/jetbrains/buildServer/nuget/agent/parameters/PackageInstallParametersFactory.java
rename to nuget-agent/src/jetbrains/buildServer/nuget/agent/parameters/PackagesParametersFactory.java
index 4852f74ec9aee0eec0c496c8e5e1c9f0f1ab45f6..14823a122419d46f6998307a17a08c8fc7b02a47 100644 (file)
@@ -18,14 +18,13 @@ package jetbrains.buildServer.nuget.agent.parameters;
 \r
 import jetbrains.buildServer.RunBuildException;\r
 import jetbrains.buildServer.agent.BuildRunnerContext;\r
-import jetbrains.buildServer.nuget.agent.parameters.PackagesInstallParameters;\r
 import org.jetbrains.annotations.NotNull;\r
 \r
 /**\r
  * Created by Eugene Petrenko (eugene.petrenko@gmail.com)\r
  * Date: 07.07.11 18:08\r
  */\r
-public interface PackageInstallParametersFactory {\r
+public interface PackagesParametersFactory {\r
   /**\r
    * Creates object-style implementation of parameters\r
    * @param context current build step context\r
similarity index 92%
rename from nuget-agent/src/jetbrains/buildServer/nuget/agent/parameters/impl/PackageInstallParametersFactoryImpl.java
rename to nuget-agent/src/jetbrains/buildServer/nuget/agent/parameters/impl/PackagesParametersFactoryImpl.java
index df5274275a4ec28ae8386c859bec0142952709ff..16107d9c41117c49824cc2df02d516db999c1946 100644 (file)
@@ -18,7 +18,7 @@ package jetbrains.buildServer.nuget.agent.parameters.impl;
 \r
 import jetbrains.buildServer.RunBuildException;\r
 import jetbrains.buildServer.agent.BuildRunnerContext;\r
-import jetbrains.buildServer.nuget.agent.parameters.PackageInstallParametersFactory;\r
+import jetbrains.buildServer.nuget.agent.parameters.PackagesParametersFactory;\r
 import jetbrains.buildServer.nuget.agent.parameters.PackagesInstallParameters;\r
 import jetbrains.buildServer.util.FileUtil;\r
 import jetbrains.buildServer.util.StringUtil;\r
@@ -37,7 +37,7 @@ import static jetbrains.buildServer.nuget.common.PackagesConstants.*;
  * Created by Eugene Petrenko (eugene.petrenko@gmail.com)\r
  * Date: 07.07.11 18:09\r
  */\r
-public class PackageInstallParametersFactoryImpl implements PackageInstallParametersFactory {\r
+public class PackagesParametersFactoryImpl implements PackagesParametersFactory {\r
   @NotNull\r
   public PackagesInstallParameters loadParameters(@NotNull final BuildRunnerContext context) throws RunBuildException {\r
     return new PackagesInstallParameters() {\r
index 43c865075643c7934ad54f53dc8c4ecb74abcec8..bdda71b456f1604d1dbe027db5ab19f606acd2fe 100644 (file)
@@ -21,7 +21,7 @@ import jetbrains.buildServer.ExecResult;
 import jetbrains.buildServer.RunBuildException;\r
 import jetbrains.buildServer.SimpleCommandLineProcessRunner;\r
 import jetbrains.buildServer.agent.*;\r
-import jetbrains.buildServer.nuget.agent.parameters.PackageInstallParametersFactory;\r
+import jetbrains.buildServer.nuget.agent.parameters.PackagesParametersFactory;\r
 import jetbrains.buildServer.nuget.agent.parameters.PackagesInstallParameters;\r
 import jetbrains.buildServer.nuget.agent.install.PackagesInstallerRunner;\r
 import jetbrains.buildServer.nuget.agent.install.impl.NuGetActionFactoryImpl;\r
@@ -53,7 +53,7 @@ public class InstallPackageIntegtatoinTest extends BuildProcessTestCase {
   private AgentRunningBuild myBuild;\r
   private BuildRunnerContext myContext;\r
   private BuildProgressLogger myLogger;\r
-  private PackageInstallParametersFactory myParametersFactory;\r
+  private PackagesParametersFactory myParametersFactory;\r
   private PackagesInstallParameters myParameters;\r
   private BuildProcess myMockProcess;\r
 \r
@@ -66,7 +66,7 @@ public class InstallPackageIntegtatoinTest extends BuildProcessTestCase {
     myBuild = m.mock(AgentRunningBuild.class);\r
     myContext = m.mock(BuildRunnerContext.class);\r
     myLogger = m.mock(BuildProgressLogger.class);\r
-    myParametersFactory = m.mock(PackageInstallParametersFactory.class);\r
+    myParametersFactory = m.mock(PackagesParametersFactory.class);\r
     myParameters = m.mock(PackagesInstallParameters.class);\r
     myMockProcess = m.mock(BuildProcess.class);\r
 \r