Ifd_Mobile 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/lib/Ifd_Mobile/lib_steps.rb +145 -140
  3. data/lib/Ifd_Mobile/methods/IFD_Assertion.rb +44 -44
  4. data/lib/Ifd_Mobile/methods/core.rb +256 -256
  5. data/lib/Ifd_Mobile/methods/lib_var.rb +53 -53
  6. data/lib/Ifd_Mobile/version.rb +5 -5
  7. data/project/Gemfile +9 -9
  8. data/project/Gemfile.lock +50 -137
  9. data/project/apps/Bedder_2.0_0.17_VN.apk +0 -0
  10. data/project/apps/TestApp/Test App 2/GestureTestViewController.h +18 -18
  11. data/project/apps/TestApp/Test App 2/GestureTestViewController.m +48 -48
  12. data/project/apps/TestApp/Test App 2/GestureTestViewController.xib +46 -46
  13. data/project/apps/TestApp/Test App 2/MyViewControllerViewController.h +42 -42
  14. data/project/apps/TestApp/Test App 2/MyViewControllerViewController.m +193 -193
  15. data/project/apps/TestApp/Test App 2/TA2AppDelegate.h +28 -28
  16. data/project/apps/TestApp/Test App 2/TA2AppDelegate.m +85 -85
  17. data/project/apps/TestApp/Test App 2/TestApp-Info.plist +40 -40
  18. data/project/apps/TestApp/Test App 2/TestApp-Prefix.pch +29 -29
  19. data/project/apps/TestApp/Test App 2/en.lproj/InfoPlist.strings +21 -21
  20. data/project/apps/TestApp/Test App 2/en.lproj/MyViewControllerViewController.xib +175 -175
  21. data/project/apps/TestApp/Test App 2/main.m +31 -31
  22. data/project/apps/TestApp/TestApp.xcodeproj/project.pbxproj +336 -336
  23. data/project/apps/TestApp/TestApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -7
  24. data/project/apps/TestApp/TestApp.xcodeproj/xcuserdata/anhpham.xcuserdatad/xcschemes/TestApp.xcscheme +88 -88
  25. data/project/apps/TestApp/TestApp.xcodeproj/xcuserdata/anhpham.xcuserdatad/xcschemes/xcschememanagement.plist +22 -22
  26. data/project/apps/polyclaim.apk +0 -0
  27. data/project/features/android/Android_test1.feature +16 -14
  28. data/project/features/android/Android_test2.feature +14 -14
  29. data/project/features/iOS/iOS_test.feature +15 -15
  30. data/project/features/step_definitions/lib_steps/PolyClaim_homepage.rb +12 -2
  31. data/project/features/step_definitions/lib_steps/PolyClaim_loginpage.rb +3 -3
  32. data/project/features/step_definitions/repositories/android_ob_test.rb +9 -9
  33. data/project/features/step_definitions/repositories/ios_ob_test.rb +6 -6
  34. data/project/features/support/env.rb +36 -36
  35. data/project/features/support/hooks.rb +8 -8
  36. data/project/features/support/project_env.rb +42 -42
  37. metadata +41 -45
data/project/Gemfile.lock CHANGED
@@ -1,123 +1,53 @@
1
1
  GEM
2
- remote: http://rubygems.org/
2
+ remote: http://www.rubygems.org/
3
3
  specs:
