Open muescha opened 11 years ago
oh i see the tests fails:
passes: 11
failures: 4
duration: 0.46s
Converter
converts multilines to one line ‣
converts multilines to one line with args ‣
converts multilines to one line for blank line ‣
replaces NSString ‣
converts square brackets ‣
converts square brackets with args ‣
converts square brackets with multiple args ‣
expected '[[UITabBarItem.alloc initWithTabBarSystemItem:UITabBarSystemItemBookmarks tag:0] autorelease];' to equal 'UITabBarItem.alloc.initWithTabBarSystemItem(UITabBarSystemItemBookmarks,tag:0).autorelease;'
removes semicolons at end of lines ‣
removes autorelease ‣
expected '[[UIWindow.alloc initWithFrame:UIScreen.mainScreen.bounds] autorelease]' to equal 'UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)'
removes type declarations ‣
global leaks detected: navigator, gaGlobal
Runner.prototype.checkGlobals@http://objc2rubymotion.herokuapp.com/assets/javascripts/vendor_specs.js:4229
Runner/<@http://objc2rubymotion.herokuapp.com/assets/javascripts/vendor_specs.js:4116
EventEmitter.prototype.emit@http://objc2rubymotion.herokuapp.com/assets/javascripts/vendor_specs.js:522
Runner.prototype.runTests/next/</<@http://objc2rubymotion.herokuapp.com/assets/javascripts/vendor_specs.js:4462
Runnable.prototype.run@http://objc2rubymotion.herokuapp.com/assets/javascripts/vendor_specs.js:4049
Runner.prototype.runTest@http://objc2rubymotion.herokuapp.com/assets/javascripts/vendor_specs.js:4405
Runner.prototype.runTests/next/<@http://objc2rubymotion.herokuapp.com/assets/javascripts/vendor_specs.js:4451
next@http://objc2rubymotion.herokuapp.com/assets/javascripts/vendor_specs.js:4331
Runner.prototype.hooks/next/<@http://objc2rubymotion.herokuapp.com/assets/javascripts/vendor_specs.js:4340
next@http://objc2rubymotion.herokuapp.com/assets/javascripts/vendor_specs.js:4288
Runner.prototype.hook/<@http://objc2rubymotion.herokuapp.com/assets/javascripts/vendor_specs.js:4308
@http://objc2rubymotion.herokuapp.com/assets/javascripts/vendor_specs.js:5260
removes type declarations with spaces ‣
removes multiple type declarations ‣
converts multiline expression ‣
expected 'alertA = [UIAlertView.alloc.initWithTitle("Warning",message:"too many alerts",delegate:nil,cancelButtonTitle:"OK",otherButtonTitles:nil) autorelease]\nalertB = [UIAlertView.alloc.initWithTitle("Warning",message:"too many alerts",delegate:nil,cancelButtonTitle:"OK",otherButtonTitles:nil) autorelease]\nalert.show' to equal 'alertA = UIAlertView.alloc.initWithTitle("Warning",message:"too many alerts",delegate:nil,cancelButtonTitle:"OK",otherButtonTitles:nil)\nalertB = UIAlertView.alloc.initWithTitle("Warning",message:"too many alerts",delegate:nil,cancelButtonTitle:"OK",otherButtonTitles:nil)\nalert.show'
Sanity
1 should == 1
FF 22.0 - OSX 10.8.3
interesting. sometimes if i reload the test page i get one error more: 4errors (some random test is also failing)
Safari 6.0.4 pass the test
(removed original issue text about wrong converting)
Tests are failing under FF22