xctest_list 1.1.7 → 1.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xctest_list.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a7d0c055a03cda79275c01577654e053bb2c163
|
4
|
+
data.tar.gz: f6b493f6952fdaa84dd40b56b3d357862c0110cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf6ad5c2bc5523de91e8562257611881785cf3fe74cb1412fad6e216162034e91dc122bcdab13fc93b3147707bf328f7ef971ac914722f009cd12616c772347c
|
7
|
+
data.tar.gz: f215babcbf9d8d949af6389234ce67f7e44b801152d8105e79ce43321207b88e43c6564409a85d6efa00acfde967f36fe873f7c0f7bc253124db850d3cbac7c9
|
data/lib/xctest_list.rb
CHANGED
@@ -41,7 +41,7 @@ class XCTestList
|
|
41
41
|
system("nm -U '#{binary_path(xctest_bundle_path)}' > '#{objc_symbols_command_output_tempfile.path}'")
|
42
42
|
tests = []
|
43
43
|
File.foreach(objc_symbols_command_output_tempfile.path) do |line|
|
44
|
-
if / t -\[(?<testclass>\w+) (?<testmethod>test\w
|
44
|
+
if / t -\[(?<testclass>\w+) (?<testmethod>test\w*)\]/ =~ line
|
45
45
|
tests << "#{testclass}/#{testmethod}"
|
46
46
|
end
|
47
47
|
end
|
@@ -68,7 +68,7 @@ class XCTestList
|
|
68
68
|
system("#{swift_symbol_dump_command(binary_path(xctest_bundle_path))} > '#{swift_symbols_command_output_tempfile.path}'")
|
69
69
|
tests = []
|
70
70
|
File.foreach(swift_symbols_command_output_tempfile.path) do |line|
|
71
|
-
if /.*-\[.*\]/ !~ line && /\w+\.(?<testclass>[^\.]+)\.(?<testmethod>test[^\(]
|
71
|
+
if /.*-\[.*\]/ !~ line && /\w+\.(?<testclass>[^\.]+)\.(?<testmethod>test[^\(]*)\(/ =~ line
|
72
72
|
tests << "#{testclass}/#{testmethod}"
|
73
73
|
end
|
74
74
|
end
|