Sha256: ce4cc6efa1342bd55c4444eff7e0468506c91b38dc8c15fb1ea7815c6b710394

Contents?: true

Size: 1.49 KB

Versions: 6

Compression:

Stored size: 1.49 KB

Contents

class TeacupDummy
  def anyMethodName
    @anyobject.type = nil
  end
end

class DummyView < UIView
private
  def dummy
    setFrame(nil)
    setOpaque(nil)
    setClipsToBounds(nil)
    setUserInteractionEnabled(nil)
  end
end

class DummyTableView < UITableView
private
 def dummy
   setAllowSelection(value)
 end
end

class DummyButton < UIButton
private
  def dummy
    setTitleEdgeInsets(nil)
  end
end

class DummyScrollView < UIScrollView
private
  def dummy
    setScrollEnabled(nil)
    setShowsHorizontalScrollIndicator(nil)
    setShowsVerticalScrollIndicator(nil)
  end
end

class DummyActivityIndicatorView < UIActivityIndicatorView
private
  def dummy
    setHidesWhenStopped(nil)
  end
end

class DummyLabel < UILabel
private
  def dummy
    setAdjustsFontSizeToFitWidth(nil)
  end
end

class DummyTextField < UITextField
private
  def dummy
    setSecureTextEntry(nil)
    setReturnKeyType(nil)
    setAutocapitalizationType(nil)
    setAutocorrectionType(nil)
    setSpellCheckingType(nil)
  end
end

class DummyPickerView < UIPickerView
private
  def dummy
    setShowsSelectionIndicator(nil)
  end
end

class DummyLayer < CALayer
private
  def dummy
    setCornerRadius(nil)
    setTransform(nil)
    setMasksToBounds(nil)
    setShadowOffset(nil)
    setShadowOpacity(nil)
    setShadowRadius(nil)
    setShadowOffset(nil)
    setShadowColor(nil)
    setShadowPath(nil)
    setOpaque(nil)
    setTranslucent(nil)
  end
end

class DummySwitch < UISwitch
private
  def dummy
    on?
    setOn(true)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
teacup-1.3.4 lib/dummy.rb
teacup-1.3.3 lib/dummy.rb
teacup-1.3.2 lib/dummy.rb
teacup-1.3.1 lib/dummy.rb
teacup-1.3.0 lib/dummy.rb
teacup-1.2.9 lib/dummy.rb