4
- actionmailer (4.2.4)
5
- actionpack (= 4.2.4)
6
- actionview (= 4.2.4)
7
- activejob (= 4.2.4)
8
- mail (~> 2.5, >= 2.5.4)
9
- rails-dom-testing (~> 1.0, >= 1.0.5)
10
- actionpack (4.2.4)
11
- actionview (= 4.2.4)
12
- activesupport (= 4.2.4)
13
- rack (~> 1.6)
14
- rack-test (~> 0.6.2)
15
- rails-dom-testing (~> 1.0, >= 1.0.5)
16
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
17
- actionview (4.2.4)
18
- activesupport (= 4.2.4)
19
- builder (~> 3.1)
20
- erubis (~> 2.7.0)
21
- rails-dom-testing (~> 1.0, >= 1.0.5)
22
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
23
- activejob (4.2.4)
24
- activesupport (= 4.2.4)
25
- globalid (>= 0.3.0)
26
- activemodel (4.2.4)
27
- activesupport (= 4.2.4)
28
- builder (~> 3.1)
29
- activerecord (4.2.4)
30
- activemodel (= 4.2.4)
31
- activesupport (= 4.2.4)
32
- arel (~> 6.0)
33
- activesupport (4.2.4)
34
- i18n (~> 0.7)
35
- json (~> 1.7, >= 1.7.7)
36
- minitest (~> 5.1)
37
- thread_safe (~> 0.3, >= 0.3.4)
38
- tzinfo (~> 1.1)
39
- addressable (2.3.8)
40
- arel (6.0.3)
4
+ Ifd_Mobile (0.1.6)
5
+ appium_lib (~> 7.0.0, >= 7.0.0)
6
+ cucumber (~> 1.3.17, >= 1.3.17)
7
+ selenium-webdriver (~> 2.46.2, >= 2.46.2)
8
+ appium_lib (7.0.0)
9
+ awesome_print (~> 1.6)
10
+ json (~> 1.8)
11
+ nokogiri (~> 1.6.6)
12
+ selenium-webdriver (~> 2.45)
13
+ toml (~> 0.0)
14
+ awesome_print (1.6.1)
15
+ blankslate (2.1.2.4)
41
16
  builder (3.2.2)
42
- capybara (2.4.4)
43
- mime-types (>= 1.16)
44
- nokogiri (>= 1.3.3)
45
- rack (>= 1.0.0)
46
- rack-test (>= 0.5.4)
47
- xpath (~> 2.0)
48
- chromedriver2-helper (0.0.8)
49
- nokogiri
50
- csv-diff (0.3.0)
17
+ childprocess (0.5.8)
18
+ ffi (~> 1.0, >= 1.0.11)
19
+ cucumber (1.3.17)
20
+ builder (>= 2.1.2)
21
+ diff-lcs (>= 1.1.3)
22
+ gherkin (~> 2.12)
23
+ multi_json (>= 1.7.5, < 2.0)
24
+ multi_test (>= 0.1.1)
51
25
  diff-lcs (1.2.5)
52
26
  domain_name (0.5.25)
53
27
  unf (>= 0.0.5, < 1.0.0)
54
- email_spec (1.6.0)
55
- launchy (~> 2.1)
56
- mail (~> 2.2)
57
- erubis (2.7.0)
28
+ ffi (1.9.10)
58
29
  ffi (1.9.10-x64-mingw32)
59
30
  gherkin (2.12.2)
60
31
  multi_json (~> 1.3)
61
- globalid (0.3.6)
62
- activesupport (>= 4.1.0)
63
32
  http-cookie (1.0.2)
64
33
  domain_name (~> 0.5)
65
- httparty (0.13.7)
66
- json (~> 1.8)
67
- multi_xml (>= 0.5.2)
68
- i18n (0.7.0)
69
34
  json (1.8.3)
70
- launchy (2.4.3)
71
- addressable (~> 2.3)
72
- loofah (2.0.3)
73
- nokogiri (>= 1.5.9)
74
- mail (2.6.3)
75
- mime-types (>= 1.16, < 3)
76
35
  mime-types (2.6.2)
77
- mini_portile (0.6.2)
78
- minitest (5.8.1)
36
+ mini_portile2 (2.0.0)
79
37
  multi_json (1.11.2)
80
- multi_xml (0.5.5)
81
- mysql2 (0.3.18-x64-mingw32)
38
+ multi_test (0.1.2)
82
39
  netrc (0.10.3)
