Fork me on GitHub

Namespace test.live.utils.Utils


Defined in: utils.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
test.live.utils.Utils.createTestSetup(blobs, tests)

Create a test object with test container and blobs from list.

<static>  
test.live.utils.Utils.errHandle(test)

Common error handler.

<static>  
test.live.utils.Utils.getUuid(len)

Create string UUID.

<static>  
test.live.utils.Utils.testContainerName(len)

Create test container name.

Namespace Detail
test.live.utils.Utils
Method Detail
<static> test.live.utils.Utils.createTestSetup(blobs, tests)

Create a test object with test container and blobs from list.

Parameters:
{Array} blobs
List of blobs to create.
{Object} tests
Object (hash) of tests.

<static> test.live.utils.Utils.errHandle(test)

Common error handler.

Parameters:
test

<static> test.live.utils.Utils.getUuid(len)

Create string UUID.

Parameters:
len

<static> test.live.utils.Utils.testContainerName(len)

Create test container name.

AWS:

  • Bucket names MUST be between 3 and 255 characters long.
  • Bucket names should be between 3 and 63 characters long.

Rackspace:

  • The URL encoded name must be less than 256 bytes and cannot contain a forward slash '/' character.
Parameters:
len