Package com.microsoft.windowsazure.services.media.entityoperations

Examples of com.microsoft.windowsazure.services.media.entityoperations.EntityDeleteOperation


        assertEquals(tenMinutesAgo, payload.getStartTime());
    }

    @Test
    public void locatorDeleteReturnsExpectedUri() throws Exception {
        EntityDeleteOperation deleter = Locator.delete(exampleLocatorId);

        assertEquals(expectedLocatorUri, deleter.getUri());
    }
View Full Code Here


    }

    @Test
    public void deleteHasCorrectUri() throws Exception {
        String expectedUri = String.format("Files(%s)", encodedFileId);
        EntityDeleteOperation deleter = AssetFile.delete(exampleFileId);

        assertEquals(expectedUri, deleter.getUri());
    }
View Full Code Here

        assertEquals(expectedAltId, payload.getAlternateId());
    }

    @Test
    public void assetDeleteReturnsExpectedUri() throws Exception {
        EntityDeleteOperation deleter = Asset.delete(sampleAssetId);

        assertEquals(expectedUri, deleter.getUri());
    }
View Full Code Here

        assertEquals(expectedAltId, payload.getAlternateId());
    }

    @Test
    public void assetDeleteReturnsExpectedUri() throws Exception {
        EntityDeleteOperation deleter = Asset.delete(sampleAssetId);

        assertEquals(expectedUri, deleter.getUri());
    }
View Full Code Here

        assertEquals(2, lister.getQueryParameters().size());
    }

    @Test
    public void ContentKeyDeleteReturnsExpectedUri() throws Exception {
        EntityDeleteOperation deleter = ContentKey.delete(testContentKeyId);
        assertEquals(testExpectedContentKeyUri, deleter.getUri());
    }
View Full Code Here

        assertEquals(expectedName, payload.getName());
    }

    @Test
    public void NotificationEndPointDeleteReturnsExpectedUri() throws Exception {
        EntityDeleteOperation deleter = NotificationEndPoint
                .delete(sampleNotificationEndPointId);
        assertEquals(expectedUri, deleter.getUri());
    }
View Full Code Here

TOP

Related Classes of com.microsoft.windowsazure.services.media.entityoperations.EntityDeleteOperation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.