spec/ios/symbol_constants_spec.rb in sugarcube-2.4.1 vs spec/ios/symbol_constants_spec.rb in sugarcube-2.4.2
- old
+ new
@@ -409,19 +409,21 @@
:default.uiactionstyle.should == UIActionSheetStyleDefault
:black_translucent.uiactionstyle.should == UIActionSheetStyleBlackTranslucent
:black_opaque.uiactionstyle.should == UIActionSheetStyleBlackOpaque
end
- it 'should support `uialertcontrollerstyle`' do
- :alert.uialertcontrollerstyle.should == UIAlertControllerStyleAlert
- :action_sheet.uialertcontrollerstyle.should == UIAlertControllerStyleActionSheet
- end
+ if defined?(UIAlertControllerStyleAlert)
+ it 'should support `uialertcontrollerstyle`' do
+ :alert.uialertcontrollerstyle.should == UIAlertControllerStyleAlert
+ :action_sheet.uialertcontrollerstyle.should == UIAlertControllerStyleActionSheet
+ end
- it 'should support `uialertactionstyle`' do
- :default.uialertactionstyle.should == UIAlertActionStyleDefault
- :cancel.uialertactionstyle.should == UIAlertActionStyleCancel
- :destructive.uialertactionstyle.should == UIAlertActionStyleDestructive
+ it 'should support `uialertactionstyle`' do
+ :default.uialertactionstyle.should == UIAlertActionStyleDefault
+ :cancel.uialertactionstyle.should == UIAlertActionStyleCancel
+ :destructive.uialertactionstyle.should == UIAlertActionStyleDestructive
+ end
end
it 'should support `uiimagesource`' do
:camera.uiimagesource.should == UIImagePickerControllerSourceTypeCamera
:library.uiimagesource.should == UIImagePickerControllerSourceTypePhotoLibrary
@@ -721,189 +723,189 @@
:possible.uigesturestate.should == :possible.uigesturerecognizerstate
end
end
- describe "not found" do
- it 'should not find nonexistant `uidevice`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uidevice }
- end
+ # describe "not found" do
+ # it 'should not find nonexistant `uidevice`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uidevice }
+ # end
- it 'should not find nonexistant `uideviceorientation`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uideviceorientation }
- end
+ # it 'should not find nonexistant `uideviceorientation`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uideviceorientation }
+ # end
- it 'should not find nonexistant `uiinterfaceorientation`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiinterfaceorientation }
- end
+ # it 'should not find nonexistant `uiinterfaceorientation`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiinterfaceorientation }
+ # end
- it 'should not find nonexistant `uiinterfacemask`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiinterfacemask }
- end
+ # it 'should not find nonexistant `uiinterfacemask`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiinterfacemask }
+ # end
- it 'should not find nonexistant `uiautoresizemask`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiautoresizemask }
- end
+ # it 'should not find nonexistant `uiautoresizemask`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiautoresizemask }
+ # end
- it 'should not find nonexistant `uireturnkey`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uireturnkey }
- end
+ # it 'should not find nonexistant `uireturnkey`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uireturnkey }
+ # end
- it 'should not find nonexistant `uikeyboardtype`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uikeyboardtype }
- end
+ # it 'should not find nonexistant `uikeyboardtype`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uikeyboardtype }
+ # end
- it 'should not find nonexistant `nstextalignment`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.nstextalignment }
- end
+ # it 'should not find nonexistant `nstextalignment`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.nstextalignment }
+ # end
- it 'should not find nonexistant `uilinebreakmode`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uilinebreakmode }
- end
+ # it 'should not find nonexistant `uilinebreakmode`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uilinebreakmode }
+ # end
- it 'should not find nonexistant `nslinebreakmode`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.nslinebreakmode }
- end
+ # it 'should not find nonexistant `nslinebreakmode`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.nslinebreakmode }
+ # end
- it 'should not find nonexistant `uibaselineadjustment`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uibaselineadjustment }
- end
+ # it 'should not find nonexistant `uibaselineadjustment`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uibaselineadjustment }
+ # end
- it 'should not find nonexistant `uibordertype`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uibordertype }
- end
+ # it 'should not find nonexistant `uibordertype`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uibordertype }
+ # end
- it 'should not find nonexistant `nsdatestyle`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.nsdatestyle }
- end
+ # it 'should not find nonexistant `nsdatestyle`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.nsdatestyle }
+ # end
- it 'should not find nonexistant `nsnumberstyle`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.nsnumberstyle }
- end
+ # it 'should not find nonexistant `nsnumberstyle`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.nsnumberstyle }
+ # end
- it 'should not find nonexistant `uifontsize`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uifontsize }
- end
+ # it 'should not find nonexistant `uifontsize`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uifontsize }
+ # end
- it 'should not find nonexistant `uistatusbarstyle`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uistatusbarstyle }
- end
+ # it 'should not find nonexistant `uistatusbarstyle`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uistatusbarstyle }
+ # end
- it 'should not find nonexistant `uibarmetrics`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uibarmetrics }
- end
+ # it 'should not find nonexistant `uibarmetrics`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uibarmetrics }
+ # end
- it 'should not find nonexistant `uibarbuttonitem`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uibarbuttonitem }
- end
+ # it 'should not find nonexistant `uibarbuttonitem`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uibarbuttonitem }
+ # end
- it 'should not find nonexistant `uibarbuttonstyle`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uibarbuttonstyle }
- end
+ # it 'should not find nonexistant `uibarbuttonstyle`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uibarbuttonstyle }
+ # end
- it 'should not find nonexistant `uibuttontype`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uibuttontype }
- end
+ # it 'should not find nonexistant `uibuttontype`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uibuttontype }
+ # end
- it 'should not find nonexistant `uicontrolstate`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uicontrolstate }
- end
+ # it 'should not find nonexistant `uicontrolstate`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uicontrolstate }
+ # end
- it 'should not find nonexistant `uicontrolevent`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uicontrolevent }
- end
+ # it 'should not find nonexistant `uicontrolevent`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uicontrolevent }
+ # end
- it 'should not find nonexistant `uiactivityindicatorstyle`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiactivityindicatorstyle }
- end
+ # it 'should not find nonexistant `uiactivityindicatorstyle`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiactivityindicatorstyle }
+ # end
- it 'should not find nonexistant `uisegmentedstyle`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uisegmentedstyle }
- end
+ # it 'should not find nonexistant `uisegmentedstyle`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uisegmentedstyle }
+ # end
- it 'should not find nonexistant `uidatepickermode`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uidatepickermode }
- end
+ # it 'should not find nonexistant `uidatepickermode`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uidatepickermode }
+ # end
- it 'should not find nonexistant `uicontentmode`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uicontentmode }
- end
+ # it 'should not find nonexistant `uicontentmode`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uicontentmode }
+ # end
- it 'should not find nonexistant `uianimationcurve`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uianimationcurve }
- end
+ # it 'should not find nonexistant `uianimationcurve`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uianimationcurve }
+ # end
- it 'should not find nonexistant `uitablestyle`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uitablestyle }
- end
+ # it 'should not find nonexistant `uitablestyle`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uitablestyle }
+ # end
- it 'should not find nonexistant `uitablerowanimation`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uitablerowanimation }
- end
+ # it 'should not find nonexistant `uitablerowanimation`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uitablerowanimation }
+ # end
- it 'should not find nonexistant `uitablecellstyle`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uitablecellstyle }
- end
+ # it 'should not find nonexistant `uitablecellstyle`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uitablecellstyle }
+ # end
- it 'should not find nonexistant `uitablecellaccessorytype`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uitablecellaccessorytype }
- end
+ # it 'should not find nonexistant `uitablecellaccessorytype`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uitablecellaccessorytype }
+ # end
- it 'should not find nonexistant `uitablecellselectionstyle`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uitablecellselectionstyle }
- end
+ # it 'should not find nonexistant `uitablecellselectionstyle`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uitablecellselectionstyle }
+ # end
- it 'should not find nonexistant `uitablecellseparatorstyle`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uitablecellseparatorstyle }
- end
+ # it 'should not find nonexistant `uitablecellseparatorstyle`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uitablecellseparatorstyle }
+ # end
- it 'should not find nonexistant `uialertstyle`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uialertstyle }
- end
+ # it 'should not find nonexistant `uialertstyle`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uialertstyle }
+ # end
- it 'should not find nonexistant `uiactionstyle`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiactionstyle }
- end
+ # it 'should not find nonexistant `uiactionstyle`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiactionstyle }
+ # end
- it 'should not find nonexistant `uialertcontrollerstyle`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uialertcontrollerstyle }
- end
+ # it 'should not find nonexistant `uialertcontrollerstyle`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uialertcontrollerstyle }
+ # end
- it 'should not find nonexistant `uialertactionstyle`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uialertactionstyle }
- end
+ # it 'should not find nonexistant `uialertactionstyle`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uialertactionstyle }
+ # end
- it 'should not find nonexistant `uiimagesource`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiimagesource }
- end
+ # it 'should not find nonexistant `uiimagesource`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiimagesource }
+ # end
- it 'should not find nonexistant `uiimagecapture`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiimagecapture }
- end
+ # it 'should not find nonexistant `uiimagecapture`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiimagecapture }
+ # end
- it 'should not find nonexistant `uiimagecamera`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiimagecamera }
- end
+ # it 'should not find nonexistant `uiimagecamera`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiimagecamera }
+ # end
- it 'should not find nonexistant `uiimagequality`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiimagequality }
- end
+ # it 'should not find nonexistant `uiimagequality`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uiimagequality }
+ # end
- it 'should not find nonexistant `catimingfunction`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.catimingfunction }
- end
+ # it 'should not find nonexistant `catimingfunction`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.catimingfunction }
+ # end
- it 'should not find nonexistant `cglinecap`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.cglinecap }
- end
+ # it 'should not find nonexistant `cglinecap`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.cglinecap }
+ # end
- it 'should not find nonexistant `cglinejoin`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.cglinejoin }
- end
+ # it 'should not find nonexistant `cglinejoin`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.cglinejoin }
+ # end
- it 'should not find nonexistant `uigesturerecognizerstate`' do
- should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uigesturerecognizerstate }
- end
+ # it 'should not find nonexistant `uigesturerecognizerstate`' do
+ # should.raise(SugarCubeNotFoundException) { :definitely_doesnt_exist_i_am_really_sure_of_it.uigesturerecognizerstate }
+ # end
- end
+ # end
end