sc-frank-cucumber 1.2.1.00af28c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/Rakefile +38 -0
- data/bin/frank +6 -0
- data/bin/frank-skeleton +33 -0
- data/frank-skeleton/features/my_first.feature +12 -0
- data/frank-skeleton/features/step_definitions/launch_steps.rb +20 -0
- data/frank-skeleton/features/support/env.rb +8 -0
- data/frank-skeleton/frank_static_resources.bundle/ViewAttributeMapping.plist +63 -0
- data/frank-skeleton/frank_static_resources.bundle/ViewAttributeMappingMac.plist +99 -0
- data/frank-skeleton/frank_static_resources.bundle/images/ajax-loader.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/file.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/folder-closed.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/folder.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/loader.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/loader.png +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/minus.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/plus.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/treeview-black-line.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/treeview-black.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/treeview-default-line.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/treeview-default.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/treeview-famfamfam-line.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/treeview-famfamfam.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/treeview-gray-line.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/treeview-gray.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/treeview-red-line.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/images/treeview-red.gif +0 -0
- data/frank-skeleton/frank_static_resources.bundle/index.html +86 -0
- data/frank-skeleton/frank_static_resources.bundle/index.html.haml +76 -0
- data/frank-skeleton/frank_static_resources.bundle/js/accessible_views_view.coffee +41 -0
- data/frank-skeleton/frank_static_resources.bundle/js/accessible_views_view.js +46 -0
- data/frank-skeleton/frank_static_resources.bundle/js/controller.coffee +134 -0
- data/frank-skeleton/frank_static_resources.bundle/js/controller.js +139 -0
- data/frank-skeleton/frank_static_resources.bundle/js/details_view.coffee +42 -0
- data/frank-skeleton/frank_static_resources.bundle/js/details_view.js +51 -0
- data/frank-skeleton/frank_static_resources.bundle/js/dropdown_control.coffee +64 -0
- data/frank-skeleton/frank_static_resources.bundle/js/dropdown_control.js +73 -0
- data/frank-skeleton/frank_static_resources.bundle/js/ersatz_model.coffee +46 -0
- data/frank-skeleton/frank_static_resources.bundle/js/ersatz_model.js +60 -0
- data/frank-skeleton/frank_static_resources.bundle/js/ersatz_view.coffee +167 -0
- data/frank-skeleton/frank_static_resources.bundle/js/ersatz_view.js +205 -0
- data/frank-skeleton/frank_static_resources.bundle/js/experiment_bar_model.coffee +10 -0
- data/frank-skeleton/frank_static_resources.bundle/js/experiment_bar_model.js +17 -0
- data/frank-skeleton/frank_static_resources.bundle/js/experiment_bar_view.coffee +44 -0
- data/frank-skeleton/frank_static_resources.bundle/js/experiment_bar_view.js +63 -0
- data/frank-skeleton/frank_static_resources.bundle/js/frank.coffee +96 -0
- data/frank-skeleton/frank_static_resources.bundle/js/frank.js +146 -0
- data/frank-skeleton/frank_static_resources.bundle/js/lib/backbone.js +1431 -0
- data/frank-skeleton/frank_static_resources.bundle/js/lib/coffee-script.js +8 -0
- data/frank-skeleton/frank_static_resources.bundle/js/lib/jquery-ui.min.js +405 -0
- data/frank-skeleton/frank_static_resources.bundle/js/lib/jquery.min.js +4 -0
- data/frank-skeleton/frank_static_resources.bundle/js/lib/jquery.treeview.js +251 -0
- data/frank-skeleton/frank_static_resources.bundle/js/lib/json2.js +481 -0
- data/frank-skeleton/frank_static_resources.bundle/js/lib/raphael.js +5815 -0
- data/frank-skeleton/frank_static_resources.bundle/js/lib/require.js +2053 -0
- data/frank-skeleton/frank_static_resources.bundle/js/lib/underscore.js +1059 -0
- data/frank-skeleton/frank_static_resources.bundle/js/main.coffee +27 -0
- data/frank-skeleton/frank_static_resources.bundle/js/main.js +29 -0
- data/frank-skeleton/frank_static_resources.bundle/js/tabs_controller.coffee +13 -0
- data/frank-skeleton/frank_static_resources.bundle/js/tabs_controller.js +22 -0
- data/frank-skeleton/frank_static_resources.bundle/js/toast_controller.coffee +15 -0
- data/frank-skeleton/frank_static_resources.bundle/js/toast_controller.js +28 -0
- data/frank-skeleton/frank_static_resources.bundle/js/transform_stack.coffee +59 -0
- data/frank-skeleton/frank_static_resources.bundle/js/transform_stack.js +78 -0
- data/frank-skeleton/frank_static_resources.bundle/js/tree_view.coffee +53 -0
- data/frank-skeleton/frank_static_resources.bundle/js/tree_view.js +64 -0
- data/frank-skeleton/frank_static_resources.bundle/js/view_hier_model.coffee +37 -0
- data/frank-skeleton/frank_static_resources.bundle/js/view_hier_model.js +48 -0
- data/frank-skeleton/frank_static_resources.bundle/js/view_model.coffee +39 -0
- data/frank-skeleton/frank_static_resources.bundle/js/view_model.js +62 -0
- data/frank-skeleton/frank_static_resources.bundle/pictos/index.html +329 -0
- data/frank-skeleton/frank_static_resources.bundle/pictos/pictos-web.eot +0 -0
- data/frank-skeleton/frank_static_resources.bundle/pictos/pictos-web.svg +114 -0
- data/frank-skeleton/frank_static_resources.bundle/pictos/pictos-web.ttf +0 -0
- data/frank-skeleton/frank_static_resources.bundle/pictos/pictos-web.woff +0 -0
- data/frank-skeleton/frank_static_resources.bundle/pictos/pictos.css +20 -0
- data/frank-skeleton/frank_static_resources.bundle/pictos/pictos_base64.css +18 -0
- data/frank-skeleton/frank_static_resources.bundle/stylesheets/css/symbiote.css +1 -0
- data/frank-skeleton/frank_static_resources.bundle/stylesheets/sass/_elements.scss +28 -0
- data/frank-skeleton/frank_static_resources.bundle/stylesheets/sass/_header.scss +61 -0
- data/frank-skeleton/frank_static_resources.bundle/stylesheets/sass/_inspect_tabs_list_tabs.scss +194 -0
- data/frank-skeleton/frank_static_resources.bundle/stylesheets/sass/_jquery.treeview.scss +68 -0
- data/frank-skeleton/frank_static_resources.bundle/stylesheets/sass/_jqui.scss +2 -0
- data/frank-skeleton/frank_static_resources.bundle/stylesheets/sass/_layout.scss +13 -0
- data/frank-skeleton/frank_static_resources.bundle/stylesheets/sass/_mixins.sass +137 -0
- data/frank-skeleton/frank_static_resources.bundle/stylesheets/sass/_reset.scss +32 -0
- data/frank-skeleton/frank_static_resources.bundle/stylesheets/sass/_selector_test_toolbar.scss +81 -0
- data/frank-skeleton/frank_static_resources.bundle/stylesheets/sass/_solarized.scss +16 -0
- data/frank-skeleton/frank_static_resources.bundle/stylesheets/sass/_typography.scss +11 -0
- data/frank-skeleton/frank_static_resources.bundle/stylesheets/sass/_unicode.scss +3 -0
- data/frank-skeleton/frank_static_resources.bundle/stylesheets/sass/_z_index.scss +2 -0
- data/frank-skeleton/frank_static_resources.bundle/stylesheets/sass/symbiote.scss +26 -0
- data/frank-skeleton/frankify.xcconfig.tt +6 -0
- data/frank-skeleton/libCocoaAsyncSocket.a +0 -0
- data/frank-skeleton/libCocoaAsyncSocketMac.a +0 -0
- data/frank-skeleton/libCocoaHTTPServer.a +0 -0
- data/frank-skeleton/libCocoaHTTPServerMac.a +0 -0
- data/frank-skeleton/libCocoaLumberjack.a +0 -0
- data/frank-skeleton/libCocoaLumberjackMac.a +0 -0
- data/frank-skeleton/libFrank.a +0 -0
- data/frank-skeleton/libFrankMac.a +0 -0
- data/frank-skeleton/libShelley.a +0 -0
- data/frank-skeleton/libShelleyMac.a +0 -0
- data/frank-skeleton/plugins/.empty_directory +0 -0
- data/lib/frank-cucumber.rb +15 -0
- data/lib/frank-cucumber/app_bundle_locator.rb +58 -0
- data/lib/frank-cucumber/bonjour.rb +73 -0
- data/lib/frank-cucumber/cli.rb +299 -0
- data/lib/frank-cucumber/color_helper.rb +13 -0
- data/lib/frank-cucumber/console.rb +28 -0
- data/lib/frank-cucumber/core_frank_steps.rb +260 -0
- data/lib/frank-cucumber/frank.xcconfig.erb +17 -0
- data/lib/frank-cucumber/frank_helper.rb +459 -0
- data/lib/frank-cucumber/frank_localize.rb +43 -0
- data/lib/frank-cucumber/frank_mac_helper.rb +120 -0
- data/lib/frank-cucumber/frankifier.rb +150 -0
- data/lib/frank-cucumber/gateway.rb +135 -0
- data/lib/frank-cucumber/gesture_helper.rb +99 -0
- data/lib/frank-cucumber/host_scripting.rb +96 -0
- data/lib/frank-cucumber/keyboard_helper.rb +69 -0
- data/lib/frank-cucumber/launcher.rb +70 -0
- data/lib/frank-cucumber/localize.yml +104 -0
- data/lib/frank-cucumber/location_helper.rb +20 -0
- data/lib/frank-cucumber/mac_launcher.rb +35 -0
- data/lib/frank-cucumber/plugins/plugin.rb +57 -0
- data/lib/frank-cucumber/rect.rb +26 -0
- data/lib/frank-cucumber/scroll_helper.rb +24 -0
- data/lib/frank-cucumber/version.rb +5 -0
- data/lib/frank-cucumber/wait_helper.rb +57 -0
- data/sc-frank-cucumber.gemspec +37 -0
- data/test/keyboard_helper_test.rb +84 -0
- data/test/launcher_test.rb +57 -0
- data/test/rect_test.rb +25 -0
- data/test/test_helper.rb +16 -0
- metadata +395 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'bundler'
|
2
|
+
require 'rake/testtask'
|
3
|
+
Bundler::GemHelper.install_tasks
|
4
|
+
|
5
|
+
desc 'check that the static libraries shipping with the gem have the same version number as the gem itself'
|
6
|
+
task :check_lib_versions do
|
7
|
+
lib_path = File.expand_path( '../frank-skeleton/libFrank.a', __FILE__)
|
8
|
+
lib_version = `what #{lib_path}`.chomp.split("\n").last.split(" ").last
|
9
|
+
puts "LIBRARY VERSION: #{lib_version}"
|
10
|
+
puts "GEM VERSION: #{Frank::Cucumber::VERSION}"
|
11
|
+
unless lib_version == Frank::Cucumber::VERSION
|
12
|
+
raise <<-EOS
|
13
|
+
|
14
|
+
RUH ROH.
|
15
|
+
static lib version doesn't match gem version.
|
16
|
+
|
17
|
+
to fix this:
|
18
|
+
(cd .. && rake build_for_release)
|
19
|
+
EOS
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
task :build => :check_lib_versions
|
24
|
+
|
25
|
+
desc 'open up version.rb'
|
26
|
+
task :edit_version do
|
27
|
+
exec "vim #{File.dirname(__FILE__)}/lib/frank-cucumber/version.rb"
|
28
|
+
end
|
29
|
+
|
30
|
+
task :ev => :edit_version
|
31
|
+
|
32
|
+
Rake::TestTask.new do |t|
|
33
|
+
t.libs << "test"
|
34
|
+
t.test_files = FileList['test/*_test.rb','test/*_acceptance.rb']
|
35
|
+
t.verbose = true
|
36
|
+
end
|
37
|
+
|
38
|
+
task :default => ["test"]
|
data/bin/frank
ADDED
data/bin/frank-skeleton
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
######################## ######################## ########################
|
4
|
+
#
|
5
|
+
# IMPORTANT NOTE
|
6
|
+
#
|
7
|
+
# This script is deprecated. it's just here for backwards compatibility.
|
8
|
+
#
|
9
|
+
# Users should be using the Frank::CLI-backed `frank` executable
|
10
|
+
#
|
11
|
+
######################## ######################## ########################
|
12
|
+
|
13
|
+
require 'frank-cucumber/cli'
|
14
|
+
|
15
|
+
Frank::CLI.start
|
16
|
+
|
17
|
+
|
18
|
+
command = ARGV[0]
|
19
|
+
|
20
|
+
unless ["update-server",nil].include? command
|
21
|
+
puts "unrecognized command #{command}"
|
22
|
+
puts "the only valid command at the moment is update-server"
|
23
|
+
exit 10
|
24
|
+
end
|
25
|
+
|
26
|
+
update_mode = ARGV[0] == 'update-server'
|
27
|
+
|
28
|
+
cli = Frank::CLI.new
|
29
|
+
if update_mode
|
30
|
+
cli.update
|
31
|
+
else
|
32
|
+
cli.skeleton
|
33
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
Feature:
|
2
|
+
As an iOS developer
|
3
|
+
I want to have a sample feature file
|
4
|
+
So I can see what my next step is in the wonderful world of Frank/Cucumber testing
|
5
|
+
|
6
|
+
Scenario:
|
7
|
+
Rotating the simulator for demonstration purposes
|
8
|
+
Given I launch the app
|
9
|
+
Given the device is in landscape orientation
|
10
|
+
Given the device is in portrait orientation
|
11
|
+
Given the device is in landscape orientation
|
12
|
+
Given the device is in portrait orientation
|
@@ -0,0 +1,20 @@
|
|
1
|
+
def app_path
|
2
|
+
ENV['APP_BUNDLE_PATH'] || (defined?(APP_BUNDLE_PATH) && APP_BUNDLE_PATH)
|
3
|
+
end
|
4
|
+
|
5
|
+
Given /^I launch the app$/ do
|
6
|
+
# latest sdk and iphone by default
|
7
|
+
launch_app app_path
|
8
|
+
end
|
9
|
+
|
10
|
+
Given /^I launch the app using iOS (\d\.\d)$/ do |sdk|
|
11
|
+
# You can grab a list of the installed SDK with sim_launcher
|
12
|
+
# > run sim_launcher from the command line
|
13
|
+
# > open a browser to http://localhost:8881/showsdks
|
14
|
+
# > use one of the sdk you see in parenthesis (e.g. 4.2)
|
15
|
+
launch_app app_path, sdk
|
16
|
+
end
|
17
|
+
|
18
|
+
Given /^I launch the app using iOS (\d\.\d) and the (iphone|ipad) simulator$/ do |sdk, version|
|
19
|
+
launch_app app_path, sdk, version
|
20
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
require 'frank-cucumber'
|
2
|
+
|
3
|
+
# UIQuery is deprecated. Please use the shelley selector engine.
|
4
|
+
Frank::Cucumber::FrankHelper.use_shelley_from_now_on
|
5
|
+
|
6
|
+
# This constant must be set to the full, absolute path for your Frankified target's app bundle.
|
7
|
+
# See the "Given I launch the app" step definition in launch_steps.rb for more details
|
8
|
+
APP_BUNDLE_PATH = File.expand_path( '../../../frankified_build/Frankified.app', __FILE__ )
|
@@ -0,0 +1,63 @@
|
|
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>UIView</key>
|
6
|
+
<array>
|
7
|
+
<string>accessibilityLabel</string>
|
8
|
+
<string>accessibilityFrame</string>
|
9
|
+
<string>tag</string>
|
10
|
+
<string>alpha</string>
|
11
|
+
<string>autoresizingMask</string>
|
12
|
+
<string>backgroundColor</string>
|
13
|
+
<string>frame</string>
|
14
|
+
<string>isHidden</string>
|
15
|
+
</array>
|
16
|
+
<key>UIWindow</key>
|
17
|
+
<array>
|
18
|
+
<string>windowLevel</string>
|
19
|
+
<string>isKeyWindow</string>
|
20
|
+
</array>
|
21
|
+
<key>UIScrollView</key>
|
22
|
+
<array>
|
23
|
+
<string>contentOffset</string>
|
24
|
+
<string>contentSize</string>
|
25
|
+
<string>isScrollEnabled</string>
|
26
|
+
<string>contentInset</string>
|
27
|
+
<string>isPagingEnabled</string>
|
28
|
+
<string>bounces</string>
|
29
|
+
<string>alwaysBounceVertical</string>
|
30
|
+
<string>alwaysBounceHorizontal</string>
|
31
|
+
<string>showsHorizontalScrollIndicator</string>
|
32
|
+
<string>showsVerticalScrollIndicator</string>
|
33
|
+
<string>zoomScale</string>
|
34
|
+
<string>maximumZoomScale</string>
|
35
|
+
<string>minimumZoomScale</string>
|
36
|
+
<string>delegate</string>
|
37
|
+
</array>
|
38
|
+
<key>UITableView</key>
|
39
|
+
<array>
|
40
|
+
<string>dataSource</string>
|
41
|
+
</array>
|
42
|
+
<key>UILabel</key>
|
43
|
+
<array>
|
44
|
+
<string>text</string>
|
45
|
+
<string>font</string>
|
46
|
+
<string>textAlignment</string>
|
47
|
+
</array>
|
48
|
+
<key>UISegmentedControl</key>
|
49
|
+
<array>
|
50
|
+
<string>segmentedControlStyle</string>
|
51
|
+
<string>numberOfSegments</string>
|
52
|
+
<string>selectedSegmentIndex</string>
|
53
|
+
</array>
|
54
|
+
<key>MKMapView</key>
|
55
|
+
<array>
|
56
|
+
<string>mapType</string>
|
57
|
+
<string>isZoomEnabled</string>
|
58
|
+
<string>isScrollEnabled</string>
|
59
|
+
<string>userTrackingMode</string>
|
60
|
+
<string>delegate</string>
|
61
|
+
</array>
|
62
|
+
</dict>
|
63
|
+
</plist>
|
@@ -0,0 +1,99 @@
|
|
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>NSObject</key>
|
6
|
+
<array>
|
7
|
+
<string>FEX_accessibilityLabel</string>
|
8
|
+
<string>FEX_accessibilityFrame</string>
|
9
|
+
</array>
|
10
|
+
<key>NSView</key>
|
11
|
+
<array>
|
12
|
+
<string>tag</string>
|
13
|
+
<string>autoresizesSubviews</string>
|
14
|
+
<string>autoresizingMask</string>
|
15
|
+
<string>frame</string>
|
16
|
+
<string>bounds</string>
|
17
|
+
<string>isHidden</string>
|
18
|
+
<string>isFlipped</string>
|
19
|
+
<string>isRotatedFromBase</string>
|
20
|
+
<string>isRotatedOrScaledFromBase</string>
|
21
|
+
<string>isInFullScreenMode</string>
|
22
|
+
<string>isOpaque</string>
|
23
|
+
<string>canBecomeKeyView</string>
|
24
|
+
<string>acceptsTouchEvents</string>
|
25
|
+
<string>wantsRestingTouches</string>
|
26
|
+
</array>
|
27
|
+
<key>NSWindow</key>
|
28
|
+
<array>
|
29
|
+
<string>alphaValue</string>
|
30
|
+
<string>backgroundColor</string>
|
31
|
+
<string>isOpaque</string>
|
32
|
+
<string>level</string>
|
33
|
+
<string>isKeyWindow</string>
|
34
|
+
<string>frame</string>
|
35
|
+
<string>isVisible</string>
|
36
|
+
<string>windowNumber</string>
|
37
|
+
<string>isSheet</string>
|
38
|
+
</array>
|
39
|
+
<key>NSControl</key>
|
40
|
+
<array>
|
41
|
+
<string>stringValue</string>
|
42
|
+
<string>attributedStringValue</string>
|
43
|
+
</array>
|
44
|
+
<key>NSScrollView</key>
|
45
|
+
<array>
|
46
|
+
<string>backgroundColor</string>
|
47
|
+
<string>borderType</string>
|
48
|
+
<string>contentSize</string>
|
49
|
+
<string>documentVisibleRect</string>
|
50
|
+
<string>drawsBackground</string>
|
51
|
+
<string>hasHorizontalScroller</string>
|
52
|
+
<string>hasVerticalScroller</string>
|
53
|
+
<string>autohidesScrollers</string>
|
54
|
+
<string>hasHorizontalRuler</string>
|
55
|
+
<string>hasVerticalRuler</string>
|
56
|
+
<string>rulersVisible</string>
|
57
|
+
<string>scrollerKnobStyle</string>
|
58
|
+
<string>scrollerStyle</string>
|
59
|
+
<string>lineScroll</string>
|
60
|
+
<string>horizontalLineScroll</string>
|
61
|
+
<string>verticalLineScroll</string>
|
62
|
+
<string>pageScroll</string>
|
63
|
+
<string>horizontalPageScroll</string>
|
64
|
+
<string>verticalPageScroll</string>
|
65
|
+
<string>scrollsDynamically</string>
|
66
|
+
<string>findBarPosition</string>
|
67
|
+
<string>usesPredominantAxisScrolling</string>
|
68
|
+
<string>horizontalScrollElasticity</string>
|
69
|
+
<string>verticalScrollElasticity</string>
|
70
|
+
</array>
|
71
|
+
<key>NSTableView</key>
|
72
|
+
<array>
|
73
|
+
<string>dataSource</string>
|
74
|
+
</array>
|
75
|
+
<key>NSTextField</key>
|
76
|
+
<array>
|
77
|
+
<string>isEditable</string>
|
78
|
+
<string>isSelectable</string>
|
79
|
+
<string>drawsBackground</string>
|
80
|
+
<string>backgroundColor</string>
|
81
|
+
<string>isBezeled</string>
|
82
|
+
<string>bezelStyle</string>
|
83
|
+
<string>isBordered</string>
|
84
|
+
</array>
|
85
|
+
<key>NSTextView</key>
|
86
|
+
<array>
|
87
|
+
<string>isEditable</string>
|
88
|
+
<string>isSelectable</string>
|
89
|
+
<string>drawsBackground</string>
|
90
|
+
<string>backgroundColor</string>
|
91
|
+
</array>
|
92
|
+
<key>NSSegmentedControl</key>
|
93
|
+
<array>
|
94
|
+
<string>segmentStyle</string>
|
95
|
+
<string>segmentCount</string>
|
96
|
+
<string>selectedSegment</string>
|
97
|
+
</array>
|
98
|
+
</dict>
|
99
|
+
</plist>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,86 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset='utf-8' />
|
5
|
+
<title>Symbiote</title>
|
6
|
+
<script src='js/lib/jquery.min.js'></script>
|
7
|
+
<script src='js/lib/jquery-ui.min.js'></script>
|
8
|
+
<script src='js/lib/jquery.treeview.js'></script>
|
9
|
+
<script src='js/lib/coffee-script.js'></script>
|
10
|
+
<script src='js/lib/raphael.js'></script>
|
11
|
+
<script src='js/lib/underscore.js'></script>
|
12
|
+
<script src='js/lib/backbone.js'></script>
|
13
|
+
<script src='js/lib/json2.js'></script>
|
14
|
+
<script data-main='/js/main' src='js/lib/require.js'></script>
|
15
|
+
<link href='/stylesheets/css/symbiote.css' rel='stylesheet' />
|
16
|
+
<link href='pictos/pictos.css' rel='stylesheet' />
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<header id='header'>
|
20
|
+
<h1>symbiote</h1>
|
21
|
+
<div class='toast'></div>
|
22
|
+
<div id='refresh'>
|
23
|
+
<button id='dump_button'>
|
24
|
+
<span></span>
|
25
|
+
</button>
|
26
|
+
</div>
|
27
|
+
</header>
|
28
|
+
<section class='symbiote_shell'>
|
29
|
+
<article id='selector-test'><div class='wrap outter'><label class='selector-engine-label'>use</label>
|
30
|
+
<div class='selector-engine dropdown'></div></div><div class='wrap middle'><label class='query'>to select views matching</label><input id='query' placeholder="Selector label marked:'Search'" /></div><div class='wrap outter'>
|
31
|
+
<label>and then</label>
|
32
|
+
<div class='action-buttons dropdown'></div>
|
33
|
+
</div></article>
|
34
|
+
</section>
|
35
|
+
<section class='the-columns'>
|
36
|
+
<div id='list-tabs'>
|
37
|
+
<ul>
|
38
|
+
<li>
|
39
|
+
<a href='#dom-dump'>View Hierarchy</a>
|
40
|
+
</li>
|
41
|
+
<li>
|
42
|
+
<a href='#accessible-views-tab'>Accessible Elements</a>
|
43
|
+
</li>
|
44
|
+
</ul>
|
45
|
+
<div id='dom-dump'>
|
46
|
+
<ul></ul>
|
47
|
+
</div>
|
48
|
+
<div id='accessible-views-tab'>
|
49
|
+
<div class='hints'>
|
50
|
+
<p>Here is a list of all elements with accessibility labels.</p>
|
51
|
+
<p>Clicking on a row will flash that view element in the simulator. Hover over a row to see the selector used to flash that view element.</p>
|
52
|
+
</div>
|
53
|
+
<div id='accessible-views'></div>
|
54
|
+
</div>
|
55
|
+
</div>
|
56
|
+
<div id='inspect-tabs'>
|
57
|
+
<ul>
|
58
|
+
<li>
|
59
|
+
<a href='#dom-detail'>View Properties</a>
|
60
|
+
</li>
|
61
|
+
<li>
|
62
|
+
<a href='#ui-locator'>View Locator</a>
|
63
|
+
</li>
|
64
|
+
</ul>
|
65
|
+
<div id='ui-locator'>
|
66
|
+
<div id='live-view'>
|
67
|
+
<button>
|
68
|
+
Live
|
69
|
+
<span>Y</span>
|
70
|
+
</button>
|
71
|
+
</div>
|
72
|
+
<div id='asploder'>
|
73
|
+
<button>
|
74
|
+
Asplode
|
75
|
+
</button>
|
76
|
+
</div>
|
77
|
+
<button id='ui-locator-rotator'>1</button>
|
78
|
+
<div id='ui-locator-view'></div>
|
79
|
+
</div>
|
80
|
+
<div id='dom-detail'>
|
81
|
+
<p>Click an element in the view hierarchy on the right to see details of that element here.</p>
|
82
|
+
</div>
|
83
|
+
</div>
|
84
|
+
</section>
|
85
|
+
</body>
|
86
|
+
</html>
|
@@ -0,0 +1,76 @@
|
|
1
|
+
!!! 5
|
2
|
+
%html
|
3
|
+
%head
|
4
|
+
%meta(charset="utf-8")
|
5
|
+
%title Symbiote
|
6
|
+
|
7
|
+
%script(src="js/lib/jquery.min.js")
|
8
|
+
%script(src="js/lib/jquery-ui.min.js")
|
9
|
+
%script(src="js/lib/jquery.treeview.js")
|
10
|
+
%script(src="js/lib/coffee-script.js")
|
11
|
+
%script(src="js/lib/raphael.js")
|
12
|
+
%script(src="js/lib/underscore.js")
|
13
|
+
%script(src="js/lib/backbone.js")
|
14
|
+
%script(src="js/lib/json2.js")
|
15
|
+
|
16
|
+
%script(data-main="/js/main" src="js/lib/require.js")
|
17
|
+
|
18
|
+
%link(href="/stylesheets/css/symbiote.css" rel="stylesheet")
|
19
|
+
%link(href="pictos/pictos.css" rel="stylesheet")
|
20
|
+
|
21
|
+
%body
|
22
|
+
%header#header
|
23
|
+
%h1 symbiote
|
24
|
+
.toast
|
25
|
+
#refresh
|
26
|
+
%button#dump_button
|
27
|
+
%span
|
28
|
+
|
29
|
+
%section.symbiote_shell
|
30
|
+
%article#selector-test
|
31
|
+
.wrap.outter<>
|
32
|
+
%label.selector-engine-label use
|
33
|
+
.selector-engine.dropdown
|
34
|
+
|
35
|
+
.wrap.middle<>
|
36
|
+
%label.query<> to select views matching
|
37
|
+
%input#query(placeholder="Selector label marked:'Search'")<>
|
38
|
+
|
39
|
+
.wrap.outter>
|
40
|
+
%label and then
|
41
|
+
.action-buttons.dropdown
|
42
|
+
|
43
|
+
%section.the-columns
|
44
|
+
#list-tabs
|
45
|
+
%ul
|
46
|
+
%li
|
47
|
+
%a(href="#dom-dump") View Hierarchy
|
48
|
+
%li
|
49
|
+
%a(href="#accessible-views-tab") Accessible Elements
|
50
|
+
#dom-dump
|
51
|
+
%ul
|
52
|
+
#accessible-views-tab
|
53
|
+
%div.hints
|
54
|
+
%p Here is a list of all elements with accessibility labels.
|
55
|
+
%p Clicking on a row will flash that view element in the simulator. Hover over a row to see the selector used to flash that view element.
|
56
|
+
#accessible-views
|
57
|
+
|
58
|
+
#inspect-tabs
|
59
|
+
%ul
|
60
|
+
%li
|
61
|
+
%a(href="#dom-detail") View Properties
|
62
|
+
%li
|
63
|
+
%a(href="#ui-locator") View Locator
|
64
|
+
#ui-locator
|
65
|
+
#live-view
|
66
|
+
%button
|
67
|
+
Live
|
68
|
+
%span Y
|
69
|
+
#asploder
|
70
|
+
%button
|
71
|
+
Asplode
|
72
|
+
%button#ui-locator-rotator 1
|
73
|
+
#ui-locator-view
|
74
|
+
|
75
|
+
#dom-detail
|
76
|
+
%p Click an element in the view hierarchy on the right to see details of that element here.
|