PageRenderTime 18ms CodeModel.GetById 10ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/GHUnitIOS.framework/Versions/A/Headers/GHUnitIOSViewController.h

http://github.com/zwaldowski/BlocksKit
C++ Header | 71 lines | 22 code | 19 blank | 30 comment | 0 complexity | 7364ebbcdb49bf09d763cda197032c91 MD5 | raw file
 1//
 2//  GHUnitIOSViewController.h
 3//  GHUnitIOS
 4//
 5//  Created by Gabriel Handford on 1/25/09.
 6//  Copyright 2009. All rights reserved.
 7//
 8//  Permission is hereby granted, free of charge, to any person
 9//  obtaining a copy of this software and associated documentation
10//  files (the "Software"), to deal in the Software without
11//  restriction, including without limitation the rights to use,
12//  copy, modify, merge, publish, distribute, sublicense, and/or sell
13//  copies of the Software, and to permit persons to whom the
14//  Software is furnished to do so, subject to the following
15//  conditions:
16//
17//  The above copyright notice and this permission notice shall be
18//  included in all copies or substantial portions of the Software.
19//
20//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21//  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
22//  OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23//  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
24//  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
25//  WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
26//  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
27//  OTHER DEALINGS IN THE SOFTWARE.
28//
29
30#import "GHUnitIOSView.h"
31
32#import "GHUnitIOSTableViewDataSource.h"
33#import "GHUnitIOSTestViewController.h"
34
35@interface GHUnitIOSViewController : UIViewController <UITableViewDelegate, GHTestRunnerDelegate, UISearchBarDelegate> {
36    
37  GHUnitIOSView *view_;
38  
39  //! Data source for table view
40  GHUnitIOSTableViewDataSource *dataSource_;
41  GHTestSuite *suite_;
42  
43  UIBarButtonItem *runButton_;
44  
45  //! If set then we will no longer auto scroll as tests are run
46  BOOL userDidDrag_;
47  
48}
49
50@property (retain, nonatomic) GHTestSuite *suite;
51
52- (void)reloadTest:(id<GHTest>)test;
53
54- (void)scrollToTest:(id<GHTest>)test;
55- (void)scrollToBottom;
56
57- (void)setStatusText:(NSString *)message;
58
59- (void)runTests;
60
61- (void)cancel;
62
63- (void)reload;
64
65- (void)loadDefaults;
66- (void)saveDefaults;
67
68- (GHUnitIOSTableViewDataSource *)dataSource;
69
70@end
71