Search in sources :

Example 1 with SupportedBlockStrategy

use of org.eclipse.mylyn.wikitext.html.internal.SupportedBlockStrategy in project mylyn.docs by eclipse.

the class BlockStrategiesTest method assertUnsupported.

private void assertUnsupported(BlockStrategies strategies, BlockType blockType) {
    BlockStrategy blockStrategy = strategies.getStrategy(blockType, new Attributes());
    assertNotNull(blockStrategy);
    assertFalse(blockStrategy instanceof SupportedBlockStrategy);
}
Also used : Attributes(org.eclipse.mylyn.wikitext.parser.Attributes) UnsupportedBlockStrategy(org.eclipse.mylyn.wikitext.html.internal.UnsupportedBlockStrategy) NoOpBlockStrategy(org.eclipse.mylyn.wikitext.html.internal.NoOpBlockStrategy) BlockStrategy(org.eclipse.mylyn.wikitext.html.internal.BlockStrategy) SupportedBlockStrategy(org.eclipse.mylyn.wikitext.html.internal.SupportedBlockStrategy) SubstitutionBlockStrategy(org.eclipse.mylyn.wikitext.html.internal.SubstitutionBlockStrategy) SupportedBlockStrategy(org.eclipse.mylyn.wikitext.html.internal.SupportedBlockStrategy)

Aggregations

BlockStrategy (org.eclipse.mylyn.wikitext.html.internal.BlockStrategy)1 NoOpBlockStrategy (org.eclipse.mylyn.wikitext.html.internal.NoOpBlockStrategy)1 SubstitutionBlockStrategy (org.eclipse.mylyn.wikitext.html.internal.SubstitutionBlockStrategy)1 SupportedBlockStrategy (org.eclipse.mylyn.wikitext.html.internal.SupportedBlockStrategy)1 UnsupportedBlockStrategy (org.eclipse.mylyn.wikitext.html.internal.UnsupportedBlockStrategy)1 Attributes (org.eclipse.mylyn.wikitext.parser.Attributes)1