next up previous contents
Next: The Bandera Specification Language Up: Bounded Buffer Example Previous: Building a session for

A complete specification file

As we already pointed out in the previous section, a user can create temporal properties and enable/disable assertions using the BUI. However, if a user wants to save specifications on the per session basis, she might end up with many different specification files. We encorage to keep all of the specifications for the same example in the same file.

You can create all of your specifications at once using the Property Manager window and save them in one file.

Another option would be to directly write out the specifications into a file using a text editor such as Emacs.

BoundedBuffer.specification displays a single specification file that holds the property declarations for each of the five bounded buffer requirements.

The syntax for enabling multiple assertions is as follows:

  BufferAssertions: enable assertions { PositiveBound, AddToEnd };

Once you have the full specification file created and saved, use the following steps to select the property you want to check in a single session:


next up previous contents
Next: The Bandera Specification Language Up: Bounded Buffer Example Previous: Building a session for

Roby Joehanes
Wed Mar 7 18:30:51 CST 2001