Package com.microsoft.windowsazure.services.media.implementation.content

Examples of com.microsoft.windowsazure.services.media.implementation.content.TaskType


    @Test
    public void testGetSetRunningDuration() {
        // Arrange
        double expectedRunningDuration = 3;
        TaskInfo TaskInfo = new TaskInfo(null,
                new TaskType().setRunningDuration(expectedRunningDuration));

        // Act
        double actualRunningDuration = TaskInfo.getRunningDuration();

        // Assert
View Full Code Here


    @Test
    public void testGetSetStartTime() {
        // Arrange
        Date expectedStartTime = new Date();
        TaskInfo TaskInfo = new TaskInfo(null,
                new TaskType().setStartTime(expectedStartTime));

        // Act
        Date actualStartTime = TaskInfo.getStartTime();

        // Assert
View Full Code Here

    @Test
    public void testGetSetState() {
        // Arrange
        TaskState expectedState = TaskState.Completed;
        TaskInfo TaskInfo = new TaskInfo(null,
                new TaskType().setState(expectedState.getCode()));

        // Act
        TaskState actualState = TaskInfo.getState();

        // Assert
View Full Code Here

    @Test
    public void testGetSetTaskBody() {
        // Arrange
        String expectedTaskBody = "getSetTaskBody";
        TaskInfo TaskInfo = new TaskInfo(null,
                new TaskType().setTaskBody(expectedTaskBody));

        // Act
        String actualTaskBody = TaskInfo.getTaskBody();

        // Assert
View Full Code Here

    @Test
    public void testGetSetOptions() {
        // Arrange
        TaskOption expectedTaskOption = TaskOption.ProtectedConfiguration;
        TaskInfo TaskInfo = new TaskInfo(null,
                new TaskType().setOptions(expectedTaskOption.getCode()));

        // Act
        TaskOption actualTaskOption = TaskInfo.getOptions();

        // Assert
View Full Code Here

    @Test
    public void testGetSetEncryptionKeyId() {
        // Arrange
        String expectedEncryptionKeyId = "getSetEncryptionKeyId";
        TaskInfo taskInfo = new TaskInfo(null,
                new TaskType().setEncryptionKeyId(expectedEncryptionKeyId));

        // Act
        String actualEncryptionKeyId = taskInfo.getEncryptionKeyId();

        // Assert
View Full Code Here

    @Test
    public void testGetSetEncryptionScheme() {
        // Arrange
        String expectedEncryptionScheme = "getSetEncryptionScheme";
        TaskInfo taskInfo = new TaskInfo(null,
                new TaskType().setEncryptionScheme(expectedEncryptionScheme));

        // Act
        String actualEncryptionScheme = taskInfo.getEncryptionScheme();

        // Assert
View Full Code Here

    @Test
    public void testGetSetEncryptionVersion() {
        // Arrange
        String expectedEncryptionVersion = "1.5";
        TaskInfo taskInfo = new TaskInfo(null,
                new TaskType().setEncryptionVersion(expectedEncryptionVersion));

        // Act
        String actualEncryptionVersion = taskInfo.getEncryptionVersion();

        // Assert
View Full Code Here

    @Test
    public void testGetSetInitializationVector() {
        // Arrange
        String expectedInitializationVector = "testInitializationVector";
        TaskInfo taskInfo = new TaskInfo(null,
                new TaskType()
                        .setEncryptionVersion(expectedInitializationVector));

        // Act
        String actualInitializationVector = taskInfo.getEncryptionVersion();
View Full Code Here

TOP

Related Classes of com.microsoft.windowsazure.services.media.implementation.content.TaskType

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.