mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Merge remote-tracking branch 'origin/project-refactor'
This commit is contained in:
@@ -9,6 +9,7 @@ describe "editor.", ->
|
||||
beforeEach ->
|
||||
window.rootViewParentSelector = '#jasmine-content'
|
||||
window.startup()
|
||||
rootView.project.setPath(require.resolve('fixtures'))
|
||||
editor = rootView.activeEditor()
|
||||
|
||||
afterEach ->
|
||||
@@ -23,7 +24,7 @@ describe "editor.", ->
|
||||
|
||||
describe "300-line-file.", ->
|
||||
beforeEach ->
|
||||
editor.setBuffer new Buffer(require.resolve('fixtures/medium.coffee'))
|
||||
editor.edit rootView.project.open('fixtures/medium.coffee')
|
||||
|
||||
describe "at-begining.", ->
|
||||
benchmark "insert-delete", ->
|
||||
@@ -44,11 +45,11 @@ describe "editor.", ->
|
||||
|
||||
describe "9000-line-file.", ->
|
||||
benchmark "opening.", 5, ->
|
||||
editor.setBuffer new Buffer(require.resolve('fixtures/huge.js'))
|
||||
editor.edit rootView.project.open('fixtures/huge.js')
|
||||
|
||||
describe "after-opening.", ->
|
||||
beforeEach ->
|
||||
editor.setBuffer new Buffer(require.resolve('fixtures/huge.js'))
|
||||
editor.edit rootView.project.open('fixtures/huge.js')
|
||||
|
||||
benchmark "moving-to-eof.", 1, ->
|
||||
editor.moveCursorToBottom()
|
||||
|
||||
Reference in New Issue
Block a user