Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests are failing under FF22 #1

Open
muescha opened this issue Jul 18, 2013 · 4 comments
Open

Tests are failing under FF22 #1

muescha opened this issue Jul 18, 2013 · 4 comments

Comments

@muescha
Copy link

muescha commented Jul 18, 2013

(removed original issue text about wrong converting)

Tests are failing under FF22

@muescha
Copy link
Author

muescha commented Jul 18, 2013

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

@muescha
Copy link
Author

muescha commented Jul 18, 2013

FF 22.0 - OSX 10.8.3

@muescha
Copy link
Author

muescha commented Jul 18, 2013

interesting. sometimes if i reload the test page i get one error more: 4errors (some random test is also failing)

@muescha
Copy link
Author

muescha commented Jul 18, 2013

Safari 6.0.4 pass the test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant