Ifd_Mobile 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/Ifd_Mobile/lib_web.rb +70 -69
  3. data/lib/Ifd_Mobile/methods/IFD_Assertion.rb +44 -44
  4. data/lib/Ifd_Mobile/methods/core.rb +136 -136
  5. data/lib/Ifd_Mobile/methods/lib_var.rb +53 -53
  6. data/lib/Ifd_Mobile/version.rb +1 -1
  7. data/lib/LICENSE +3 -0
  8. data/project/Gemfile +7 -7
  9. data/project/apps/TestApp/Test App 2/GestureTestViewController.h +18 -18
  10. data/project/apps/TestApp/Test App 2/GestureTestViewController.m +48 -48
  11. data/project/apps/TestApp/Test App 2/GestureTestViewController.xib +46 -46
  12. data/project/apps/TestApp/Test App 2/MyViewControllerViewController.h +42 -42
  13. data/project/apps/TestApp/Test App 2/MyViewControllerViewController.m +193 -193
  14. data/project/apps/TestApp/Test App 2/TA2AppDelegate.h +28 -28
  15. data/project/apps/TestApp/Test App 2/TA2AppDelegate.m +85 -85
  16. data/project/apps/TestApp/Test App 2/TestApp-Info.plist +40 -40
  17. data/project/apps/TestApp/Test App 2/TestApp-Prefix.pch +29 -29
  18. data/project/apps/TestApp/Test App 2/en.lproj/InfoPlist.strings +21 -21
  19. data/project/apps/TestApp/Test App 2/en.lproj/MyViewControllerViewController.xib +175 -175
  20. data/project/apps/TestApp/Test App 2/main.m +31 -31
  21. data/project/apps/TestApp/TestApp.xcodeproj/project.pbxproj +336 -336
  22. data/project/apps/TestApp/TestApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -7
  23. data/project/apps/TestApp/TestApp.xcodeproj/xcuserdata/anhpham.xcuserdatad/xcschemes/TestApp.xcscheme +88 -88
  24. data/project/apps/TestApp/TestApp.xcodeproj/xcuserdata/anhpham.xcuserdatad/xcschemes/xcschememanagement.plist +22 -22
  25. data/project/apps/TestApp/build/release-iphonesimulator/TestApp.app/Info.plist +0 -0
  26. data/project/features/android/Android_test1.feature +14 -14
  27. data/project/features/android/Android_test2.feature +14 -14
  28. data/project/features/iOS/iOS_test.feature +15 -15
  29. data/project/features/step_definitions/lib_steps/PolyClaim_homepage.rb +2 -2
  30. data/project/features/step_definitions/lib_steps/PolyClaim_loginpage.rb +3 -3
  31. data/project/features/step_definitions/repositories/android_ob_test.rb +9 -9
  32. data/project/features/step_definitions/repositories/ios_ob_test.rb +6 -6
  33. data/project/features/support/env.rb +72 -5
  34. data/project/features/support/hooks.rb +24 -24
  35. data/project/features/support/project_env.rb +41 -41
  36. metadata +45 -44
@@ -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