summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/oc/50617-boxed_receiver.m
blob: e4c247fde7b86d1c913044e75a85917834302677 (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
28
29
30
31
32
33
34
35
36
37
#import <Foundation/Foundation.h>

@implementation TestClass

- (NSDictionary *)constructUploadHeaders {
    NSDictionary *headers;

    headers = @{
        @"Content-Length": [@(contentLength) stringValue],
        @"Content-Length2": [contentLength stringValue],
        @"Content-Disposition": [NSString stringWithFormat:@"name=\"%@\"; filename=\"%@\"", @"asset_data", identifier],
        @"Content-Type": @"application/octet-stream",
        @"ETag": uploadEtag
    };

    return headers;
}

- (BOOL)isStrimmed {
    if ([(TestClassVideoEditorView *) (self.parentComponentsView.superview) isTrimmed]) {
        return YES;
    }
    if ([((TestClassVideoEditorView *) self.parentComponentsView.superview) isTrimmed]) {
        return YES;
    }
    return NO;
}

- (void)session {
    TestCaseSessionInstance *session = ((TestClassVideoEditorView *) self.parentComponentsView.superview).session;

    [(TestClassVideoEditorView *) (self.parentComponentsView.superview) closeEditor];

    [menubutton.badge setBadgeText:[@(count + 1) stringValue]];
}

@end