Skip to content

Commit a67bb17

Browse files
committed
Changes to make porting to VAST cleaner
1 parent a05b758 commit a67bb17

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
facade
22
jsonRead: aString
33

4-
^ WAJsonParser parse: aString
4+
^ (Smalltalk at: #WAJsonParser) parse: aString

repository/Parasol-Tests.package/BPMiscTestCase.class/instance/testPlatformJavaTestGeneration.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ testPlatformJavaTestGeneration
66
stream := WriteStream on: String new.
77
BPPlatform generateJavaTestOn: stream.
88
stream close.
9-
self assert: (stream contents findString: '@Test' startingAt: 1) > 0
9+
self assert: (stream contents indexOfSubCollection: '@Test' startingAt: 1) > 0
1010
description: 'The generated Java test code should at least contain the @Test annotation'.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
running
22
testGetPageSource
33

4-
self assert: (driver getPageSource findString: 'Supercalifragilisticexpialidocious') > 0.
4+
self assert: (driver getPageSource indexOfSubCollection: 'Supercalifragilisticexpialidocious') > 0.
55
driver close.
66
self waitForDriverToFinishClosing.
77
self should: [ driver getPageSource ] raise: BPNoSuchSessionException.

0 commit comments

Comments
 (0)