Added concept of platform to the internals.

This commit is contained in:
Adam Murdoch
2012-08-04 11:41:19 +10:00
parent 0c8a041a6c
commit dadf93caf8
6 changed files with 77 additions and 13 deletions

View File

@@ -6,7 +6,7 @@ import spock.lang.Specification
class TerminalTest extends Specification {
@Rule TemporaryFolder tmpDir
final TerminalAccess terminal = Platform.get(TerminalAccess.class)
final TerminalAccess terminal = Native.get(TerminalAccess.class)
def "can check if attached to terminal"() {
expect: