List of usage examples for org.apache.commons.lang RandomStringUtils randomAlphabetic
public static String randomAlphabetic(int count)
Creates a random string whose length is the number of characters specified.
Characters will be chosen from the set of alphabetic characters.
From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java
@Test(expected = StudioException.class) public void testDeploy() throws Exception { this.deploymentManagerSUT.deploy(null, RandomStringUtils.randomAlphabetic(10), createItemIdListMock()); }
From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java
@Test(expected = StudioException.class) public void testDeployInvalidSite() throws Exception { this.deploymentManagerSUT.deploy(null, RandomStringUtils.randomAlphabetic(10), createItemIdListMock()); }
From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java
@Test(expected = StudioException.class) public void testDeployInvalidItemList() throws Exception { this.deploymentManagerSUT.deploy(null, RandomStringUtils.randomAlphabetic(10), createItemIdListMock()); }
From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java
@Test(expected = StudioException.class) public void testDeployEmptyItemList() throws Exception { this.deploymentManagerSUT.deploy(null, RandomStringUtils.randomAlphabetic(10), createItemIdListMock()); }
From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java
@Test(expected = StudioException.class) public void testDeployItemDoesNotExist() throws Exception { this.deploymentManagerSUT.deploy(null, RandomStringUtils.randomAlphabetic(10), createItemIdListMock()); }
From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java
@Test(expected = StudioException.class) public void testStatus() throws Exception { this.deploymentManagerSUT.status(null, RandomStringUtils.randomAlphabetic(10), createDeploymentChannelMock()); }
From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java
@Test(expected = StudioException.class) public void testStatusInvalidSite() throws Exception { this.deploymentManagerSUT.status(null, RandomStringUtils.randomAlphabetic(10), createDeploymentChannelMock()); }
From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java
@Test(expected = StudioException.class) public void testStatusInvalidChannel() throws Exception { this.deploymentManagerSUT.status(null, RandomStringUtils.randomAlphabetic(10), createDeploymentChannelMock()); }
From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java
@Test(expected = StudioException.class) public void testStatusChannelUnavailable() throws Exception { this.deploymentManagerSUT.status(null, RandomStringUtils.randomAlphabetic(10), createDeploymentChannelMock()); }
From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java
@Test(expected = StudioException.class) public void testVersion() throws Exception { this.deploymentManagerSUT.version(null, RandomStringUtils.randomAlphabetic(10), createDeploymentChannelMock()); }