DetailTableView.h 647 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
//
//  DetailViewController.h
//  LinphoneTester
//
//  Created by guillaume on 28/05/2014.
//
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(int, TestState) { TestStateIdle, TestStatePassed, TestStateInProgress, TestStateFailed };

@interface TestItem : NSObject

@property(strong, nonatomic) NSString *suite;
@property(strong, nonatomic) NSString *name;
@property(nonatomic) TestState state;

- (id)initWithName:(NSString *)name fromSuite:(NSString *)suite;
+ (TestItem *)testWithName:(NSString *)name fromSuite:(NSString *)suite;

@end

24
@interface DetailTableView : UITableViewController
25 26 27 28

@property(strong, nonatomic) NSString *detailItem;

@end