summaryrefslogtreecommitdiff
path: root/SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLECallConfirmationStatusSpec.m
blob: c453c5d3b7792a6cedac21a596110c9029131a27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
//  SDLECallConfirmationStatusSpec.m
//  SmartDeviceLink


#import <Foundation/Foundation.h>

#import <Quick/Quick.h>
#import <Nimble/Nimble.h>

#import "SDLECallConfirmationStatus.h"

QuickSpecBegin(SDLECallConfirmationStatusSpec)

describe(@"Individual Enum Value Tests", ^ {
    it(@"Should match internal values", ^ {
        expect(SDLECallConfirmationStatusNormal).to(equal(@"NORMAL"));
        expect(SDLECallConfirmationStatusInProgress).to(equal(@"CALL_IN_PROGRESS"));
        expect(SDLECallConfirmationStatusCancelled).to(equal(@"CALL_CANCELLED"));
        expect(SDLECallConfirmationStatusCompleted).to(equal(@"CALL_COMPLETED"));
        expect(SDLECallConfirmationStatusUnsuccessful).to(equal(@"CALL_UNSUCCESSFUL"));
        expect(SDLECallConfirmationStatusConfiguredOff).to(equal(@"ECALL_CONFIGURED_OFF"));
        expect(SDLECallConfirmationStatusCompleteDtmfTimeout).to(equal(@"CALL_COMPLETE_DTMF_TIMEOUT"));
    });
});

QuickSpecEnd