Ifd_Mobile 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/lib/Ifd_Mobile/lib_steps.rb +145 -145
  3. data/lib/Ifd_Mobile/methods/IFD_Assertion.rb +44 -44
  4. data/lib/Ifd_Mobile/methods/IFD_Connection.rb +28 -0
  5. data/lib/Ifd_Mobile/methods/core.rb +256 -256
  6. data/lib/Ifd_Mobile/methods/database_methods.rb +25 -0
  7. data/lib/Ifd_Mobile/methods/lib_schema_data_steps.rb +53 -0
  8. data/lib/Ifd_Mobile/methods/lib_var.rb +53 -53
  9. data/lib/Ifd_Mobile/methods/required_files.rb +3 -0
  10. data/lib/Ifd_Mobile/version.rb +5 -5
  11. data/project/Gemfile +11 -9
  12. data/project/Gemfile.lock +137 -50
  13. data/project/apps/TestApp/Test App 2/GestureTestViewController.h +18 -18
  14. data/project/apps/TestApp/Test App 2/GestureTestViewController.m +48 -48
  15. data/project/apps/TestApp/Test App 2/GestureTestViewController.xib +46 -46
  16. data/project/apps/TestApp/Test App 2/MyViewControllerViewController.h +42 -42
  17. data/project/apps/TestApp/Test App 2/MyViewControllerViewController.m +193 -193
  18. data/project/apps/TestApp/Test App 2/TA2AppDelegate.h +28 -28
  19. data/project/apps/TestApp/Test App 2/TA2AppDelegate.m +85 -85
  20. data/project/apps/TestApp/Test App 2/TestApp-Info.plist +40 -40
  21. data/project/apps/TestApp/Test App 2/TestApp-Prefix.pch +29 -29
  22. data/project/apps/TestApp/Test App 2/en.lproj/InfoPlist.strings +21 -21
  23. data/project/apps/TestApp/Test App 2/en.lproj/MyViewControllerViewController.xib +175 -175
  24. data/project/apps/TestApp/Test App 2/main.m +31 -31
  25. data/project/apps/TestApp/TestApp.xcodeproj/project.pbxproj +336 -336
  26. data/project/apps/TestApp/TestApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -7
  27. data/project/apps/TestApp/TestApp.xcodeproj/xcuserdata/anhpham.xcuserdatad/xcschemes/TestApp.xcscheme +88 -88
  28. data/project/apps/TestApp/TestApp.xcodeproj/xcuserdata/anhpham.xcuserdatad/xcschemes/xcschememanagement.plist +22 -22
  29. data/project/features/TestData/SqlScript/test.sql +0 -0
  30. data/project/features/android/Android_test1.feature +14 -16
  31. data/project/features/android/Android_test2.feature +14 -14
  32. data/project/features/iOS/iOS_test.feature +15 -15
  33. data/project/features/step_definitions/lib_steps/PolyClaim_homepage.rb +2 -12
  34. data/project/features/step_definitions/lib_steps/PolyClaim_loginpage.rb +3 -3
  35. data/project/features/step_definitions/repositories/android_ob_test.rb +9 -9
  36. data/project/features/step_definitions/repositories/ios_ob_test.rb +6 -6
  37. data/project/features/support/env.rb +36 -36
  38. data/project/features/support/hooks.rb +8 -8
  39. data/project/features/support/project_env.rb +55 -42
  40. metadata +7 -5
  41. data/project/apps/Bedder_2.0_0.17_VN.apk +0 -0
  42. data/project/apps/polyclaim.apk +0 -0
