1// 2// TestHarness.h 3// GSSTestApp 4// 5// Created by Love Hörnquist Åstrand on 2013-06-07. 6// Copyright (c) 2013 Apple, Inc. All rights reserved. 7// 8 9#import <Foundation/Foundation.h> 10 11@protocol TestHarnessProtocol <NSObject> 12 13- (void)THPTestStart:(NSString *)name; 14- (void)THPTestOutput:(NSString *)name; 15- (void)THPTestComplete:(NSString *)name status:(bool)status duration:(float)durataion; 16- (void)THPSuiteComplete:(bool)status; 17 18 19@end 20 21@interface TestHarness : NSObject 22 23@property (weak) id<TestHarnessProtocol> delegate; 24 25+ (void)TestHarnessOutput:(NSString *)output; 26 27- (bool)runTests; 28 29 30@end 31