Sha256: 4e2988e05e8c014e52f827fb75e4437d53d34309e16aa99a28f3275201ab230c

Contents?: true

Size: 1.29 KB

Versions: 45

Compression:

Stored size: 1.29 KB

Contents

Feature: Replace current line with clipboard contents

Scenario: Replacing the current line
  When I open a new edit tab
  And I replace the contents with "21 eggs\n7 chickens\n3 henhouses\n1 farmer"
  And I copy text
  And I move the cursor to 10
  And I replace the line
  Then I should see "21 eggs\n21 eggs\n3 henhouses\n1 farmer" in the edit tab
  And I should not see "7 chickens" in the edit tab

Scenario: Replacing the current line with an empty clipboard
  When I open a new edit tab
  And I replace the contents with "21 eggs\n7 chickens\n3 henhouses\n1 farmer"
  And I replace the line
  Then I should see "21 eggs\n7 chickens\n3 henhouses\n1 farmer" in the edit tab

Scenario: Replacing the current selection
  When I open a new edit tab
  And I replace the contents with "21 eggs\n7 chickens\n3 henhouses\n1 farmer"
  And I select from 19 to 31
  And I copy text
  And I move the cursor to 10
  And I replace the line
  Then I should see "21 eggs\n3 henhouses\n3 henhouses\n1 farmer" in the edit tab

Scenario: Replacing the current line that has unicode
  When I open a new edit tab
  And I replace the contents with "21 eggs\n7 bść\n3 henhouses\n1 farmer"
  And I copy text
  And I move the cursor to 10
  And I replace the line
  Then the contents should be "21 eggs\n21 eggs\n3 henhouses\n1 farmer"

Version data entries

45 entries across 45 versions & 2 rubygems

Version Path
redcar-dev-0.12.16dev-java plugins/line_tools/features/replace_line.feature
redcar-dev-0.12.15dev-java plugins/line_tools/features/replace_line.feature
redcar-dev-0.12.14dev-java plugins/line_tools/features/replace_line.feature
redcar-dev-0.12.13dev-java plugins/line_tools/features/replace_line.feature
redcar-dev-0.12.12dev-java plugins/line_tools/features/replace_line.feature
redcar-dev-0.12.11dev-java plugins/line_tools/features/replace_line.feature
redcar-dev-0.12.10dev-java plugins/line_tools/features/replace_line.feature
redcar-dev-0.12.9dev-java plugins/line_tools/features/replace_line.feature
redcar-dev-0.12.8dev-java plugins/line_tools/features/replace_line.feature
redcar-dev-0.12.7dev-java plugins/line_tools/features/replace_line.feature
redcar-dev-0.12.6dev-java plugins/line_tools/features/replace_line.feature
redcar-dev-0.12.4dev-java plugins/line_tools/features/replace_line.feature
redcar-dev-0.12.3dev-java plugins/line_tools/features/replace_line.feature
redcar-dev-0.12.1dev-java plugins/line_tools/features/replace_line.feature
redcar-dev-0.12.0dev-java plugins/line_tools/features/replace_line.feature
redcar-0.11 plugins/line_tools/features/replace_line.feature
redcar-0.11.0dev plugins/line_tools/features/replace_line.feature
redcar-0.10 plugins/line_tools/features/replace_line.feature
redcar-0.9.2 plugins/line_tools/features/replace_line.feature
redcar-0.9.1 plugins/line_tools/features/replace_line.feature