[core] Enable text-variable-anchor property

This commit is contained in:
Mikhail Pozdnyakov
2019-03-07 18:34:45 +02:00
parent 4adfc5d323
commit a6d8742e63
19 changed files with 152 additions and 4 deletions

View File

@@ -577,6 +577,19 @@ public class SymbolLayerTest extends BaseLayerTest {
assertEquals(layer.getTextJustify().getExpression(), expression);
}
@Test
@UiThreadTest
public void testTextVariableAnchorAsConstant() {
Timber.i("text-variable-anchor");
assertNotNull(layer);
assertNull(layer.getTextVariableAnchor().getValue());
// Set and Get
String[] propertyValue = [undefined];
layer.setProperties(textVariableAnchor(propertyValue));
assertEquals(layer.getTextVariableAnchor().getValue(), propertyValue);
}
@Test
@UiThreadTest
public void testTextAnchorAsConstant() {