The Trunk: Tests-eem.314.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Tests-eem.314.mcz

commits-2
Eliot Miranda uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-eem.314.mcz

==================== Summary ====================

Name: Tests-eem.314
Author: eem
Time: 19 March 2015, 11:48:45.588 am
UUID: f9f4b676-4eb8-47e5-a6ec-d99ffed0c11e
Ancestors: Tests-eem.313

Remove annoying Undeclared warnings from the ParserEditingTest

=============== Diff against Tests-eem.313 ===============

Item was changed:
  ----- Method: ParserEditingTest>>testTempsMarkBinary (in category 'tests') -----
  testTempsMarkBinary
+ self parse: '+ arg false' into:
- self parse: '+ arg foo' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code indexOf: $f)].
+ self parse: '+ arg\ false' into:
- self parse: '+ arg\ foo' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code indexOf: $f)].
+ self parse: '+ arg\ <pragma>\ false' into:
- self parse: '+ arg\ <pragma>\ foo' into:
  [:parser :tempsMark :code|
  self assert: (tempsMark = (code indexOf: $f) or: [tempsMark = (code indexOf: $<)])].
+ self parse: '+ arg | foo | false' into:
- self parse: '+ arg | foo | bar' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code lastIndexOf: $|)].
+ self parse: '+ arg\ | foo | false' into:
- self parse: '+ arg\ | foo | bar' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code lastIndexOf: $|)].
+ self parse: '+ arg\ <pragma>\ | foo | false' into:
- self parse: '+ arg\ <pragma>\ | foo | bar' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code lastIndexOf: $|)].
+ self parse: '+ arg\ | foo |\ <pragma>\ false' into:
- self parse: '+ arg\ | foo |\ <pragma>\ bar' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code lastIndexOf: $|)]!

Item was changed:
  ----- Method: ParserEditingTest>>testTempsMarkKeyword (in category 'tests') -----
  testTempsMarkKeyword
+ self parse: 'key: word false' into:
- self parse: 'key: word foo' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code indexOf: $f)].
+ self parse: 'key: word\ false' into:
- self parse: 'key: word\ foo' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code indexOf: $f)].
+ self parse: 'key: word\ <pragma>\ false' into:
- self parse: 'key: word\ <pragma>\ foo' into:
  [:parser :tempsMark :code|
  self assert: (tempsMark = (code indexOf: $f) or: [tempsMark = (code indexOf: $<)])].
+ self parse: 'key: word | foo | false' into:
- self parse: 'key: word | foo | bar' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code lastIndexOf: $|)].
+ self parse: 'key: word\ | foo | false' into:
- self parse: 'key: word\ | foo | bar' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code lastIndexOf: $|)].
+ self parse: 'key: word\ <pragma>\ | foo | false' into:
- self parse: 'key: word\ <pragma>\ | foo | bar' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code lastIndexOf: $|)].
+ self parse: 'key: word\ | foo |\ <pragma>\ false' into:
- self parse: 'key: word\ | foo |\ <pragma>\ bar' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code lastIndexOf: $|)]!

Item was changed:
  ----- Method: ParserEditingTest>>testTempsMarkUnary (in category 'tests') -----
  testTempsMarkUnary
+ self parse: 'unary false' into:
- self parse: 'unary foo' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code indexOf: $f)].
+ self parse: 'unary\ false' into:
- self parse: 'unary\ foo' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code indexOf: $f)].
+ self parse: 'unary\ <pragma>\ false' into:
- self parse: 'unary\ <pragma>\ foo' into:
  [:parser :tempsMark :code|
  self assert: (tempsMark = (code indexOf: $f) or: [tempsMark = (code indexOf: $<)])].
+ self parse: 'unary | foo | false' into:
- self parse: 'unary | foo | bar' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code lastIndexOf: $|)].
+ self parse: 'unary\ | foo | false' into:
- self parse: 'unary\ | foo | bar' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code lastIndexOf: $|)].
+ self parse: 'unary\ <pragma>\ | foo | false' into:
- self parse: 'unary\ <pragma>\ | foo | bar' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code lastIndexOf: $|)].
+ self parse: 'unary\ | foo |\ <pragma>\ false' into:
- self parse: 'unary\ | foo |\ <pragma>\ bar' into:
  [:parser :tempsMark :code|
  self assert: tempsMark = (code lastIndexOf: $|)]!