Skip to content

Commit

Permalink
added openjml-rac example
Browse files Browse the repository at this point in the history
  • Loading branch information
jsinglet committed Sep 1, 2015
1 parent 1ae4fff commit c9fa62a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/recipes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,34 @@ More About this Tool:
Runtime Assertion Checking
--------------------------

Runtime Assertion Checking work by first compiling your program and then running it with the assertions added to your program. The listing below shows both checks configured. Note that the jml-java-7 specs have been configured.

.. code-block:: yaml
checks :
- name : openjml-rac-compile
description : "OpenJML All File RAC Compile"
check : rac-compile
paths : [MaybeAdd.java]
classpath : []
out : out # the compile output directory
tool:
name : openjml-rac
specs:
- name: jml-java-7
- name : openjml-rac-run
description : "OpenJML All File RAC Check"
check : rac-check
main : MaybeAdd # your main class
paths : [MaybeAdd.java]
classpath : []
out : out # the compile output directory
tool:
name : openjml-rac
Extended Static Checking
------------------------
Expand Down

0 comments on commit c9fa62a

Please sign in to comment.