83
- nokogiri (1.6.6.2-x64-mingw32)
84
- mini_portile (~> 0.6.0)
85
- parallel (1.6.1)
86
- parallel_tests (1.9.0)
87
- parallel
88
- power_assert (0.2.4)
40
+ nokogiri (1.6.7.1)
41
+ mini_portile2 (~> 2.0.0.rc2)
42
+ parslet (1.5.0)
43
+ blankslate (~> 2.0)
89
44
  rack (1.6.4)
90
- rack-test (0.6.3)
91
- rack (>= 1.0)
92
45
  rack-utf8_sanitizer (1.3.1)
93
46
  rack (~> 1.0)
94
- rails (4.2.4)
95
- actionmailer (= 4.2.4)
96
- actionpack (= 4.2.4)
97
- actionview (= 4.2.4)
98
- activejob (= 4.2.4)
99
- activemodel (= 4.2.4)
100
- activerecord (= 4.2.4)
101
- activesupport (= 4.2.4)
102
- bundler (>= 1.3.0, < 2.0)
103
- railties (= 4.2.4)
104
- sprockets-rails
105
- rails-deprecated_sanitizer (1.0.3)
106
- activesupport (>= 4.2.0.alpha)
107
- rails-dom-testing (1.0.7)
108
- activesupport (>= 4.2.0.beta, < 5.0)
109
- nokogiri (~> 1.6.0)
110
- rails-deprecated_sanitizer (>= 1.0.1)
111
- rails-html-sanitizer (1.0.2)
112
- loofah (~> 2.0)
113
- railties (4.2.4)
114
- actionpack (= 4.2.4)
115
- activesupport (= 4.2.4)
116
- rake (>= 0.8.7)
117
- thor (>= 0.18.1, < 2.0)
118
- rake (10.4.2)
119
- rautomation (0.17.0)
120
- ffi (~> 1.9.0)
47
+ rest-client (1.8.0)
48
+ http-cookie (>= 1.0.2, < 2.0)
49
+ mime-types (>= 1.16, < 3.0)
50
+ netrc (~> 0.7)
121
51
  rest-client (1.8.0-x64-mingw32)
122
52
  ffi (~> 1.9)
123
53
  http-cookie (>= 1.0.2, < 2.0)
@@ -136,47 +66,30 @@ GEM
136
66
  diff-lcs (>= 1.2.0, < 2.0)
137
67
  rspec-support (~> 3.3.0)
138
68
  rspec-support (3.3.0)
139
- sprockets (3.4.0)
140
- rack (> 1, < 3)
141
- sprockets-rails (2.3.3)
142
- actionpack (>= 3.0)
143
- activesupport (>= 3.0)
144
- sprockets (>= 2.8, < 4.0)
145
- test-unit (3.1.5)
146
- power_assert
147
- thor (0.19.1)
148
- thread_safe (0.3.5)
149
- tiny_tds (0.6.2-x64-mingw32)
150
- tzinfo (1.2.2)
151
- thread_safe (~> 0.1)
69
+ rubyzip (1.1.7)
70
+ selenium-webdriver (2.46.2)
71
+ childprocess (~> 0.5)
72
+ multi_json (~> 1.0)
73
+ rubyzip (~> 1.0)
74
+ websocket (~> 1.0)
75
+ toml (0.1.2)
76
+ parslet (~> 1.5.0)
152
77
  unf (0.1.4)
153
78
  unf_ext
79
+ unf_ext (0.0.7.1)
154
80
  unf_ext (0.0.7.1-x64-mingw32)
155
- xpath (2.0.0)
156
- nokogiri (~> 1.3)
81
+ websocket (1.2.2)
157
82
 
158
83
  PLATFORMS
84
+ ruby
159
85
  x64-mingw32
160
86
 
161
87
  DEPENDENCIES
162
- actionmailer (~> 4.2.3)
163
- capybara (~> 2.4.4)
164
- chromedriver2-helper
165
- csv-diff (~> 0.3.0)
166
- email_spec
167
- gherkin (~> 2.12.2)
168
- httparty (~> 0.13.5)
169
- json (= 1.8.3)
170
- mail
171
- mysql2 (= 0.3.18)
172
- parallel_tests
88
+ Ifd_Mobile
89
+ appium_lib
90
+ cucumber
173
91
  rack-utf8_sanitizer
