Type: Feature Request
Status: Closed (View Workflow)
Affects Version/s: 2.0.0
Fix Version/s: 2.1.3
Similar Issues:Show 10 results
BYTEMAN-11 TestScript class used for offline parsing and type checking does not recognise <clinit> as trigger method BYTEMAN-166 PluisExpression typecheck method does not assign its type when it's operand types are strings BYTEMAN-8 Offline script parser/typ checker class TestScript is broken BYTEMAN-106 StringLiteral TypeCheck is not throwing an error if it is passed an incompatible expected type BYTEMAN-176 bmcheck throws Null Pointer Exception when overriding AT EXIT rule references $! BYTEMAN-95 NumericLiteral typecheck is not allowing numeric literal to appear where an object is expected BYTEMAN-163 StringLiteral typecheck is not allowing for the fact that a String is assignable to various interfaces BYTEMAN-33 Improve capabilities of agent dynamic upload listener BYTEMAN-212 Support length property for array types BYTEMAN-219 Byteman fails to typecheck calls to interface methods in the rule body
It would be very useful if it were possible to automate the process of running the offline type checker during a build, derailing the build process if any Byteman rules failed to parse or typecheck.
The basic requirement is to modify the current TestScript class so that it can be driven from a Java client rather than the command line. It currently provide a main method which reports outcomes via printout to System.out and System.err. A new API which reports outcomes by returning suitably structured data should be defined and implemented.
More sophisticated usage could be supported by developing a maven plugin and, possibly, an ant plugin which drive the new TestScript API.
|Fix Version/s||2.0.4 [ 12319592 ]|
|Fix Version/s||2.1.0 [ 12319569 ]|
|Assignee||Amos Feng [ zhfeng ]|
|Fix Version/s||2.1.3 [ 12320703 ]|
|Status||Open [ 1 ]||Coding In Progress [ 3 ]|
|Status||Coding In Progress [ 3 ]||Open [ 1 ]|
|Remote Link||This issue links to "Git pull request (Web Link)" [ 12002 ]|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Resolution||Done [ 1 ]|