class String

Public Instance Methods

shellsafe_testidentifier() click to toggle source
# File lib/fastlane/plugin/test_center/helper/xcodebuild_string.rb, line 20
def shellsafe_testidentifier
  TestCenter::Helper::MUST_SHELLESCAPE_TESTIDENTIFIER ? self.shellescape : self
end
strip_testcase() click to toggle source
# File lib/fastlane/plugin/test_center/helper/xcodebuild_string.rb, line 24
def strip_testcase
  split('/').first(2).join('/')
end
testsuite() click to toggle source
# File lib/fastlane/plugin/test_center/helper/xcodebuild_string.rb, line 12
def testsuite
  if self.testsuite_swift?
    self.split('.')[1]
  else
    self
  end
end
testsuite_swift?() click to toggle source
# File lib/fastlane/plugin/test_center/helper/xcodebuild_string.rb, line 8
def testsuite_swift?
  self.include?('.')
end