Search in sources :

Example 6 with TargetPlatformFilterSyntaxException

use of org.eclipse.tycho.artifacts.TargetPlatformFilterSyntaxException in project tycho by eclipse.

the class TargetPlatformFilterConfigurationReaderTest method testDuplicateActionException.

public void testDuplicateActionException() throws Exception {
    try {
        Xpp3Dom filterConfig = getTargetFilters("targetfilter/duplicate_action/pom.xml");
        subject.parseFilterConfiguration(filterConfig);
        fail();
    } catch (TargetPlatformFilterSyntaxException e) {
    }
}
Also used : Xpp3Dom(org.codehaus.plexus.util.xml.Xpp3Dom) TargetPlatformFilterSyntaxException(org.eclipse.tycho.artifacts.TargetPlatformFilterSyntaxException)

Aggregations

Xpp3Dom (org.codehaus.plexus.util.xml.Xpp3Dom)6 TargetPlatformFilterSyntaxException (org.eclipse.tycho.artifacts.TargetPlatformFilterSyntaxException)6 TargetPlatformFilter (org.eclipse.tycho.artifacts.TargetPlatformFilter)1 CapabilityPattern (org.eclipse.tycho.artifacts.TargetPlatformFilter.CapabilityPattern)1