Search in sources :

Example 1 with StructuredTextPartitionerForXSL

use of org.eclipse.wst.xsl.core.internal.text.rules.StructuredTextPartitionerForXSL in project webtools.sourceediting by eclipse.

the class TestStructuredTextPartitionerForXSL method testXSLNewInstance.

@Test
public void testXSLNewInstance() {
    StructuredTextPartitionerForXSL textPartioner = new StructuredTextPartitionerForXSL();
    IDocumentPartitioner documentPartitioner = textPartioner.newInstance();
    assertTrue("Did not retrieve StructuredTextPartitionerForXSL", documentPartitioner instanceof StructuredTextPartitionerForXSL);
}
Also used : IDocumentPartitioner(org.eclipse.jface.text.IDocumentPartitioner) StructuredTextPartitionerForXSL(org.eclipse.wst.xsl.core.internal.text.rules.StructuredTextPartitionerForXSL) Test(org.junit.Test)

Aggregations

IDocumentPartitioner (org.eclipse.jface.text.IDocumentPartitioner)1 StructuredTextPartitionerForXSL (org.eclipse.wst.xsl.core.internal.text.rules.StructuredTextPartitionerForXSL)1 Test (org.junit.Test)1