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 testVersionInvalidSite() throws Exception {
    this.deploymentManagerSUT.version(null, RandomStringUtils.randomAlphabetic(10),
            createDeploymentChannelMock());
}

From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java

@Test(expected = StudioException.class)
public void testVersionInvalidChannel() throws Exception {
    this.deploymentManagerSUT.version(null, RandomStringUtils.randomAlphabetic(10),
            createDeploymentChannelMock());
}

From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java

@Test(expected = StudioException.class)
public void testVersionChannelUnavailable() throws Exception {
    this.deploymentManagerSUT.version(null, RandomStringUtils.randomAlphabetic(10),
            createDeploymentChannelMock());
}

From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java

@Test(expected = StudioException.class)
public void testAbort() throws Exception {
    this.deploymentManagerSUT.abort(null, RandomStringUtils.randomAlphabetic(10),
            createDeploymentChannelMock());
}

From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java

@Test(expected = StudioException.class)
public void testAbortInvalidSite() throws Exception {
    this.deploymentManagerSUT.abort(null, RandomStringUtils.randomAlphabetic(10),
            createDeploymentChannelMock());
}

From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java

@Test(expected = StudioException.class)
public void testAbortInvalidChannel() throws Exception {
    this.deploymentManagerSUT.abort(null, RandomStringUtils.randomAlphabetic(10),
            createDeploymentChannelMock());
}

From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java

@Test(expected = StudioException.class)
public void testAbortChannelUnavailable() throws Exception {
    this.deploymentManagerSUT.abort(null, RandomStringUtils.randomAlphabetic(10),
            createDeploymentChannelMock());
}

From source file:org.craftercms.studio.impl.forms.FormServiceImplTest.java

@Test(expected = StudioException.class)
public void testList() throws Exception {
    this.formsManagerSUT.list(null, RandomStringUtils.randomAlphabetic(10), createStringListMock());
}

From source file:org.craftercms.studio.impl.forms.FormServiceImplTest.java

@Test(expected = StudioException.class)
public void testListInvalidSite() throws Exception {
    this.formsManagerSUT.list(null, RandomStringUtils.randomAlphabetic(10), createStringListMock());
}

From source file:org.craftercms.studio.impl.forms.FormServiceImplTest.java

@Test(expected = StudioException.class)
public void testUpdate() throws Exception {
    this.formsManagerSUT.update(null, RandomStringUtils.randomAlphabetic(10), createFormDefinitionMock());
}