@@ -1,85 +1,85 @@
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 "TA2AppDelegate.h"
23
- #import "MyViewControllerViewController.h"
24
-
25
- @interface TA2AppDelegate ()
26
-
27
- @property (nonatomic, retain) UIViewController *myAddVC;
28
- @end
29
-
30
- @implementation TA2AppDelegate
31
-
32
- @synthesize window = _window;
33
- @synthesize myAddVC;
34
-
35
-
36
-
37
-
38
- - (void)dealloc
39
- {
40
- [_window release];
41
- [super dealloc];
42
- }
43
-
44
- - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
45
- {
46
- self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
47
- // Override point for customization after application launch.
48
- self.window.backgroundColor = [UIColor whiteColor];
49
- [self.window makeKeyAndVisible];
50
-
51
- self.myAddVC = [[MyViewControllerViewController alloc] init];
52
- self.myAddVC.view.frame = self.window.bounds;
53
- [self.window setRootViewController:self.myAddVC];
54
-
55
- return YES;
56
- }
57
-
58
- - (void)applicationWillResignActive:(UIApplication *)application
59
- {
60
- // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
61
- // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
62
- }
63
-
64
- - (void)applicationDidEnterBackground:(UIApplication *)application
65
- {
66
- // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
67
- // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
68
- }
69
-
70
- - (void)applicationWillEnterForeground:(UIApplication *)application
71
- {
72
- // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
73
- }
74
-
75
- - (void)applicationDidBecomeActive:(UIApplication *)application
76
- {
77
- // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
78
- }
79
-
80
- - (void)applicationWillTerminate:(UIApplication *)application
81
- {
82
- // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
83
- }
84
-
85
- @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 "TA2AppDelegate.h"
23
+ #import "MyViewControllerViewController.h"
24
+
25
+ @interface TA2AppDelegate ()
26
+
27
+ @property (nonatomic, retain) UIViewController *myAddVC;
28
+ @end
29
+
30
+ @implementation TA2AppDelegate
31
+
32
+ @synthesize window = _window;
33
+ @synthesize myAddVC;
34
+
35
+
36
+
37
+
38
+ - (void)dealloc
39
+ {
40
+ [_window release];
41
+ [super dealloc];
42
+ }
43
+
44
+ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
45
+ {
46
+ self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
47
+ // Override point for customization after application launch.
48
+ self.window.backgroundColor = [UIColor whiteColor];
49
+ [self.window makeKeyAndVisible];
50
+
51
+ self.myAddVC = [[MyViewControllerViewController alloc] init];
52
+ self.myAddVC.view.frame = self.window.bounds;
53
+ [self.window setRootViewController:self.myAddVC];
54
+
55
+ return YES;
56
+ }
57
+
58
+ - (void)applicationWillResignActive:(UIApplication *)application
59
+ {
60
+ // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
61
+ // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
62
+ }
63
+
64
+ - (void)applicationDidEnterBackground:(UIApplication *)application
65
+ {
66
+ // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
67
+ // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
68
+ }
69
+
70
+ - (void)applicationWillEnterForeground:(UIApplication *)application
71
+ {
72
+ // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
73
+ }
74
+
75
+ - (void)applicationDidBecomeActive:(UIApplication *)application
76
+ {
77
+ // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
78
+ }
79
+
80
+ - (void)applicationWillTerminate:(UIApplication *)application
81
+ {
82
+ // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
83
+ }
84
+
85
+ @end
@@ -1,40 +1,40 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleDevelopmentRegion</key>
6
- <string>en</string>
7
- <key>CFBundleDisplayName</key>
8
- <string>${PRODUCT_NAME}</string>
9
- <key>CFBundleExecutable</key>
10
- <string>${EXECUTABLE_NAME}</string>
11
- <key>CFBundleIdentifier</key>
12
- <string>io.appium.${PRODUCT_NAME:rfc1034identifier}</string>
13
- <key>CFBundleInfoDictionaryVersion</key>
14
- <string>6.0</string>
15
- <key>CFBundleName</key>
16
- <string>${PRODUCT_NAME}</string>
17
- <key>CFBundlePackageType</key>
18
- <string>APPL</string>
19
- <key>CFBundleShortVersionString</key>
20
- <string>1.0</string>
21
- <key>CFBundleSignature</key>
22
- <string>????</string>
23
- <key>CFBundleVersion</key>
24
- <string>1.0</string>
25
- <key>LSRequiresIPhoneOS</key>
26
- <true/>
27
- <key>UIRequiredDeviceCapabilities</key>
28
- <array>
29
- <string>armv7</string>
30
- </array>
31
- <key>UIApplicationExitsOnSuspend</key>
32
- <true/>
33
- <key>UISupportedInterfaceOrientations</key>
34
- <array>
35
- <string>UIInterfaceOrientationPortrait</string>
36
- <string>UIInterfaceOrientationLandscapeLeft</string>
37
- <string>UIInterfaceOrientationLandscapeRight</string>
38
- </array>
39
- </dict>
40
- </plist>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>en</string>
7
+ <key>CFBundleDisplayName</key>
8
+ <string>${PRODUCT_NAME}</string>
9
+ <key>CFBundleExecutable</key>
10
+ <string>${EXECUTABLE_NAME}</string>
11
+ <key>CFBundleIdentifier</key>
12
+ <string>io.appium.${PRODUCT_NAME:rfc1034identifier}</string>
13
+ <key>CFBundleInfoDictionaryVersion</key>
14
+ <string>6.0</string>
15
+ <key>CFBundleName</key>
16
+ <string>${PRODUCT_NAME}</string>
17
+ <key>CFBundlePackageType</key>
18
+ <string>APPL</string>
19
+ <key>CFBundleShortVersionString</key>
20
+ <string>1.0</string>
21
+ <key>CFBundleSignature</key>
22
+ <string>????</string>
23
+ <key>CFBundleVersion</key>
24
+ <string>1.0</string>
25
+ <key>LSRequiresIPhoneOS</key>
26
+ <true/>
27
+ <key>UIRequiredDeviceCapabilities</key>
28
+ <array>
29
+ <string>armv7</string>
30
+ </array>
31
+ <key>UIApplicationExitsOnSuspend</key>
32
+ <true/>
33
+ <key>UISupportedInterfaceOrientations</key>
34
+ <array>
35
+ <string>UIInterfaceOrientationPortrait</string>
36
+ <string>UIInterfaceOrientationLandscapeLeft</string>
37
+ <string>UIInterfaceOrientationLandscapeRight</string>
38
+ </array>
39
+ </dict>
40
+ </plist>
@@ -1,29 +1,29 @@
1
- /**
2
- * Licensed to the Apache Software Foundation (ASF) under one
3
- * or more contributor license agreements. See the NOTICE file
4
- * distributed with this work for additional information
5
- * regarding copyright ownership. The ASF licenses this file
6
- * to you under the Apache License, Version 2.0 (the
7
- * "License"); you may not use this file except in compliance
8
- * with the License. You may obtain a copy of the License at
9
- *
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- *
12
- * Unless required by applicable law or agreed to in writing,
13
- * software distributed under the License is distributed on an
14
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
- * KIND, either express or implied. See the License for the
16
- * specific language governing permissions and limitations
17
- * under the License.
18
- */
19
-
20
- #import <Availability.h>
21
-
22
- #ifndef __IPHONE_3_0
23
- #warning "This project uses features only available in iOS SDK 3.0 and later."
24
- #endif
25
-
26
- #ifdef __OBJC__
27
- #import <UIKit/UIKit.h>
28
- #import <Foundation/Foundation.h>
29
- #endif
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one
3
+ * or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information
5
+ * regarding copyright ownership. The ASF licenses this file
6
+ * to you under the Apache License, Version 2.0 (the
7
+ * "License"); you may not use this file except in compliance
8
+ * with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing,
13
+ * software distributed under the License is distributed on an
14
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ * KIND, either express or implied. See the License for the
16
+ * specific language governing permissions and limitations
17
+ * under the License.
18
+ */
19
+
20
+ #import <Availability.h>
21
+
22
+ #ifndef __IPHONE_3_0
23
+ #warning "This project uses features only available in iOS SDK 3.0 and later."
24
+ #endif
25
+
26
+ #ifdef __OBJC__
27
+ #import <UIKit/UIKit.h>
28
+ #import <Foundation/Foundation.h>
29
+ #endif
@@ -1,21 +1,21 @@
1
- /**
2
- * Licensed to the Apache Software Foundation (ASF) under one
3
- * or more contributor license agreements. See the NOTICE file
4
- * distributed with this work for additional information
5
- * regarding copyright ownership. The ASF licenses this file
6
- * to you under the Apache License, Version 2.0 (the
7
- * "License"); you may not use this file except in compliance
8
- * with the License. You may obtain a copy of the License at
9
- *
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- *
12
- * Unless required by applicable law or agreed to in writing,
13
- * software distributed under the License is distributed on an
14
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
- * KIND, either express or implied. See the License for the
16
- * specific language governing permissions and limitations
17
- * under the License.
18
- */
19
-
20
- /* Localized versions of Info.plist keys */
21
-
1
+ /**
2
+ * Licensed to the Apache Software Foundation (ASF) under one
3
+ * or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information
5
+ * regarding copyright ownership. The ASF licenses this file
6
+ * to you under the Apache License, Version 2.0 (the
7
+ * "License"); you may not use this file except in compliance
8
+ * with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing,
13
+ * software distributed under the License is distributed on an
14
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ * KIND, either express or implied. See the License for the
16
+ * specific language governing permissions and limitations
17
+ * under the License.
18
+ */
19
+
20
+ /* Localized versions of Info.plist keys */
21
+