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

The unit test failed on the Windows. #10

Closed
mrk21 opened this issue Jul 15, 2014 · 1 comment
Closed

The unit test failed on the Windows. #10

mrk21 opened this issue Jul 15, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@mrk21
Copy link
Owner

mrk21 commented Jul 15, 2014

The error messages are shown below:

  1) Firebrew::Firefox::Profile Manager #all() should construct records
     Failure/Error: expect(subject[2].path).to eq('/path/to/abs_profile')

       expected: "/path/to/abs_profile"
            got: "Z:/path/to/abs_profile"

       (compared using ==)
     # ./spec/firebrew/firefox/profile_spec.rb:36:in `block (4 levels) in <module:Firefox>'

  2) Firebrew::Runner Instance #install(params) should not raise Exception
     Failure/Error: it { expect{subject}.to_not raise_error }
       expected no Exception, got #<Firebrew::FirefoxCommandError: Firebrew::FirefoxCommandError> with backtrace:
         # ./lib/firebrew/firefox/command.rb:17:in `rescue in initialize'
         # ./lib/firebrew/firefox/command.rb:12:in `initialize'
         # ./lib/firebrew/runner.rb:42:in `new'
         # ./lib/firebrew/runner.rb:42:in `initialize'
         # ./spec/firebrew/runner_spec.rb:135:in `new'
         # ./spec/firebrew/runner_spec.rb:135:in `block (3 levels) in <module:Firebrew>'
         # ./spec/firebrew/runner_spec.rb:160:in `block (4 levels) in <module:Firebrew>'
         # ./spec/firebrew/runner_spec.rb:164:in `block (5 levels) in <module:Firebrew>'
         # ./spec/firebrew/runner_spec.rb:164:in `block (4 levels) in <module:Firebrew>'
     # ./spec/firebrew/runner_spec.rb:164:in `block (4 levels) in <module:Firebrew>'

  3) Firebrew::Runner Instance #install(params) when the `params[:term]` existed should raise Firebrew::OperationAlreadyCompletedError
     Failure/Error: it { expect{subject}.to raise_error(Firebrew::OperationAlreadyCompletedError) }
       expected Firebrew::OperationAlreadyCompletedError, got #<Firebrew::FirefoxCommandError: Firebrew::FirefoxCommandError> with backtrace:
         # ./lib/firebrew/firefox/command.rb:17:in `rescue in initialize'
         # ./lib/firebrew/firefox/command.rb:12:in `initialize'
         # ./lib/firebrew/runner.rb:42:in `new'
         # ./lib/firebrew/runner.rb:42:in `initialize'
         # ./spec/firebrew/runner_spec.rb:135:in `new'
         # ./spec/firebrew/runner_spec.rb:135:in `block (3 levels) in <module:Firebrew>'
         # ./spec/firebrew/runner_spec.rb:169:in `block (5 levels) in <module:Firebrew>'
         # ./spec/firebrew/runner_spec.rb:173:in `block (6 levels) in <module:Firebrew>'
         # ./spec/firebrew/runner_spec.rb:173:in `block (5 levels) in <module:Firebrew>'
     # ./spec/firebrew/runner_spec.rb:173:in `block (5 levels) in <module:Firebrew>'

  4) Firebrew::Runner Instance #uninstall(params) should not raise Exception
     Failure/Error: it { expect{subject}.to_not raise_error }
       expected no Exception, got #<Firebrew::FirefoxCommandError: Firebrew::FirefoxCommandError> with backtrace:
         # ./lib/firebrew/firefox/command.rb:17:in `rescue in initialize'
         # ./lib/firebrew/firefox/command.rb:12:in `initialize'
         # ./lib/firebrew/runner.rb:42:in `new'
         # ./lib/firebrew/runner.rb:42:in `initialize'
         # ./spec/firebrew/runner_spec.rb:135:in `new'
         # ./spec/firebrew/runner_spec.rb:135:in `block (3 levels) in <module:Firebrew>'
         # ./spec/firebrew/runner_spec.rb:180:in `block (4 levels) in <module:Firebrew>'
         # ./spec/firebrew/runner_spec.rb:184:in `block (5 levels) in <module:Firebrew>'
         # ./spec/firebrew/runner_spec.rb:184:in `block (4 levels) in <module:Firebrew>'
     # ./spec/firebrew/runner_spec.rb:184:in `block (4 levels) in <module:Firebrew>'

  5) Firebrew::Runner Instance #uninstall(params) when the `params[:term]` not existed should raise Firebrew::OperationAlreadyCompletedError
     Failure/Error: it { expect{subject}.to raise_error(Firebrew::OperationAlreadyCompletedError) }
       expected Firebrew::OperationAlreadyCompletedError, got #<Firebrew::FirefoxCommandError: Firebrew::FirefoxCommandError> with backtrace:
         # ./lib/firebrew/firefox/command.rb:17:in `rescue in initialize'
         # ./lib/firebrew/firefox/command.rb:12:in `initialize'
         # ./lib/firebrew/runner.rb:42:in `new'
         # ./lib/firebrew/runner.rb:42:in `initialize'
         # ./spec/firebrew/runner_spec.rb:135:in `new'
         # ./spec/firebrew/runner_spec.rb:135:in `block (3 levels) in <module:Firebrew>'
         # ./spec/firebrew/runner_spec.rb:190:in `block (5 levels) in <module:Firebrew>'
         # ./spec/firebrew/runner_spec.rb:194:in `block (6 levels) in <module:Firebrew>'
         # ./spec/firebrew/runner_spec.rb:194:in `block (5 levels) in <module:Firebrew>'
     # ./spec/firebrew/runner_spec.rb:194:in `block (5 levels) in <module:Firebrew>'

Finished in 6.07 seconds (files took 18.39 seconds to load)
72 examples, 5 failures

Failed examples:

rspec ./spec/firebrew/firefox/profile_spec.rb:26 # Firebrew::Firefox::Profile Manager #all() should construct records
rspec ./spec/firebrew/runner_spec.rb:164 # Firebrew::Runner Instance #install(params) should not raise Exception
rspec ./spec/firebrew/runner_spec.rb:173 # Firebrew::Runner Instance #install(params) when the `params[:term]` existed should raise Firebrew::OperationAlreadyCompletedError
rspec ./spec/firebrew/runner_spec.rb:184 # Firebrew::Runner Instance #uninstall(params) should not raise Exception
rspec ./spec/firebrew/runner_spec.rb:194 # Firebrew::Runner Instance #uninstall(params) when the `params[:term]` not existed should raise Firebrew::OperationAlreadyCompletedError
@mrk21 mrk21 added this to the 0.1.1 milestone Jul 15, 2014
@mrk21 mrk21 added the bug label Jul 15, 2014
@mrk21 mrk21 self-assigned this Jul 15, 2014
@mrk21
Copy link
Owner Author

mrk21 commented Jul 15, 2014

The first error will be corresponded by the issue #11.
The 2 to 5 errors will be corresponded by the issue #12.

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

No branches or pull requests

1 participant