xcpretty 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/Rakefile +1 -0
- data/bin/xcpretty +9 -4
- data/features/custom_reporter.feature +29 -0
- data/features/simple_format.feature +5 -0
- data/features/steps/custom_reporter_steps.rb +16 -0
- data/features/steps/formatting_steps.rb +8 -0
- data/features/steps/json_steps.rb +1 -0
- data/features/steps/report_steps.rb +5 -0
- data/features/support/env.rb +7 -1
- data/lib/xcpretty.rb +3 -2
- data/lib/xcpretty/formatters/formatter.rb +18 -6
- data/lib/xcpretty/formatters/simple.rb +4 -0
- data/lib/xcpretty/parser.rb +42 -5
- data/lib/xcpretty/printer.rb +4 -0
- data/lib/xcpretty/reporters/html.rb +3 -13
- data/lib/xcpretty/reporters/json_compilation_database.rb +4 -18
- data/lib/xcpretty/reporters/junit.rb +11 -11
- data/lib/xcpretty/reporters/reporter.rb +61 -0
- data/lib/xcpretty/syntax.rb +8 -1
- data/lib/xcpretty/version.rb +1 -1
- data/spec/fixtures/constants.rb +18 -1
- data/spec/fixtures/custom_reporter.rb +30 -0
- data/spec/fixtures/raw_xcodebuild_uitest_fail.txt +388 -0
- data/spec/xcpretty/formatters/simple_spec.rb +5 -0
- data/spec/xcpretty/parser_spec.rb +33 -2
- data/spec/xcpretty/reporters/junit_spec.rb +20 -0
- data/spec/xcpretty/reporters/reporter_spec.rb +40 -0
- metadata +35 -23
@@ -1,7 +1,6 @@
|
|
1
1
|
module XCPretty
|
2
|
-
class JUnit
|
2
|
+
class JUnit < Reporter
|
3
3
|
|
4
|
-
include XCPretty::FormatMethods
|
5
4
|
FILEPATH = 'build/reports/junit.xml'
|
6
5
|
|
7
6
|
def load_dependencies
|
@@ -15,21 +14,23 @@ module XCPretty
|
|
15
14
|
end
|
16
15
|
|
17
16
|
def initialize(options)
|
18
|
-
|
19
|
-
@filepath = options[:path] || FILEPATH
|
17
|
+
super(options)
|
20
18
|
@directory = `pwd`.strip
|
21
19
|
@document = REXML::Document.new
|
22
20
|
@document << REXML::XMLDecl.new('1.0', 'UTF-8')
|
23
21
|
@document.add_element('testsuites')
|
24
|
-
@parser = Parser.new(self)
|
25
|
-
@total_tests = 0
|
26
22
|
@total_fails = 0
|
23
|
+
@total_tests = 0
|
27
24
|
end
|
28
25
|
|
29
26
|
def handle(line)
|
30
27
|
@parser.parse(line)
|
31
28
|
end
|
32
29
|
|
30
|
+
def format_test_run_started(name)
|
31
|
+
@document.root.add_attribute('name', name)
|
32
|
+
end
|
33
|
+
|
33
34
|
def format_passing_test(classname, test_case, time)
|
34
35
|
test_node = suite(classname).add_element('testcase')
|
35
36
|
test_node.attributes['classname'] = classname
|
@@ -61,13 +62,10 @@ module XCPretty
|
|
61
62
|
set_test_counters
|
62
63
|
@document.root.attributes['tests'] = @total_tests
|
63
64
|
@document.root.attributes['failures'] = @total_fails
|
64
|
-
|
65
|
+
super
|
65
66
|
end
|
66
67
|
|
67
|
-
|
68
|
-
|
69
|
-
def write_report_file
|
70
|
-
FileUtils.mkdir_p(File.dirname(@filepath))
|
68
|
+
def write_report
|
71
69
|
formatter = REXML::Formatters::Pretty.new(2)
|
72
70
|
formatter.compact = true
|
73
71
|
output_file = File.open(@filepath, 'w+')
|
@@ -76,6 +74,8 @@ module XCPretty
|
|
76
74
|
result
|
77
75
|
end
|
78
76
|
|
77
|
+
private
|
78
|
+
|
79
79
|
def suite(classname)
|
80
80
|
if @last_suite && @last_suite.attributes['name'] == classname
|
81
81
|
return @last_suite
|
@@ -0,0 +1,61 @@
|
|
1
|
+
module XCPretty
|
2
|
+
|
3
|
+
class Reporter < Formatter
|
4
|
+
FILEPATH = 'build/reports/tests.txt'
|
5
|
+
|
6
|
+
attr_reader :tests
|
7
|
+
|
8
|
+
def load_dependencies
|
9
|
+
unless @@loaded ||= false
|
10
|
+
require 'fileutils'
|
11
|
+
@@loaded = true
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def initialize(options)
|
16
|
+
super(true, true)
|
17
|
+
load_dependencies
|
18
|
+
@filepath = options[:path] || self.class::FILEPATH
|
19
|
+
@test_count = 0
|
20
|
+
@fail_count = 0
|
21
|
+
@tests = []
|
22
|
+
end
|
23
|
+
|
24
|
+
def handle(line)
|
25
|
+
@parser.parse(line)
|
26
|
+
end
|
27
|
+
|
28
|
+
def finish
|
29
|
+
FileUtils.mkdir_p(File.dirname(@filepath))
|
30
|
+
write_report
|
31
|
+
end
|
32
|
+
|
33
|
+
def format_failing_test(suite, test_case, reason, file)
|
34
|
+
@test_count += 1
|
35
|
+
@fail_count += 1
|
36
|
+
@tests.push("#{test_case} in #{file} FAILED: #{reason}")
|
37
|
+
end
|
38
|
+
|
39
|
+
def format_passing_test(suite, test_case, time)
|
40
|
+
@test_count += 1
|
41
|
+
@tests.push("#{test_case} PASSED")
|
42
|
+
end
|
43
|
+
|
44
|
+
def format_pending_test(classname, test_case)
|
45
|
+
@test_count += 1
|
46
|
+
@tests.push("#{test_case} IS PENDING")
|
47
|
+
end
|
48
|
+
|
49
|
+
def write_report
|
50
|
+
File.open(@filepath, 'w') do |f|
|
51
|
+
# WAT: get rid of these locals. BTW Cucumber fails if you remove them
|
52
|
+
output_string = @tests.join("\n")
|
53
|
+
output_string += "\nFINISHED RUNNING #{@test_count} TESTS WITH #{@fail_count} FAILURES"
|
54
|
+
f.write output_string
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
59
|
+
|
60
|
+
end
|
61
|
+
|
data/lib/xcpretty/syntax.rb
CHANGED
@@ -12,7 +12,15 @@ module XCPretty
|
|
12
12
|
module Syntax
|
13
13
|
def self.highlight(snippet)
|
14
14
|
return snippet.contents unless Rouge
|
15
|
+
highlight_with_formatter(snippet, Rouge::Formatters::Terminal256.new)
|
16
|
+
end
|
17
|
+
|
18
|
+
def self.highlight_html(snippet)
|
19
|
+
return snippet.contents unless Rouge
|
20
|
+
highlight_with_formatter(snippet, Rouge::Formatters::HTML.new)
|
21
|
+
end
|
15
22
|
|
23
|
+
def self.highlight_with_formatter(snippet, formatter)
|
16
24
|
if snippet.file_path.include?(':')
|
17
25
|
filename = snippet.file_path.rpartition(':').first
|
18
26
|
else
|
@@ -21,7 +29,6 @@ module XCPretty
|
|
21
29
|
|
22
30
|
lexer = find_lexer(filename, snippet.contents)
|
23
31
|
if lexer
|
24
|
-
formatter = Rouge::Formatters::Terminal256.new
|
25
32
|
formatter.format(lexer.lex(snippet.contents))
|
26
33
|
else
|
27
34
|
snippet.contents
|
data/lib/xcpretty/version.rb
CHANGED
data/spec/fixtures/constants.rb
CHANGED
@@ -6,12 +6,15 @@ SAMPLE_OCUNIT_TEST_RUN_BEGINNING = "Test Suite '/Users/musalj/Library/Developer/
|
|
6
6
|
SAMPLE_KIWI_TEST_RUN_BEGINNING = "Test Suite 'ObjectiveRecordTests.xctest' started at 2013-12-10 06:15:39 +0000"
|
7
7
|
SAMPLE_SPECTA_TEST_RUN_BEGINNING = " Test Suite 'KIFTests.xctest' started at 2014-02-28 15:43:42 +0000"
|
8
8
|
SAMPLE_OCUNIT_TEST_RUN_COMPLETION = "Test Suite '/Users/musalj/Library/Developer/Xcode/DerivedData/ReactiveCocoa-eznxkbqvgfsnrvetemqloysuwagb/Build/Products/Test/ReactiveCocoaTests.octest(Tests)' finished at 2013-12-10 07:03:03 +0000."
|
9
|
+
SAMPLE_OCUNIT_TEST_ASSERTION_FAILURE = " t = 22.27s Assertion Failure: <unknown>:0: UI Testing Failure - Unable to find hit point for element Button 0x608001165880: {{74.0, -54.0}, {44.0, 38.0}}, label: 'Disconnect'"
|
9
10
|
SAMPLE_OCUNIT_FAILED_TEST_RUN_COMPLETION = "Test Suite '/Users/dm/someplace/Macadamia.octest' failed at 2014-09-24 23:09:20 +0000."
|
10
11
|
SAMPLE_OCUNIT_PASSED_TEST_RUN_COMPLETION = "Test Suite 'Hazelnuts.xctest' passed at 2014-09-24 23:09:20 +0000."
|
11
12
|
SAMPLE_KIWI_TEST_RUN_COMPLETION = "Test Suite 'ObjectiveRecordTests.xctest' finished at 2013-12-10 06:15:42 +0000."
|
12
13
|
SAMPLE_SPECTA_TEST_RUN_COMPLETION = " Test Suite 'KIFTests.xctest' finished at 2014-02-28 15:44:32 +0000."
|
13
14
|
|
14
15
|
SAMPLE_OCUNIT_SUITE_BEGINNING = "Test Suite 'RACKVOWrapperSpec' started at 2013-12-10 21:06:10 +0000"
|
16
|
+
SAMPLE_OCUNIT_CASE_BEGINNING = "Test Case '-[viewUITests.vmtAboutWindow testConnectToDesktop]' started."
|
17
|
+
SAMPLE_OCUNIT_CASE_FAILURE = "Test Case '-[viewUITests.vmtAboutWindow testConnectToDesktop]' failed (22.490 seconds)."
|
15
18
|
SAMPLE_SPECTA_SUITE_BEGINNING = " Test Suite 'All tests' started at 2014-02-28 19:07:41 +0000"
|
16
19
|
SAMPLE_KIWI_SUITE_COMPLETION = "Test Suite 'All tests' finished at 2013-12-08 04:26:49 +0000."
|
17
20
|
SAMPLE_OCUNIT_SUITE_COMPLETION = "Test Suite '/Users/musalj/Library/Developer/Xcode/DerivedData/ReactiveCocoa-eznxkbqvgfsnrvetemqloysuwagb/Build/Products/Test/ReactiveCocoaTests.octest(Tests)' finished at 2013-12-08 22:09:37 +0000."
|
@@ -23,6 +26,7 @@ SAMPLE_SPECTA_FAILURE = " Test Case '-[SKWelcomeViewControllerSpecSpec S
|
|
23
26
|
|
24
27
|
SAMPLE_BUILD = "=== BUILD TARGET The Spacer OF PROJECT Pods WITH THE DEFAULT CONFIGURATION Debug ==="
|
25
28
|
SAMPLE_ANALYZE_TARGET = "=== ANALYZE TARGET The Spacer OF PROJECT Pods WITH THE DEFAULT CONFIGURATION Debug ==="
|
29
|
+
SAMPLE_AGGREGATE_TARGET = "=== BUILD AGGREGATE TARGET Be Aggro OF PROJECT AggregateExample WITH CONFIGURATION Debug ==="
|
26
30
|
SAMPLE_CLEAN = "=== CLEAN TARGET Pods-ObjectiveSugar OF PROJECT Pods WITH CONFIGURATION Debug ==="
|
27
31
|
SAMPLE_ANOTHER_CLEAN = "=== CLEAN TARGET Pods OF PROJECT Pods WITH CONFIGURATION Debug ==="
|
28
32
|
SAMPLE_BUILD_SUCCEEDED = "** BUILD SUCCEEDED **"
|
@@ -32,6 +36,7 @@ Clean.Remove clean /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSu
|
|
32
36
|
builtin-rm -rf /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Intermediates/ObjectiveSugar.build/Debug-iphonesimulator/ObjectiveSugarTests.build
|
33
37
|
)
|
34
38
|
SAMPLE_EXECUTED_TESTS = "Executed 4 tests, with 0 failures (0 unexpected) in 0.003 (0.004) seconds"
|
39
|
+
SAMPLE_EXECUTED_TESTS_WITH_FAILURE = "Executed 1 test, with 1 failure (0 unexpected) in 22.490 (22.513) seconds"
|
35
40
|
SAMPLE_SPECTA_EXECUTED_TESTS = " Executed 4 tests, with 0 failures (0 unexpected) in 10.192 (10.193) seconds"
|
36
41
|
SAMPLE_OCUNIT_TEST = "Test Case '-[RACCommandSpec enabled_signal_should_send_YES_while_executing_is_YES_and_allowsConcurrentExecution_is_YES]' passed (0.001 seconds)."
|
37
42
|
SAMPLE_SPECTA_TEST = " Test Case '-[SKWelcomeActivationViewControllerSpecSpec SKWelcomeActivationViewController_When_a_user_enters_their_details_lets_them_enter_a_valid_manager_code]' passed (0.725 seconds)."
|
@@ -104,6 +109,13 @@ Ld /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqg
|
|
104
109
|
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/musalj/code/go/bin:/Users/musalj/.rbenv/shims:/Users/musalj/.rbenv/bin:/usr/local/share/npm/bin:/usr/local/bin:/Library/Python/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
|
105
110
|
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -L/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Products/Debug-iphonesimulator -F/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Products/Debug-iphonesimulator -filelist /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Intermediates/ObjectiveSugar.build/Debug-iphonesimulator/ObjectiveSugar.build/Objects-normal/i386/ObjectiveSugar.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=4.3 -framework UIKit -framework Foundation -framework CoreGraphics -lPods -Xlinker -dependency_info -Xlinker /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Intermediates/ObjectiveSugar.build/Debug-iphonesimulator/ObjectiveSugar.build/Objects-normal/i386/ObjectiveSugar_dependency_info.dat -o /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Products/Debug-iphonesimulator/ObjectiveSugar.app/ObjectiveSugar
|
106
111
|
)
|
112
|
+
SAMPLE_LD_RELATIVE = %Q(
|
113
|
+
Ld ../Build/Products/Debug-iphonesimulator/ObjectiveSugar.app/ObjectiveSugar normal i386
|
114
|
+
cd /Users/musalj/code/OSS/ObjectiveSugar/Example
|
115
|
+
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
|
116
|
+
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/musalj/code/go/bin:/Users/musalj/.rbenv/shims:/Users/musalj/.rbenv/bin:/usr/local/share/npm/bin:/usr/local/bin:/Library/Python/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
|
117
|
+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -L/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Products/Debug-iphonesimulator -F/Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Products/Debug-iphonesimulator -filelist /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Intermediates/ObjectiveSugar.build/Debug-iphonesimulator/ObjectiveSugar.build/Objects-normal/i386/ObjectiveSugar.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=4.3 -framework UIKit -framework Foundation -framework CoreGraphics -lPods -Xlinker -dependency_info -Xlinker /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Intermediates/ObjectiveSugar.build/Debug-iphonesimulator/ObjectiveSugar.build/Objects-normal/i386/ObjectiveSugar_dependency_info.dat -o /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Products/Debug-iphonesimulator/ObjectiveSugar.app/ObjectiveSugar
|
118
|
+
).freeze
|
107
119
|
SAMPLE_DSYM = %Q(
|
108
120
|
GenerateDSYMFile /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Products/Debug-iphonesimulator/ObjectiveSugarTests.octest.dSYM /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveSugar-ayzdhqmmwtqgysdpznmovjlupqjy/Build/Products/Debug-iphonesimulator/ObjectiveSugarTests.octest/ObjectiveSugarTests
|
109
121
|
cd /Users/musalj/code/OSS/ObjectiveSugar/Example
|
@@ -473,6 +485,12 @@ AnalyzeShallow CocoaChip/CCChip8DisplayView.m
|
|
473
485
|
setenv LANG en_US.US-ASCII
|
474
486
|
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=107 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Werror -Wmissing-field-initializers -Wmissing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wstrict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-sign-conversion -D__clang_analyzer__ -Xclang -analyzer-output=plist-multi-file -Xclang -analyzer-config -Xclang path-diagnostics-alternate=true -Xclang -analyzer-config -Xclang report-in-main-source-file=true -Xclang -analyzer-config -Xclang mode=shallow -Xclang -analyzer-checker -Xclang security.insecureAPI.UncheckedReturn -Xclang -analyzer-checker -Xclang security.insecureAPI.getpw -Xclang -analyzer-checker -Xclang security.insecureAPI.gets -Xclang -analyzer-checker -Xclang security.insecureAPI.mkstemp -Xclang -analyzer-checker -Xclang security.insecureAPI.mktemp -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.rand -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.strcpy -Xclang -analyzer-checker -Xclang security.insecureAPI.vfork -iquote /Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/CocoaChip-generated-files.hmap -I/Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/CocoaChip-own-target-headers.hmap -I/Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/CocoaChip-all-target-headers.hmap -iquote /Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/CocoaChip-project-headers.hmap -I/Users/dustin/Source/CocoaChip/build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/DerivedSources/x86_64 -I/Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/DerivedSources -F/Users/dustin/Source/CocoaChip/build/Release -include /var/folders/nn/s88k060x7016ccml2bc6f5_h0000gn/C/com.apple.DeveloperTools/5.0.2-5A3005/Xcode/SharedPrecompiledHeaders/CocoaChip-Prefix-dzmrdzscqkbvvrafvxsbjwbxtmlz/CocoaChip-Prefix.pch --analyze /Users/dustin/Source/CocoaChip/CocoaChip/CCChip8DisplayView.m -o /Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/StaticAnalyzer/CocoaChip/CocoaChip/normal/x86_64/CCChip8DisplayView.plist
|
475
487
|
)
|
488
|
+
SAMPLE_ANALYZE_CPP = %Q(
|
489
|
+
Analyze CocoaChip/CCChip8DisplayView.cpp
|
490
|
+
cd /Users/dustin/Source/CocoaChip
|
491
|
+
setenv LANG en_US.US-ASCII
|
492
|
+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=107 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Werror -Wmissing-field-initializers -Wmissing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wstrict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-sign-conversion -D__clang_analyzer__ -Xclang -analyzer-output=plist-multi-file -Xclang -analyzer-config -Xclang path-diagnostics-alternate=true -Xclang -analyzer-config -Xclang report-in-main-source-file=true -Xclang -analyzer-checker -Xclang security.insecureAPI.UncheckedReturn -Xclang -analyzer-checker -Xclang security.insecureAPI.getpw -Xclang -analyzer-checker -Xclang security.insecureAPI.gets -Xclang -analyzer-checker -Xclang security.insecureAPI.mkstemp -Xclang -analyzer-checker -Xclang security.insecureAPI.mktemp -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.rand -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.strcpy -Xclang -analyzer-checker -Xclang security.insecureAPI.vfork -iquote /Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/CocoaChip-generated-files.hmap -I/Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/CocoaChip-own-target-headers.hmap -I/Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/CocoaChip-all-target-headers.hmap -iquote /Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/CocoaChip-project-headers.hmap -I/Users/dustin/Source/CocoaChip/build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/DerivedSources/x86_64 -I/Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/DerivedSources -F/Users/dustin/Source/CocoaChip/build/Release -include /var/folders/nn/s88k060x7016ccml2bc6f5_h0000gn/C/com.apple.DeveloperTools/5.0.2-5A3005/Xcode/SharedPrecompiledHeaders/CocoaChip-Prefix-cqqikmscxiepjgdcrgpysqicucyu/CocoaChip-Prefix.pch --analyze /Users/dustin/Source/CocoaChip/CocoaChip/CCChip8DisplayView.m -o /Users/dustin/Source/CocoaChip/build/CocoaChip.build/Release/CocoaChip.build/StaticAnalyzer/CocoaChip/CocoaChip/normal/x86_64/CCChip8DisplayView.plist
|
493
|
+
).freeze
|
476
494
|
SAMPLE_COMPILE_XIB = %Q(
|
477
495
|
CompileXIB CocoaChip/en.lproj/MainMenu.xib
|
478
496
|
cd /Users/dustin/Source/CocoaChip
|
@@ -597,4 +615,3 @@ SAMPLE_FORMAT_WARNING = %Q(
|
|
597
615
|
%d
|
598
616
|
1 warning generated.
|
599
617
|
)
|
600
|
-
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
class DogeReporter < XCPretty::Reporter
|
3
|
+
|
4
|
+
def format_failing_test(suite, test_case, reason, file)
|
5
|
+
@test_count += 1
|
6
|
+
@fail_count += 1
|
7
|
+
@tests.push("WOW such FAIL. Many #{test_case}. Much #{reason}. Very #{file}.")
|
8
|
+
end
|
9
|
+
|
10
|
+
def format_passing_test(suite, test_case, time)
|
11
|
+
@test_count += 1
|
12
|
+
@tests.push("WOW such PASS. Many #{test_case}. Much green. Very success.")
|
13
|
+
end
|
14
|
+
|
15
|
+
def format_pending_test(classname, test_case)
|
16
|
+
@test_count += 1
|
17
|
+
@tests.push("WOW such PENDING. Many #{test_case}. Much stop. Very wait.")
|
18
|
+
end
|
19
|
+
|
20
|
+
def write_report
|
21
|
+
File.open(@filepath, 'w') do |f|
|
22
|
+
output_string = @tests.join("\n")
|
23
|
+
output_string += "\nWOW such FINISH. Very #{@test_count}. Much #{@fail_count} FAIL. Very done."
|
24
|
+
f.write output_string
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
DogeReporter
|
30
|
+
|
@@ -0,0 +1,388 @@
|
|
1
|
+
User defaults from command line:
|
2
|
+
IDETestRunOnlyIdentifiers = (
|
3
|
+
"viewUITests/vmtAboutWindow/testConnectToDesktop"
|
4
|
+
)
|
5
|
+
IDETestRunSpecificationPath = /Users/viewci/jenkins/workspace/d2/view_macosx10.12-x86_64.xctestrun
|
6
|
+
|
7
|
+
Build settings from command line:
|
8
|
+
arch = x86_64
|
9
|
+
|
10
|
+
2016-08-18 09:07:17.632 XCTRunner[21009:1710602] Running tests...
|
11
|
+
Test Suite 'Selected tests' started at 2016-08-18 09:07:17.820
|
12
|
+
Test Suite 'viewUITests.xctest' started at 2016-08-18 09:07:17.821
|
13
|
+
Test Suite 'vmtAboutWindow' started at 2016-08-18 09:07:17.821
|
14
|
+
Test Case '-[viewUITests.vmtAboutWindow testConnectToDesktop]' started.
|
15
|
+
t = 0.00s Start Test at 2016-08-18 09:07:17.822
|
16
|
+
t = 0.00s Set Up
|
17
|
+
t = 0.00s Launch com.vmware.horizon
|
18
|
+
t = 1.38s Wait for app to idle
|
19
|
+
t = 1.79s Type '
|
20
|
+
t = 1.79s Wait for app to idle
|
21
|
+
t = 1.87s Find the Grid
|
22
|
+
t = 1.87s Snapshot accessibility hierarchy for com.vmware.horizon
|
23
|
+
t = 2.44s Find: Descendants matching type Window
|
24
|
+
t = 2.44s Find: Elements matching predicate '"VMware Horizon Client" IN identifiers'
|
25
|
+
t = 2.44s Find: Descendants matching type ScrollView
|
26
|
+
t = 2.44s Find: Children matching type Grid
|
27
|
+
t = 2.45s Synthesize event
|
28
|
+
t = 2.75s Wait for app to idle
|
29
|
+
t = 3.09s Click SecureTextField
|
30
|
+
t = 3.09s Wait for app to idle
|
31
|
+
t = 3.80s Find the SecureTextField
|
32
|
+
t = 3.80s Snapshot accessibility hierarchy for com.vmware.horizon
|
33
|
+
t = 4.03s Find: Descendants matching type Group
|
34
|
+
t = 4.03s Find: Elements containing elements matching type Image with identifier 'security error'
|
35
|
+
t = 5.04s Find the SecureTextField (retry 1)
|
36
|
+
t = 5.04s Snapshot accessibility hierarchy for com.vmware.horizon
|
37
|
+
t = 5.13s Find: Descendants matching type Group
|
38
|
+
t = 5.13s Find: Elements containing elements matching type Image with identifier 'security error'
|
39
|
+
t = 5.13s Find: Children matching type SecureTextField
|
40
|
+
t = 5.14s Synthesize event
|
41
|
+
t = 5.45s Wait for app to idle
|
42
|
+
t = 5.53s Type 'ca$hc0w' into SecureTextField
|
43
|
+
t = 5.53s Wait for app to idle
|
44
|
+
t = 5.61s Find the SecureTextField
|
45
|
+
t = 5.61s Snapshot accessibility hierarchy for com.vmware.horizon
|
46
|
+
t = 5.70s Find: Descendants matching type Group
|
47
|
+
t = 5.70s Find: Elements containing elements matching type Image with identifier 'security error'
|
48
|
+
t = 5.70s Find: Children matching type SecureTextField
|
49
|
+
t = 5.71s Synthesize event
|
50
|
+
t = 5.95s Wait for app to idle
|
51
|
+
t = 6.04s Click "Login" Button
|
52
|
+
t = 6.04s Wait for app to idle
|
53
|
+
t = 6.12s Find the "Login" Button
|
54
|
+
t = 6.12s Snapshot accessibility hierarchy for com.vmware.horizon
|
55
|
+
t = 6.22s Find: Descendants matching type Button
|
56
|
+
t = 6.22s Find: Elements matching predicate '"Login" IN identifiers'
|
57
|
+
t = 6.22s Synthesize event
|
58
|
+
t = 6.54s Wait for app to idle
|
59
|
+
t = 6.63s Type 'rdsh1
|
60
|
+
t = 6.63s Wait for app to idle
|
61
|
+
t = 6.71s Find the Grid
|
62
|
+
t = 6.71s Snapshot accessibility hierarchy for com.vmware.horizon
|
63
|
+
t = 6.82s Find: Descendants matching type Window
|
64
|
+
t = 6.83s Find: Elements matching predicate '"VMware Horizon Client" IN identifiers'
|
65
|
+
t = 6.83s Find: Children matching type Group
|
66
|
+
t = 6.83s Find: Descendants matching type ScrollView
|
67
|
+
t = 7.83s Find the Grid (retry 1)
|
68
|
+
t = 7.83s Snapshot accessibility hierarchy for com.vmware.horizon
|
69
|
+
t = 7.95s Find: Descendants matching type Window
|
70
|
+
t = 7.96s Find: Elements matching predicate '"VMware Horizon Client" IN identifiers'
|
71
|
+
t = 7.96s Find: Children matching type Group
|
72
|
+
t = 7.96s Find: Descendants matching type ScrollView
|
73
|
+
t = 8.97s Find the Grid (retry 2)
|
74
|
+
t = 8.97s Snapshot accessibility hierarchy for com.vmware.horizon
|
75
|
+
t = 9.24s Find: Descendants matching type Window
|
76
|
+
t = 9.24s Find: Elements matching predicate '"VMware Horizon Client" IN identifiers'
|
77
|
+
t = 9.25s Find: Children matching type Group
|
78
|
+
t = 9.25s Find: Descendants matching type ScrollView
|
79
|
+
t = 9.25s Find: Children matching type Grid
|
80
|
+
t = 9.26s Synthesize event
|
81
|
+
t = 9.44s Wait for app to idle
|
82
|
+
t = 10.03s Snapshot accessibility hierarchy for com.vmware.horizon
|
83
|
+
t = 10.24s Find: Descendants matching type Window
|
84
|
+
t = 10.24s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
85
|
+
Wait for connect to desktop done
|
86
|
+
t = 10.25s Snapshot accessibility hierarchy for com.vmware.horizon
|
87
|
+
t = 10.33s Find: Descendants matching type Window
|
88
|
+
t = 10.33s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
89
|
+
Wait for connect to desktop done
|
90
|
+
t = 10.33s Snapshot accessibility hierarchy for com.vmware.horizon
|
91
|
+
t = 10.41s Find: Descendants matching type Window
|
92
|
+
t = 10.42s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
93
|
+
Wait for connect to desktop done
|
94
|
+
t = 10.42s Snapshot accessibility hierarchy for com.vmware.horizon
|
95
|
+
t = 10.50s Find: Descendants matching type Window
|
96
|
+
t = 10.50s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
97
|
+
Wait for connect to desktop done
|
98
|
+
t = 10.50s Snapshot accessibility hierarchy for com.vmware.horizon
|
99
|
+
t = 10.58s Find: Descendants matching type Window
|
100
|
+
t = 10.59s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
101
|
+
Wait for connect to desktop done
|
102
|
+
t = 10.59s Snapshot accessibility hierarchy for com.vmware.horizon
|
103
|
+
t = 10.67s Find: Descendants matching type Window
|
104
|
+
t = 10.67s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
105
|
+
Wait for connect to desktop done
|
106
|
+
t = 10.67s Snapshot accessibility hierarchy for com.vmware.horizon
|
107
|
+
t = 10.76s Find: Descendants matching type Window
|
108
|
+
t = 10.76s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
109
|
+
Wait for connect to desktop done
|
110
|
+
t = 10.76s Snapshot accessibility hierarchy for com.vmware.horizon
|
111
|
+
t = 10.84s Find: Descendants matching type Window
|
112
|
+
t = 10.84s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
113
|
+
Wait for connect to desktop done
|
114
|
+
t = 10.84s Snapshot accessibility hierarchy for com.vmware.horizon
|
115
|
+
t = 10.93s Find: Descendants matching type Window
|
116
|
+
t = 10.93s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
117
|
+
Wait for connect to desktop done
|
118
|
+
t = 10.93s Snapshot accessibility hierarchy for com.vmware.horizon
|
119
|
+
t = 11.02s Find: Descendants matching type Window
|
120
|
+
t = 11.02s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
121
|
+
Wait for connect to desktop done
|
122
|
+
t = 11.02s Snapshot accessibility hierarchy for com.vmware.horizon
|
123
|
+
t = 11.49s Find: Descendants matching type Window
|
124
|
+
t = 11.49s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
125
|
+
Wait for connect to desktop done
|
126
|
+
t = 11.49s Snapshot accessibility hierarchy for com.vmware.horizon
|
127
|
+
t = 11.83s Find: Descendants matching type Window
|
128
|
+
t = 11.83s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
129
|
+
Wait for connect to desktop done
|
130
|
+
t = 11.83s Snapshot accessibility hierarchy for com.vmware.horizon
|
131
|
+
t = 11.94s Find: Descendants matching type Window
|
132
|
+
t = 11.94s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
133
|
+
Wait for connect to desktop done
|
134
|
+
t = 11.95s Snapshot accessibility hierarchy for com.vmware.horizon
|
135
|
+
t = 12.71s Find: Descendants matching type Window
|
136
|
+
t = 12.71s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
137
|
+
Wait for connect to desktop done
|
138
|
+
t = 12.72s Snapshot accessibility hierarchy for com.vmware.horizon
|
139
|
+
t = 13.03s Find: Descendants matching type Window
|
140
|
+
t = 13.03s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
141
|
+
Wait for connect to desktop done
|
142
|
+
t = 13.03s Snapshot accessibility hierarchy for com.vmware.horizon
|
143
|
+
t = 13.13s Find: Descendants matching type Window
|
144
|
+
t = 13.13s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
145
|
+
Wait for connect to desktop done
|
146
|
+
t = 13.13s Snapshot accessibility hierarchy for com.vmware.horizon
|
147
|
+
t = 13.56s Find: Descendants matching type Window
|
148
|
+
t = 13.56s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
149
|
+
Wait for connect to desktop done
|
150
|
+
t = 13.56s Snapshot accessibility hierarchy for com.vmware.horizon
|
151
|
+
t = 13.64s Find: Descendants matching type Window
|
152
|
+
t = 13.64s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
153
|
+
Wait for connect to desktop done
|
154
|
+
t = 13.65s Snapshot accessibility hierarchy for com.vmware.horizon
|
155
|
+
t = 13.75s Find: Descendants matching type Window
|
156
|
+
t = 13.75s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
157
|
+
Wait for connect to desktop done
|
158
|
+
t = 13.75s Snapshot accessibility hierarchy for com.vmware.horizon
|
159
|
+
t = 13.83s Find: Descendants matching type Window
|
160
|
+
t = 13.84s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
161
|
+
Wait for connect to desktop done
|
162
|
+
t = 13.84s Snapshot accessibility hierarchy for com.vmware.horizon
|
163
|
+
t = 13.92s Find: Descendants matching type Window
|
164
|
+
t = 13.92s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
165
|
+
Wait for connect to desktop done
|
166
|
+
t = 13.92s Snapshot accessibility hierarchy for com.vmware.horizon
|
167
|
+
t = 14.01s Find: Descendants matching type Window
|
168
|
+
t = 14.02s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
169
|
+
Wait for connect to desktop done
|
170
|
+
t = 14.02s Snapshot accessibility hierarchy for com.vmware.horizon
|
171
|
+
t = 14.10s Find: Descendants matching type Window
|
172
|
+
t = 14.11s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
173
|
+
Wait for connect to desktop done
|
174
|
+
t = 14.11s Snapshot accessibility hierarchy for com.vmware.horizon
|
175
|
+
t = 14.19s Find: Descendants matching type Window
|
176
|
+
t = 14.19s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
177
|
+
Wait for connect to desktop done
|
178
|
+
t = 14.19s Snapshot accessibility hierarchy for com.vmware.horizon
|
179
|
+
t = 14.28s Find: Descendants matching type Window
|
180
|
+
t = 14.28s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
181
|
+
Wait for connect to desktop done
|
182
|
+
t = 14.28s Snapshot accessibility hierarchy for com.vmware.horizon
|
183
|
+
t = 14.37s Find: Descendants matching type Window
|
184
|
+
t = 14.37s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
185
|
+
Wait for connect to desktop done
|
186
|
+
t = 14.37s Snapshot accessibility hierarchy for com.vmware.horizon
|
187
|
+
t = 14.59s Find: Descendants matching type Window
|
188
|
+
t = 14.59s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
189
|
+
Wait for connect to desktop done
|
190
|
+
t = 14.59s Snapshot accessibility hierarchy for com.vmware.horizon
|
191
|
+
t = 14.68s Find: Descendants matching type Window
|
192
|
+
t = 14.68s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
193
|
+
Wait for connect to desktop done
|
194
|
+
t = 14.68s Snapshot accessibility hierarchy for com.vmware.horizon
|
195
|
+
t = 14.78s Find: Descendants matching type Window
|
196
|
+
t = 14.78s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
197
|
+
Wait for connect to desktop done
|
198
|
+
t = 14.79s Snapshot accessibility hierarchy for com.vmware.horizon
|
199
|
+
t = 14.87s Find: Descendants matching type Window
|
200
|
+
t = 14.88s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
201
|
+
Wait for connect to desktop done
|
202
|
+
t = 14.88s Snapshot accessibility hierarchy for com.vmware.horizon
|
203
|
+
t = 14.96s Find: Descendants matching type Window
|
204
|
+
t = 14.96s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
205
|
+
Wait for connect to desktop done
|
206
|
+
t = 14.96s Snapshot accessibility hierarchy for com.vmware.horizon
|
207
|
+
t = 15.04s Find: Descendants matching type Window
|
208
|
+
t = 15.05s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
209
|
+
Wait for connect to desktop done
|
210
|
+
t = 15.05s Snapshot accessibility hierarchy for com.vmware.horizon
|
211
|
+
t = 15.13s Find: Descendants matching type Window
|
212
|
+
t = 15.14s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
213
|
+
Wait for connect to desktop done
|
214
|
+
t = 15.14s Snapshot accessibility hierarchy for com.vmware.horizon
|
215
|
+
t = 15.23s Find: Descendants matching type Window
|
216
|
+
t = 15.24s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
217
|
+
Wait for connect to desktop done
|
218
|
+
t = 15.24s Snapshot accessibility hierarchy for com.vmware.horizon
|
219
|
+
t = 15.33s Find: Descendants matching type Window
|
220
|
+
t = 15.33s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
221
|
+
Wait for connect to desktop done
|
222
|
+
t = 15.33s Snapshot accessibility hierarchy for com.vmware.horizon
|
223
|
+
t = 15.41s Find: Descendants matching type Window
|
224
|
+
t = 15.42s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
225
|
+
Wait for connect to desktop done
|
226
|
+
t = 15.42s Snapshot accessibility hierarchy for com.vmware.horizon
|
227
|
+
t = 15.64s Find: Descendants matching type Window
|
228
|
+
t = 15.64s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
229
|
+
Wait for connect to desktop done
|
230
|
+
t = 15.64s Snapshot accessibility hierarchy for com.vmware.horizon
|
231
|
+
t = 15.72s Find: Descendants matching type Window
|
232
|
+
t = 15.73s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
233
|
+
Wait for connect to desktop done
|
234
|
+
t = 15.73s Snapshot accessibility hierarchy for com.vmware.horizon
|
235
|
+
t = 15.83s Find: Descendants matching type Window
|
236
|
+
t = 15.83s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
237
|
+
Wait for connect to desktop done
|
238
|
+
t = 15.83s Snapshot accessibility hierarchy for com.vmware.horizon
|
239
|
+
t = 15.92s Find: Descendants matching type Window
|
240
|
+
t = 15.92s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
241
|
+
Wait for connect to desktop done
|
242
|
+
t = 15.92s Snapshot accessibility hierarchy for com.vmware.horizon
|
243
|
+
t = 16.00s Find: Descendants matching type Window
|
244
|
+
t = 16.00s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
245
|
+
Wait for connect to desktop done
|
246
|
+
t = 16.00s Snapshot accessibility hierarchy for com.vmware.horizon
|
247
|
+
t = 16.08s Find: Descendants matching type Window
|
248
|
+
t = 16.09s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
249
|
+
Wait for connect to desktop done
|
250
|
+
t = 16.09s Snapshot accessibility hierarchy for com.vmware.horizon
|
251
|
+
t = 16.17s Find: Descendants matching type Window
|
252
|
+
t = 16.17s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
253
|
+
Wait for connect to desktop done
|
254
|
+
t = 16.17s Snapshot accessibility hierarchy for com.vmware.horizon
|
255
|
+
t = 16.26s Find: Descendants matching type Window
|
256
|
+
t = 16.26s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
257
|
+
Wait for connect to desktop done
|
258
|
+
t = 16.26s Snapshot accessibility hierarchy for com.vmware.horizon
|
259
|
+
t = 16.34s Find: Descendants matching type Window
|
260
|
+
t = 16.35s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
261
|
+
Wait for connect to desktop done
|
262
|
+
t = 16.35s Snapshot accessibility hierarchy for com.vmware.horizon
|
263
|
+
t = 16.43s Find: Descendants matching type Window
|
264
|
+
t = 16.44s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
265
|
+
Wait for connect to desktop done
|
266
|
+
t = 16.44s Snapshot accessibility hierarchy for com.vmware.horizon
|
267
|
+
t = 16.66s Find: Descendants matching type Window
|
268
|
+
t = 16.66s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
269
|
+
Wait for connect to desktop done
|
270
|
+
t = 16.66s Snapshot accessibility hierarchy for com.vmware.horizon
|
271
|
+
t = 16.75s Find: Descendants matching type Window
|
272
|
+
t = 16.75s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
273
|
+
Wait for connect to desktop done
|
274
|
+
t = 16.75s Snapshot accessibility hierarchy for com.vmware.horizon
|
275
|
+
t = 16.85s Find: Descendants matching type Window
|
276
|
+
t = 16.85s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
277
|
+
Wait for connect to desktop done
|
278
|
+
t = 16.85s Snapshot accessibility hierarchy for com.vmware.horizon
|
279
|
+
t = 16.94s Find: Descendants matching type Window
|
280
|
+
t = 16.94s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
281
|
+
Wait for connect to desktop done
|
282
|
+
t = 16.94s Snapshot accessibility hierarchy for com.vmware.horizon
|
283
|
+
t = 17.02s Find: Descendants matching type Window
|
284
|
+
t = 17.02s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
285
|
+
Wait for connect to desktop done
|
286
|
+
t = 17.03s Snapshot accessibility hierarchy for com.vmware.horizon
|
287
|
+
t = 17.11s Find: Descendants matching type Window
|
288
|
+
t = 17.11s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
289
|
+
Wait for connect to desktop done
|
290
|
+
t = 17.11s Snapshot accessibility hierarchy for com.vmware.horizon
|
291
|
+
t = 17.20s Find: Descendants matching type Window
|
292
|
+
t = 17.20s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
293
|
+
Wait for connect to desktop done
|
294
|
+
t = 17.20s Snapshot accessibility hierarchy for com.vmware.horizon
|
295
|
+
t = 17.29s Find: Descendants matching type Window
|
296
|
+
t = 17.29s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
297
|
+
Wait for connect to desktop done
|
298
|
+
t = 17.29s Snapshot accessibility hierarchy for com.vmware.horizon
|
299
|
+
t = 17.38s Find: Descendants matching type Window
|
300
|
+
t = 17.38s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
301
|
+
Wait for connect to desktop done
|
302
|
+
t = 17.38s Snapshot accessibility hierarchy for com.vmware.horizon
|
303
|
+
t = 17.46s Find: Descendants matching type Window
|
304
|
+
t = 17.46s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
305
|
+
Wait for connect to desktop done
|
306
|
+
t = 17.47s Snapshot accessibility hierarchy for com.vmware.horizon
|
307
|
+
t = 17.69s Find: Descendants matching type Window
|
308
|
+
t = 17.70s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
309
|
+
Wait for connect to desktop done
|
310
|
+
t = 17.70s Snapshot accessibility hierarchy for com.vmware.horizon
|
311
|
+
t = 17.78s Find: Descendants matching type Window
|
312
|
+
t = 17.78s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
313
|
+
Wait for connect to desktop done
|
314
|
+
t = 17.78s Snapshot accessibility hierarchy for com.vmware.horizon
|
315
|
+
t = 17.89s Find: Descendants matching type Window
|
316
|
+
t = 17.89s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
317
|
+
Wait for connect to desktop done
|
318
|
+
t = 17.89s Snapshot accessibility hierarchy for com.vmware.horizon
|
319
|
+
t = 17.98s Find: Descendants matching type Window
|
320
|
+
t = 17.98s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
321
|
+
Wait for connect to desktop done
|
322
|
+
t = 17.98s Snapshot accessibility hierarchy for com.vmware.horizon
|
323
|
+
t = 18.07s Find: Descendants matching type Window
|
324
|
+
t = 18.07s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
325
|
+
Wait for connect to desktop done
|
326
|
+
t = 18.07s Snapshot accessibility hierarchy for com.vmware.horizon
|
327
|
+
t = 18.16s Find: Descendants matching type Window
|
328
|
+
t = 18.16s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
329
|
+
Wait for connect to desktop done
|
330
|
+
t = 18.16s Snapshot accessibility hierarchy for com.vmware.horizon
|
331
|
+
t = 18.24s Find: Descendants matching type Window
|
332
|
+
t = 18.25s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
333
|
+
Wait for connect to desktop done
|
334
|
+
t = 18.25s Snapshot accessibility hierarchy for com.vmware.horizon
|
335
|
+
t = 18.33s Find: Descendants matching type Window
|
336
|
+
t = 18.34s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
337
|
+
Wait for connect to desktop done
|
338
|
+
t = 18.34s Snapshot accessibility hierarchy for com.vmware.horizon
|
339
|
+
t = 18.43s Find: Descendants matching type Window
|
340
|
+
t = 18.43s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
341
|
+
Wait for connect to desktop done
|
342
|
+
t = 18.43s Snapshot accessibility hierarchy for com.vmware.horizon
|
343
|
+
t = 18.52s Find: Descendants matching type Window
|
344
|
+
t = 18.52s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
345
|
+
Wait for connect to desktop done
|
346
|
+
t = 18.52s Snapshot accessibility hierarchy for com.vmware.horizon
|
347
|
+
t = 18.75s Find: Descendants matching type Window
|
348
|
+
t = 18.75s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
349
|
+
Wait for connect to desktop done
|
350
|
+
t = 18.76s Snapshot accessibility hierarchy for com.vmware.horizon
|
351
|
+
t = 18.84s Find: Descendants matching type Window
|
352
|
+
t = 18.84s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
353
|
+
Wait for connect to desktop done
|
354
|
+
t = 18.84s Snapshot accessibility hierarchy for com.vmware.horizon
|
355
|
+
t = 18.96s Find: Descendants matching type Window
|
356
|
+
t = 18.97s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
357
|
+
Wait for connect to desktop done
|
358
|
+
t = 18.97s Snapshot accessibility hierarchy for com.vmware.horizon
|
359
|
+
t = 19.05s Find: Descendants matching type Window
|
360
|
+
t = 19.06s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
361
|
+
Wait for connect to desktop done
|
362
|
+
t = 19.06s Snapshot accessibility hierarchy for com.vmware.horizon
|
363
|
+
t = 20.31s Find: Descendants matching type Window
|
364
|
+
t = 20.32s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
365
|
+
Connect to desktop done
|
366
|
+
t = 20.32s Click "Disconnect" Button
|
367
|
+
t = 20.32s Wait for app to idle
|
368
|
+
t = 20.39s Find the "Disconnect" Button
|
369
|
+
t = 20.39s Snapshot accessibility hierarchy for com.vmware.horizon
|
370
|
+
t = 20.53s Find: Descendants matching type Window
|
371
|
+
t = 20.53s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
372
|
+
t = 21.54s Find the "Disconnect" Button (retry 1)
|
373
|
+
t = 21.54s Snapshot accessibility hierarchy for com.vmware.horizon
|
374
|
+
t = 21.80s Find: Descendants matching type Window
|
375
|
+
t = 21.80s Find: Elements matching predicate '"rdsh1" IN identifiers'
|
376
|
+
t = 21.81s Find: Descendants matching type Toolbar
|
377
|
+
t = 21.81s Find: Descendants matching type Button
|
378
|
+
t = 21.81s Find: Elements matching predicate '"Disconnect" IN identifiers'
|
379
|
+
t = 21.81s Synthesize event
|
380
|
+
t = 22.27s Assertion Failure: <unknown>:0: UI Testing Failure - Unable to find hit point for element Button 0x608001165880: {{74.0, -54.0}, {44.0, 38.0}}, label: 'Disconnect'
|
381
|
+
t = 22.29s Tear Down
|
382
|
+
Test Case '-[viewUITests.vmtAboutWindow testConnectToDesktop]' failed (22.490 seconds).
|
383
|
+
Test Suite 'vmtAboutWindow' failed at 2016-08-18 09:07:40.331.
|
384
|
+
Executed 1 test, with 1 failure (0 unexpected) in 22.490 (22.510) seconds
|
385
|
+
Test Suite 'viewUITests.xctest' failed at 2016-08-18 09:07:40.332.
|
386
|
+
Executed 1 test, with 1 failure (0 unexpected) in 22.490 (22.511) seconds
|
387
|
+
Test Suite 'Selected tests' failed at 2016-08-18 09:07:40.332.
|
388
|
+
Executed 1 test, with 1 failure (0 unexpected) in 22.490 (22.513) seconds
|