174
- rails
175
- rautomation (~> 0.17.0)
176
- rest-client (~> 1.8.0)
177
- rspec (~> 3.3.0)
178
- test-unit (~> 3.1.2)
179
- tiny_tds (~> 0.6.2)
180
-
181
- BUNDLED WITH
182
- 1.10.6
92
+ rest-client
93
+ rspec
94
+ rspec-expectations
95
+ selenium-webdriver
Binary file
@@ -1,18 +1,18 @@
1
- //
2
- // GestureTestViewController.h
3
- // TestApp
4
- //
5
- // Created by ThinkSys- Amit on 12/07/13.
6
- //
7
- //
8
-
9
- #import <UIKit/UIKit.h>
10
- #import <MapKit/MapKit.h>
11
-
12
- @interface GestureTestViewController : UIViewController<UIGestureRecognizerDelegate>
13
- @property (retain, nonatomic) IBOutlet MKMapView *mapView;
14
-
15
-
16
- - (IBAction)handleRotation:(UIRotationGestureRecognizer*)sender;
17
-
18
- @end
1
+ //
2
+ // GestureTestViewController.h
3
+ // TestApp
4
+ //
5
+ // Created by ThinkSys- Amit on 12/07/13.
6
+ //
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+ #import <MapKit/MapKit.h>
11
+
12
+ @interface GestureTestViewController : UIViewController<UIGestureRecognizerDelegate>
13
+ @property (retain, nonatomic) IBOutlet MKMapView *mapView;
14
+
15
+
16
+ - (IBAction)handleRotation:(UIRotationGestureRecognizer*)sender;
17
+
18
+ @end
@@ -1,48 +1,48 @@
1
- //
2
- // GestureTestViewController.m
3
- // TestApp
4
- //
5
- // Created by ThinkSys- Amit on 12/07/13.
6
- //
7
- //
8
-
9
- #import "GestureTestViewController.h"
10
-
11
- @interface GestureTestViewController ()
12
-
13
- @end
14
-
15
- @implementation GestureTestViewController
16
-
17
- - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
18
- {
19
- self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
20
- if (self) {
21
- // Custom initialization
22
- }
23
- return self;
24
- }
25
-
26
- - (void)viewDidLoad
27
- {
28
- [super viewDidLoad];
29
- // Do any additional setup after loading the view from its nib.
30
- }
31
-
32
- - (void)didReceiveMemoryWarning
33
- {
34
- [super didReceiveMemoryWarning];
35
- // Dispose of any resources that can be recreated.
36
- }
37
-
38
- - (IBAction)handleRotation:(UIRotationGestureRecognizer*)sender
39
- {
40
- NSLog(@"Rotation Starts");
41
- sender.view.transform = CGAffineTransformRotate(sender.view.transform, sender.rotation);
42
- sender.rotation = 0;
43
- }
44
- - (void)dealloc {
45
- [_mapView release];
46
- [super dealloc];
47
- }
48
- @end
1
+ //
2
+ // GestureTestViewController.m
3
+ // TestApp
4
+ //
5
+ // Created by ThinkSys- Amit on 12/07/13.
6
+ //
7
+ //
8
+
9
+ #import "GestureTestViewController.h"
10
+
11
+ @interface GestureTestViewController ()
12
+
13
+ @end
14
+
15
+ @implementation GestureTestViewController
16
+
17
+ - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
18
+ {
19
+ self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
20
+ if (self) {
21
+ // Custom initialization
22
+ }
23
+ return self;
24
+ }
25
+
26
+ - (void)viewDidLoad
27
+ {
28
+ [super viewDidLoad];
29
+ // Do any additional setup after loading the view from its nib.
30
+ }
31
+
32
+ - (void)didReceiveMemoryWarning
33
+ {
34
+ [super didReceiveMemoryWarning];
35
+ // Dispose of any resources that can be recreated.
36
+ }
37
+
38
+ - (IBAction)handleRotation:(UIRotationGestureRecognizer*)sender
39
+ {
40
+ NSLog(@"Rotation Starts");
41
+ sender.view.transform = CGAffineTransformRotate(sender.view.transform, sender.rotation);
42
+ sender.rotation = 0;
43
+ }
44
+ - (void)dealloc {
45
+ [_mapView release];
46
+ [super dealloc];
47
+ }
48
+ @end
@@ -1,47 +1,47 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="4514" systemVersion="12F45" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
3
- <dependencies>
4
- <deployment defaultVersion="1552" identifier="iOS"/>
5
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3747"/>
6
- </dependencies>
7
- <objects>
8
- <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="GestureTestViewController">
9
- <connections>
10
- <outlet property="mapView" destination="4" id="24"/>
11
- <outlet property="view" destination="1" id="3"/>
12
- </connections>
13
- </placeholder>
14
- <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
15
- <view contentMode="scaleToFill" id="1">
16
- <rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
17
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
18
- <subviews>
19
- <mapView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" mapType="standard" showsUserLocation="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4">
20
- <rect key="frame" x="35" y="83" width="250" height="250"/>
21
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
22
- <gestureRecognizers/>
23
- <constraints>
24
- <constraint firstAttribute="width" constant="250" id="18"/>
25
- <constraint firstAttribute="height" constant="250" id="20"/>
26
- </constraints>
27
- <connections>
28
- <outletCollection property="gestureRecognizers" destination="14" appends="YES" id="15"/>
29
- </connections>
30
- </mapView>
31
- </subviews>
32
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
33
- <constraints>
34
- <constraint firstItem="4" firstAttribute="top" secondItem="1" secondAttribute="top" constant="83" id="22"/>
35
- <constraint firstItem="4" firstAttribute="centerX" secondItem="1" secondAttribute="centerX" id="23"/>
36
- </constraints>
37
- <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
38
- <simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
39
- </view>
40
- <rotationGestureRecognizer id="14">
41
- <connections>
42
- <action selector="handleRotation:" destination="-1" id="16"/>
43
- <outlet property="delegate" destination="-1" id="25"/>
44
- </connections>
45
- </rotationGestureRecognizer>
46
- </objects>
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="4514" systemVersion="12F45" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
3
+ <dependencies>
4
+ <deployment defaultVersion="1552" identifier="iOS"/>
5
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3747"/>
6
+ </dependencies>
7
+ <objects>
8
+ <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="GestureTestViewController">
9
+ <connections>
10
+ <outlet property="mapView" destination="4" id="24"/>
11
+ <outlet property="view" destination="1" id="3"/>
12
+ </connections>
13
+ </placeholder>
14
+ <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
15
+ <view contentMode="scaleToFill" id="1">
16
+ <rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
17
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
18
+ <subviews>
19
+ <mapView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" mapType="standard" showsUserLocation="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4">
20
+ <rect key="frame" x="35" y="83" width="250" height="250"/>
21
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
22
+ <gestureRecognizers/>
23
+ <constraints>
24
+ <constraint firstAttribute="width" constant="250" id="18"/>
25
+ <constraint firstAttribute="height" constant="250" id="20"/>
26
+ </constraints>
27
+ <connections>
28
+ <outletCollection property="gestureRecognizers" destination="14" appends="YES" id="15"/>
29
+ </connections>
30
+ </mapView>
31
+ </subviews>
32
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
33
+ <constraints>
34
+ <constraint firstItem="4" firstAttribute="top" secondItem="1" secondAttribute="top" constant="83" id="22"/>
35
+ <constraint firstItem="4" firstAttribute="centerX" secondItem="1" secondAttribute="centerX" id="23"/>
36
+ </constraints>
37
+ <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
38
+ <simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
39
+ </view>
40
+ <rotationGestureRecognizer id="14">
41
+ <connections>
42
+ <action selector="handleRotation:" destination="-1" id="16"/>
43
+ <outlet property="delegate" destination="-1" id="25"/>
44
+ </connections>
45
+ </rotationGestureRecognizer>
46
+ </objects>
47
47
  </document>
