summaryrefslogtreecommitdiff
path: root/Chalice/tests
Commit message (Collapse)AuthorAge
* Chalice: Add regression test for unfolding expressions in predicates.Gravatar stefanheule2012-06-03
|
* Chalice: Add regression test case for disallowed 'waitlevel' in predicates.Gravatar stefanheule2012-06-03
|
* Chalice: Move list-revers.chalice test case to examples, and remove failing ↵Gravatar stefanheule2012-05-24
| | | | parts of that test case (they are now reported as workitem 10221). Also, the assertion is now written as a postcondition.
* Chalice: Added list reversal example, along with variants with extra ↵Gravatar Unknown2012-05-21
| | | | unfold/fold pairs which currently confuse the encoding.
* MergeGravatar Christian Klauser2012-03-27
|\
* | Update test script shortcuts to work in Powershell (which supplies an ↵Gravatar Christian Klauser2012-03-27
| | | | | | | | absolute path as %0 instead of just the scripts name)
| * Chalice: Fix resolver bug, and add a test case for it.Gravatar stefanheule2012-03-13
| |
| * Chalice: New test case to cover internally found bug (already fixed by ↵Gravatar stefanheule2012-03-13
| | | | | | | | changeset 30e940802059deb4d1e600c3c1fbcda5e39128eb).
| * Chalice: Adapt test and reference output to recent changes (previously ↵Gravatar stefanheule2012-03-13
| | | | | | | | failing test now verifies; i.e. Chalice is less incomplete).
| * Chalice: Disable refinement tests.Gravatar stefanheule2012-03-13
| |
| * Chalice: two new test cases to test the predicates.Gravatar stefanheule2012-03-12
| |
| * Chalice: two new tests to check the predicate fix.Gravatar stefanheule2012-03-12
| |
| * Chalice: Fix counter.chalice test-case.Gravatar stefanheule2012-03-08
| |
| * Semi-automatic merge.Gravatar stefanheule2012-02-25
| |\ | |/ |/|
| * Chalice: add missing reference files for two tests.Gravatar stefanheule2012-02-25
| |
| * Chalice: update test case to correctly reflect current Chalice state.Gravatar stefanheule2012-02-25
| |
| * Chalice: New test case for predicates.Gravatar stefanheule2012-02-25
| |
| * Chalice: New regression test case.Gravatar stefanheule2012-02-25
| |
| * Chalice: Test scripts for predicate tests.Gravatar stefanheule2012-02-25
| |
| * Chalice: Include predicate tests in runalltests.bat.Gravatar stefanheule2012-02-25
| |
| * Chalice: Test case for negative permission in the secondary mask.Gravatar stefanheule2012-02-25
| |
| * Chalice: Add testcase for mutually recursive predicates (failed before the ↵Gravatar stefanheule2012-02-25
| | | | | | | | last commit).
| * Chalice: update reference output of AssocitationList (to remove bogus fail)Gravatar stefanheule2012-02-25
| |
| * Chalice: update reference output to new error messages.Gravatar stefanheule2012-02-25
| |
* | Chalice: fix all refinement regression testsGravatar Kuat Yessenov2011-12-23
| |
* | Chalice: partial fixes to the broken refinement extension regression tests.Gravatar Kuat Yessenov2011-12-21
| |
* | Chalice: Added missing reference output for AVLTree examplesGravatar mschwerhoff2011-09-27
| |
* | Added Uri Juhasz' AVL-treesGravatar Unknown2011-09-08
| |
* | Chalice: Changed tests/runalltests.bat such that additional parameters can ↵Gravatar mschwerhoff2011-08-15
|/ | | | be passed to Chalice
* Chalice: Add comment to a broken test-case.Gravatar stefanheule2011-08-04
|
* Chalice: Add regression tests for all fixed bugs and separate the tests in ↵Gravatar stefanheule2011-08-03
| | | | 'examples' into "read" examples and general tests.
* Chalice: only show warning about misleading smoke warnings if there are ↵Gravatar stefanheule2011-08-03
| | | | actually smoke warnings.
* Chalice: Check definedness of where-clause of channels (was missing before), ↵Gravatar stefanheule2011-07-22
| | | | and smoke test for 'false' where clauses. Due to the missing definedness check, a mistake in the specification of CopyLessMessagePassing-with-ack2.chalice was not detected (and has been fixed now).
* Chalice: Improve smoke testing: look for preconditions of functions, ↵Gravatar stefanheule2011-07-22
| | | | predicates and monitor invariants that are equivalent to false, and add a command line option "/smokeAll" to insert 'assert false' after *every* Chalice statement.
* Chalice: Only show the "first" smoke warning, as once the prover is able to ↵Gravatar stefanheule2011-07-21
| | | | | | | show false, all follwoing attempts will always succeed. However, smoke warnings on different paths through a method are still all reported. Also, the places where to insert "assert false" are chosen more carefully (essentially always all statements that inhale something). Update test reference outputs accordingly.
* Chalice: Use "/smoke" for the test suite by default to ensure test quality. ↵Gravatar stefanheule2011-07-20
| | | | Update all reference outputs accordingly.
* Chalice: Fix all three copyless message passing programs. There were ↵Gravatar stefanheule2011-07-19
| | | | problems in the specification (all three programs) and the program itself ("..with-ack2"). Furthermore, if only two types of messages can be sent, a boolean flag is now used instead of an integer (to simplify the specifications).
* Chalice: Fix batch file problem and update reference output.Gravatar stefanheule2011-07-19
|
* Chalice: Smoke testing to find unreachable code, preconditions that are ↵Gravatar stefanheule2011-07-18
| | | | equivalent to false and assumptions that introduce contradictions. Can be used with the command line switch "-smoke".
* Chalice: Also exhale correctly in two steps for multiple contracts (e.g. two ↵Gravatar stefanheule2011-07-18
| | | | preconditions), and include missing well-formedness assumption afer async method calls.
* Chalice: Fix a problem with permission expressions. Prevsiously, exhaling ↵Gravatar stefanheule2011-07-18
| | | | "acc(o.f,100-rd) && acc(o.f,rd)" resulted in a contradiction. This is now solved by using a two-step exhale (loosely speaking, read permissions and functional properties are exhaled first, and only afterwards all other permissions). Extended testcases appropriately.
* Chalice: New test script to execute all tests (in all folder) at once. Test ↵Gravatar stefanheule2011-07-07
| | | | scripts now set the errorlevel to the number of failed tests.
* Chalice: Error message of the valid-permission-check often included ↵Gravatar stefanheule2011-07-07
| | | | '<undefined position>'. Reference output of one affected test updated.
* Chalice: Allow _ as wildcard in the eval construct for parameters. Usage is ↵Gravatar stefanheule2011-07-07
| | | | demonstrated in a new test case.
* Chalice: Four new interesting Chalice examples (added to test suite with the ↵Gravatar stefanheule2011-07-05
| | | | correct reference output). The example FictionallyDisjointCells.chalice is due to Yannis Kassios. Small fix to test script.
* Chalice: Completely switch to new testing scripts (more flexible and ↵Gravatar stefanheule2011-07-05
| | | | fine-grained testing) and remove old test.bat. New testing scripts are described in Chalice/tests/readme.txt.
* Chalice: New permission model that provides more abstraction and more ↵Gravatar stefanheule2011-07-01
flexibility. Details of the model can be found in the paper 'Fractional Permissions without the Fractions', FTfJP 2011 (see http://www.pm.inf.ethz.ch/publications/). This changeset also fixes several bugs not directly related to the permissions model and improves the error handling. The following features have been added or enhanced: - Error handling: If exceptions (e.g. about not supported features) are encountered, a user-friendly message is displayed - Sequence axioms: There is an additional axiom for singleton lists, which is helpful in some cases - Prelude: Chalice's prelude has been split into sections (e.g. one for permission-related stuff, one for sequence axioms, and so on), which are included on demand (less superfluous axioms, etc.) Currently not working - but planned to be updated as well - are the following features: - Stepwise refinements - autoFold - read locks There is a performance issue with permission scaling (i.e., taking non-full versions of predicates that contain read-permissions). Details can be found in the following file: Chalice/tests/permission-model/scaling.chalice. A list of fixed bugs (see http://boogie.codeplex.com/workitem/<workitem number> for details on the individual bugs) - workitem 10200: Issue with the axiom of framing functions - workitem 10197: The translation of old(waitlevel) resultet in Boogie error - workitem 10196: Quantification over empty sequences - workitem 10195: Contradiction when descending sequences are used - workitem 10192: Invalid translation of old-construct in certain cases - workitem 10190: Stack overflow when parsing large comment blocks - workitem 10147: Duplicated method parameters and return values are not detected