AllMultiplelineCodeFragments Aspect
[FunctionTests Group]

This aspect is defined in file: ../../AspectXTestSuite/functions/FunctionWeavingTests/aspects/allMultiplelineCodeFragments.ax

Aspect Description

The behaviour of the <text> element is tested. The weaving rule return_before_codeFragment is used for tests. It would be also possible to demostrate other combinations -- in particular on constructor_begin_codeFragment, constructor_end_codeFragment, function_begin_codeFragment, and function_end_codeFragment.

This aspect aslo tests how text elements of codeModifier element are handled.
Author:
O. Rohlik

Pointcuts


Advices

beforemultipleLineSingleText1
 This advise checks multiple line codeFragment with single <text> elements
beforemultipleLineMutlipleText2
 This advise checks multiple line codeFragment with multiple <text> elements
beforemultipleLineIfSingleText3
 This advise checks multiple line codeFragment with single <text> elements
beforemultipleLineIfSingleText4
 This advise checks multiple line codeFragment with single <text> elements

Pointcut Documentation


Advice Documentation

before multipleLineSingleText1 (source)

Triplet: return before codeFragment

This advise checks multiple line codeFragment with single <text> elements.

Local Pointcut: return (source)

before multipleLineMutlipleText2 (source)

Triplet: return before codeFragment

This advise checks multiple line codeFragment with multiple <text> elements.

Local Pointcut: return (source)

before multipleLineIfSingleText3 (source)

Triplet: return before codeFragment

This advise checks multiple line codeFragment with single <text> elements.

Local Pointcut: return (source)

before multipleLineIfSingleText4 (source)

Triplet: return before codeFragment

This advise checks multiple line codeFragment with single <text> elements.

Local Pointcut: return (source)