@@ -1,42 +1,42 @@
1
- /**
2
- * Copyright 2012 Appium Committers
3
- *
4
- * Licensed to the Apache Software Foundation (ASF) under one
5
- * or more contributor license agreements. See the NOTICE file
6
- * distributed with this work for additional information
7
- * regarding copyright ownership. The ASF licenses this file
8
- * to you under the Apache License, Version 2.0 (the
9
- * "License"); you may not use this file except in compliance
10
- * with the License. You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing,
15
- * software distributed under the License is distributed on an
16
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
- * KIND, either express or implied. See the License for the
18
- * specific language governing permissions and limitations
19
- * under the License.
20
- */
21
-
22
- #import <UIKit/UIKit.h>
23
- #import <CoreLocation/CoreLocation.h>
24
- #import "GestureTestViewController.h"
25
-
26
- @interface MyViewControllerViewController : UIViewController <UITextFieldDelegate,CLLocationManagerDelegate>
27
- @property (retain, nonatomic) IBOutlet UITextField *firstArg;
28
- @property (retain, nonatomic) IBOutlet UITextField *secondArg;
29
- @property (retain, nonatomic) IBOutlet UILabel *answerLabel;
30
- @property (retain, nonatomic) IBOutlet UISwitch *locationStatus;
31
- @property (retain, nonatomic) IBOutlet UIButton *computeSumButton;
32
- @property (nonatomic, retain) CLLocationManager *locationMgr;
33
-
34
- - (IBAction)testGesture:(id)sender;
35
- - (IBAction)computeAction:(id)sender;
36
- - (IBAction)showAlert:(id)sender;
37
- - (IBAction)crashApp:(id)sender;
38
- - (BOOL)textFieldShouldReturn:(UITextField *)textField;
39
- - (void)logLocationAuthFromTimer:(NSTimer *)timer;
40
- - (void)logLocationAuth;
41
-
42
- @end
1
+ /**
2
+ * Copyright 2012 Appium Committers
3
+ *
4
+ * Licensed to the Apache Software Foundation (ASF) under one
5
+ * or more contributor license agreements. See the NOTICE file
6
+ * distributed with this work for additional information
7
+ * regarding copyright ownership. The ASF licenses this file
8
+ * to you under the Apache License, Version 2.0 (the
9
+ * "License"); you may not use this file except in compliance
10
+ * with the License. You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing,
15
+ * software distributed under the License is distributed on an
16
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ * KIND, either express or implied. See the License for the
18
+ * specific language governing permissions and limitations
19
+ * under the License.
20
+ */
21
+
22
+ #import <UIKit/UIKit.h>
23
+ #import <CoreLocation/CoreLocation.h>
24
+ #import "GestureTestViewController.h"
25
+
26
+ @interface MyViewControllerViewController : UIViewController <UITextFieldDelegate,CLLocationManagerDelegate>
27
+ @property (retain, nonatomic) IBOutlet UITextField *firstArg;
28
+ @property (retain, nonatomic) IBOutlet UITextField *secondArg;
29
+ @property (retain, nonatomic) IBOutlet UILabel *answerLabel;
30
+ @property (retain, nonatomic) IBOutlet UISwitch *locationStatus;
31
+ @property (retain, nonatomic) IBOutlet UIButton *computeSumButton;
32
+ @property (nonatomic, retain) CLLocationManager *locationMgr;
33
+
34
+ - (IBAction)testGesture:(id)sender;
35
+ - (IBAction)computeAction:(id)sender;
36
+ - (IBAction)showAlert:(id)sender;
37
+ - (IBAction)crashApp:(id)sender;
38
+ - (BOOL)textFieldShouldReturn:(UITextField *)textField;
39
+ - (void)logLocationAuthFromTimer:(NSTimer *)timer;
40
+ - (void)logLocationAuth;
41
+
42
+ @end