[core] Enable text-variable-anchor property
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user