Skip to content

Commit

Permalink
Move QC annotations and add vdmj.annotations resource
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbattle committed Dec 11, 2023
1 parent b86dba9 commit 917704e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions quickcheck/src/main/java/quickcheck/QuickCheck.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
import com.fujitsu.vdmj.values.Value;
import com.fujitsu.vdmj.values.ValueList;

import annotations.IterableContext;
import annotations.po.POQuickCheckAnnotation;
import quickcheck.annotations.po.POQuickCheckAnnotation;
import quickcheck.annotations.IterableContext;
import quickcheck.strategies.QCStrategy;
import quickcheck.strategies.StrategyResults;
import quickcheck.visitors.FixedRangeCreator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*
******************************************************************************/

package annotations;
package quickcheck.annotations;

import java.util.HashMap;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*
******************************************************************************/

package annotations.ast;
package quickcheck.annotations.ast;

import com.fujitsu.vdmj.ast.annotations.ASTAnnotation;
import com.fujitsu.vdmj.ast.lex.LexIdentifierToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*
******************************************************************************/

package annotations.po;
package quickcheck.annotations.po;

import com.fujitsu.vdmj.po.annotations.POAnnotation;
import com.fujitsu.vdmj.tc.lex.TCIdentifierToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*
******************************************************************************/

package annotations.tc;
package quickcheck.annotations.tc;

import com.fujitsu.vdmj.tc.annotations.TCAnnotation;
import com.fujitsu.vdmj.tc.definitions.TCClassDefinition;
Expand Down
2 changes: 1 addition & 1 deletion quickcheck/src/main/resources/ast-tc.mappings
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
##########################################################################################

# annotations
package annotations.ast to annotations.tc;
package quickcheck.annotations.ast to quickcheck.annotations.tc;
map ASTQuickCheckAnnotation{name, qcParam, qcTypes} to TCQuickCheckAnnotation(name, qcParam, qcTypes);
2 changes: 1 addition & 1 deletion quickcheck/src/main/resources/tc-po.mappings
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
##########################################################################################

# annotations
package annotations.tc to annotations.po;
package quickcheck.annotations.tc to quickcheck.annotations.po;
map TCQuickCheckAnnotation{name, qcParam, qcTypes} to POQuickCheckAnnotation(name, qcParam, qcTypes);

1 change: 1 addition & 0 deletions quickcheck/src/main/resources/vdmj.annotations
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
quickcheck.annotations.ast.ASTQuickCheckAnnotation

0 comments on commit 917704e

Please sign in to comment.