Example usage for org.apache.commons.lang RandomStringUtils randomAlphabetic

List of usage examples for org.apache.commons.lang RandomStringUtils randomAlphabetic

Introduction

In this page you can find the example usage for org.apache.commons.lang RandomStringUtils randomAlphabetic.

Prototype

public static String randomAlphabetic(int count) 

Source Link

Document

Creates a random string whose length is the number of characters specified.

Characters will be chosen from the set of alphabetic characters.

Usage

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());
}