You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
629 B
12 lines
629 B
property BaosRetrieveWithoutFlush
|
|
nondet (start)
|
|
start -> start: *
|
|
start -> valid: ".*OutputStream"(X, Y, Ret) => x := X; y := Y
|
|
valid -> invalid: ".*OutputStream.write.*"(X, Ia, Ret) when X == x
|
|
valid -> invalid: ".*OutputStream.write.*"(X, Ia, Ib, Ret) when X == x
|
|
valid -> invalid: ".*OutputStream.write.*"(X, Ia, Ib, Ic, Ret) when X == x
|
|
invalid -> valid: ".*OutputStream.flush"(X, Ret) when X == x
|
|
invalid -> valid: ".*OutputStream.close"(X, Ret) when X == x
|
|
invalid -> error: "ByteArrayOutputStream.toByteArray"(Y, Ret) when Y == y
|
|
invalid -> error: "ByteArrayOutputStream.toString"(Y, Ret) when Y == y
|