Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
bmunit sanity checks byteman version -- fixes BYTEMAN-381

    • -1
    • +47
    ./byteman/contrib/bmunit/BMUnitConfigState.java
  1. … 4 more files in changeset.
bmunit sanity checks byteman version -- fixes BYTEMAN-381

    • -1
    • +47
    ./byteman/contrib/bmunit/BMUnitConfigState.java
  1. … 3 more files in changeset.
BYTEMAN-377 BMUnit support for JUnit5

  1. … 21 more files in changeset.
No chyba działa

No chyba dziaƂa

  • More
  • CR-89
  • started review
Create a working branch for BYTEMAN-148
Create a working branch for BYTEMAN-148
Add missing licenses headers.

    • -0
    • +22
    ./byteman/contrib/bmunit/BMNGRunner.java
    • -0
    • +22
    ./byteman/contrib/bmunit/BMRule.java
    • -0
    • +22
    ./byteman/contrib/bmunit/BMRules.java
    • -0
    • +22
    ./byteman/contrib/bmunit/BMRunnerUtil.java
    • -0
    • +22
    ./byteman/contrib/bmunit/BMScript.java
    • -0
    • +22
    ./byteman/contrib/bmunit/BMScripts.java
    • -0
    • +22
    ./byteman/contrib/bmunit/BMTestCase.java
    • -0
    • +22
    ./byteman/contrib/bmunit/BMUnit.java
    • -0
    • +22
    ./byteman/contrib/bmunit/BMUnitRunner.java
  1. … 28 more files in changeset.
spelling fix

    • -1
    • +1
    ./byteman/contrib/bmunit/BMNGRunner.java
  1. … 3 more files in changeset.
spelling fix

    • -1
    • +1
    ./byteman/contrib/bmunit/BMNGRunner.java
  1. … 3 more files in changeset.
Fix StringIndexOutOfBoundsException

Fix in loading the directory where if the property was set a java.lang.StringIndexOutOfBoundsException would always be thrown because the call to charAt was called with the length of the String instead of length - 1.

    • -1
    • +1
    ./byteman/contrib/bmunit/BMUnitConfigState.java
fixed to cope with all jdk9 changes

tools.jar dependency is now only included for jdk6/7/8

fixed problems with javadoc in jdk9

    • -7
    • +8
    ./byteman/contrib/bmunit/BMNGAbstractRunner.java
    • -4
    • +4
    ./byteman/contrib/bmunit/BMNGRunner.java
    • -3
    • +2
    ./byteman/contrib/bmunit/BMRunnerUtil.java
    • -3
    • +14
    ./byteman/contrib/bmunit/BMUnit.java
    • -14
    • +14
    ./byteman/contrib/bmunit/BMUnitConfig.java
    • -19
    • +26
    ./byteman/contrib/bmunit/BMUnitConfigState.java
    • -47
    • +26
    ./byteman/contrib/bmunit/BMUnitRunner.java
  1. … 68 more files in changeset.
allow mixed TestNG tests relying listener and subclassing -- fixes BYTEMAN-269

    • -4
    • +28
    ./byteman/contrib/bmunit/BMNGAbstractRunner.java
    • -28
    • +0
    ./byteman/contrib/bmunit/BMNGListener.java
    • -2
    • +4
    ./byteman/contrib/bmunit/BMNGRunner.java
Fixed some problems with resetting class dump dir -- fixes BYTEMAN-266

    • -2
    • +5
    ./byteman/contrib/bmunit/BMUnitConfigState.java
  1. … 2 more files in changeset.
Added support to BMUNit for dumping class files -- fixes BYTEMAN-266

    • -0
    • +33
    ./byteman/contrib/bmunit/BMUnitConfig.java
    • -33
    • +288
    ./byteman/contrib/bmunit/BMUnitConfigState.java
  1. … 2 more files in changeset.
Worked around stupidity in TestNG listener handling -- fixes BYTEMAN-267

    • -4
    • +26
    ./byteman/contrib/bmunit/BMNGListener.java
made TestNG work when more than one test class is specified -- fixes BYTEMAN-148

updating the TestNG release avoids some of the problems where test

