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
481 B

property BaosRetrieveWithoutFlush
nondet (start)
start -> start: *
start -> valid: ".*OutputStream"(X, Y)
valid -> invalid: ".*OutputStream.write.*"(x, *)
valid -> invalid: ".*OutputStream.write.*"(x, *, *)
valid -> invalid: ".*OutputStream.write.*"(x, *, *, *)
invalid -> valid: ".*OutputStream.flush"(x)
invalid -> valid: ".*OutputStream.close"(x)
invalid -> error: "ByteArrayOutputStream.toByteArray"(y)
invalid -> error: "ByteArrayOutputStream.toString"(y)