Author: adietish
Date: 2011-06-06 10:12:23 -0400 (Mon, 06 Jun 2011)
New Revision: 31846
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/src/org/jboss/ide/eclipse/as/archives/integration/test/SingleFileZippedDeploymentIntegrationTest.java
Log:
[JBIDE-9054] renamed local variables rm and cm to removed and changed so that the code
gets more readable/understandable
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/src/org/jboss/ide/eclipse/as/archives/integration/test/SingleFileZippedDeploymentIntegrationTest.java
===================================================================
---
trunk/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/src/org/jboss/ide/eclipse/as/archives/integration/test/SingleFileZippedDeploymentIntegrationTest.java 2011-06-06
13:35:47 UTC (rev 31845)
+++
trunk/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/src/org/jboss/ide/eclipse/as/archives/integration/test/SingleFileZippedDeploymentIntegrationTest.java 2011-06-06
14:12:23 UTC (rev 31846)
@@ -47,10 +47,10 @@
assertEquals(mods.length, 1);
server = ServerRuntimeUtils.addModule(server, mods[0]);
ServerRuntimeUtils.publish(server);
- int ch = MockPublishMethod.getChanged().length;
- int rm = MockPublishMethod.getRemoved().length;
- assertEquals(2,ch);
- assertEquals(1,rm);
+ int changed = MockPublishMethod.getChanged().length;
+ int removed = MockPublishMethod.getRemoved().length;
+ assertEquals(2,changed);
+ assertEquals(1,removed);
MockPublishMethod.reset();
// make workspace change, repeat
@@ -58,19 +58,19 @@
ServerRuntimeUtils.publish(server);
JobUtils.waitForIdle();
- ch = MockPublishMethod.getChanged().length;
- rm = MockPublishMethod.getRemoved().length;
- assertEquals(2,ch);
- assertEquals(1,rm);
+ changed = MockPublishMethod.getChanged().length;
+ removed = MockPublishMethod.getRemoved().length;
+ assertEquals(2,changed);
+ assertEquals(1,removed);
MockPublishMethod.reset();
server = ServerRuntimeUtils.removeModule(server, mods[0]);
ServerRuntimeUtils.publish(server);
JobUtils.waitForIdle();
- ch = MockPublishMethod.getChanged().length;
- rm = MockPublishMethod.getRemoved().length;
- assertEquals(0,ch);
- assertEquals(1,rm);
+ changed = MockPublishMethod.getChanged().length;
+ removed = MockPublishMethod.getRemoved().length;
+ assertEquals(0,changed);
+ assertEquals(1,removed);
MockPublishMethod.reset();
}
Show replies by date