Add note for enabling verifyInstrumentation in IntelliJ. (#595)

This commit is contained in:
Andrzej Cichocki 2017-04-27 10:30:16 +01:00 committed by GitHub
parent b3894fa38a
commit db70fa40f7

View File

@ -100,11 +100,16 @@ reject each other's trade proposals which is implemented in
examples using the IntelliJ IDE one can run/step the respective unit
tests in ``FxTransactionBuildTutorialTest.kt`` and
``WorkflowTransactionBuildTutorialTest.kt``, which drive the flows as
part of a simulated in-memory network of nodes. Before creating the IntelliJ
run configurations for these unit tests go to Run -> Edit Configurations ->
Defaults -> JUnit, add ``-javaagent:lib/quasar.jar`` to the VM options, and
set Working directory to ``$PROJECT_DIR$`` so that the ``Quasar``
instrumentation is correctly configured.
part of a simulated in-memory network of nodes.
.. |nbsp| unicode:: 0xA0
:trim:
.. note:: Before creating the IntelliJ run configurations for these unit tests
go to Run -> Edit |nbsp| Configurations -> Defaults -> JUnit, add
``-javaagent:lib/quasar.jar -Dco.paralleluniverse.fibers.verifyInstrumentation``
to the VM options, and set Working directory to ``$PROJECT_DIR$``
so that the ``Quasar`` instrumentation is correctly configured.
For the Cash transaction lets assume the cash resources are using the
standard ``CashState`` in the ``:financial`` Gradle module. The Cash