classes and method setup/teardown happens in parallel. however, TestNG

still stupidly insists on notifying class setup for all classes before

runnign nay tests and class teardown only after all tests have

completed. so this patch modifies the test runner to do class setup

and teardown before each test method run when it notices a change in

the current test method owner class.

    • -0
    • +50
    ./byteman/contrib/bmunit/BMNGListener.java
  1. … 1 more file in changeset.
corrected missing init from sys prop for inhibitAgentLoad

    • -0
    • +1
    ./byteman/contrib/bmunit/BMUnitConfigState.java
  • More
  • CR-4
  • Abandoned
Added annotation-based config -- fixes BYTEMAN-148

    • -0
    • +13
    ./byteman/contrib/bmunit/BMNGAbstractRunner.java
    • -0
    • +16
    ./byteman/contrib/bmunit/BMNGListener.java
    • -287
    • +60
    ./byteman/contrib/bmunit/BMUnit.java
    • -0
    • +158
    ./byteman/contrib/bmunit/BMUnitConfig.java
    • -0
    • +777
    ./byteman/contrib/bmunit/BMUnitConfigState.java
    • -1
    • +47
    ./byteman/contrib/bmunit/BMUnitRunner.java
  1. … 20 more files in changeset.
added extra fallback for obtaining pid on Windows -- fixes BTEMAN-255

n.b many thanks very much to antoine vianey (antoine dot vianey at

gmail dot com) for contributing code for this fix

    • -0
    • +21
    ./byteman/contrib/bmunit/BMUnit.java
Allow BMScript dir to work on Windows and Linux -- fixes BYTEMAN-254

    • -23
    • +106
    ./byteman/contrib/bmunit/BMUnit.java
  1. … 1 more file in changeset.
corrected typo in property name -- fix for BYTEMAN-156

Support setting access-all-areas security policy for agent code -- fixes BYTEMAN-233

Added new -javaagent option secure:true which causes the agent to add

an access-all-areas security policy -- default is currently false.

Modified bminstall script (bash and Windows) to forward -s option to

BMInstall class requesting setting of security policy

Modified BMUnit code to check for

-Dorg.jboss.byteman.contrib.bmunit.policy=true

and forward the policy setting to the agent by adding secure:true to

the agent options

Modified Install class to check for -s argument and forward the policy

setting to the agent by adding secure:true to the agent options.

    • -2
    • +28
    ./byteman/contrib/bmunit/BMUnit.java
  1. … 6 more files in changeset.
corrected separator used to build resource name -- fixes for BYTEMAN-228

fix for BYTEMAN-230 courtesy of Richard Opalka

ensured any host or port name configured for BMUnit is used both at agent load and when submitting agent requests - fixes BYTEMAN-208

    • -8
    • +50
    ./byteman/contrib/bmunit/BMUnit.java
  1. … 1 more file in changeset.
[BYTEMAN-192] At BMRunnerUtil.constructScriptText, prepend a \n to targetLocation.

    • -5
    • +6
    ./byteman/contrib/bmunit/BMRunnerUtil.java
Searching for value and dir of @BMScript on the classpath, too (https://issues.jboss.org/browse/BYTEMAN-185)

    • -42
    • +52
    ./byteman/contrib/bmunit/BMUnit.java
modified TestNG integration to allow configuration of before/after behaviour using the Listeners annotation -- fixes BYTEMAN-184

    • -0
    • +213
    ./byteman/contrib/bmunit/BMNGAbstractRunner.java
    • -0
    • +98
    ./byteman/contrib/bmunit/BMNGListener.java
    • -133
    • +31
    ./byteman/contrib/bmunit/BMNGRunner.java
  1. … 2 more files in changeset.
modified BMUnit so that locations in @BMRule annotations can either specify AT XXX or AFTER XXX or else just default the AT -- patch was supplied by James Livingston to fix BYTEMAN-182

    • -2
    • +6
    ./byteman/contrib/bmunit/BMRunnerUtil.java
fixed BIND clause generation for BMRule annotations -- fixes BYTEMAN-150

    • -0
    • +4
    ./byteman/contrib/bmunit/BMRunnerUtil.java
  1. … 2 more files in changeset.