use of com.facebook.buck.rules.VisibilityPatternParser in project buck by facebook.
the class VisibilityPatternParserTest method visibilityParserCanHandleSpecialCasedPublicVisibility.
@Test
public void visibilityParserCanHandleSpecialCasedPublicVisibility() throws NoSuchBuildTargetException {
VisibilityPatternParser parser = new VisibilityPatternParser();
VisibilityPattern publicPattern = parser.parse(null, "PUBLIC");
assertNotNull(publicPattern);
assertEquals("PUBLIC", publicPattern.getRepresentation());
}
Aggregations