Change the test name testListAccount to reflect the api method listAccounts

This commit is contained in:
vijaykiran 2011-10-26 16:41:18 +02:00
parent 66499ad663
commit ed076a5c4a
1 changed files with 4 additions and 4 deletions

View File

@ -18,21 +18,21 @@
*/ */
package org.jclouds.cloudstack.features; package org.jclouds.cloudstack.features;
import static org.testng.Assert.assertEquals;
import org.jclouds.cloudstack.domain.Account; import org.jclouds.cloudstack.domain.Account;
import org.jclouds.cloudstack.domain.User; import org.jclouds.cloudstack.domain.User;
import org.testng.annotations.Test; import org.testng.annotations.Test;
import static org.testng.Assert.assertEquals;
/** /**
* Tests behavior of {@code AccountClient} * Tests behavior of {@code AccountClient}
* *
* @author Adrian Cole * @author Adrian Cole
*/ */
@Test(groups = "live", singleThreaded = true, testName = "AccountClientLiveTest") @Test(groups = "live", singleThreaded = true, testName = "AccountClientLiveTest")
public class AccountClientLiveTest extends BaseCloudStackClientLiveTest { public class AccountClientLiveTest extends BaseCloudStackClientLiveTest {
public void testListAccount() throws Exception { public void testListAccounts() throws Exception {
for (Account securityAccount : client.getAccountClient().listAccounts()) for (Account securityAccount : client.getAccountClient().listAccounts())
checkAccount(securityAccount); checkAccount(securityAccount);
} }