[android] Android bindings for new 'text-writing-mode' layout property

This commit is contained in:
Alexander Shalamov
2019-06-18 14:43:13 +03:00
parent e9ca844d66
commit dad43ba8fc
7 changed files with 88 additions and 1 deletions

View File

@@ -668,6 +668,19 @@ public class SymbolLayerTest extends BaseLayerTest {
assertEquals(layer.getTextMaxAngle().getValue(), propertyValue);
}
@Test
@UiThreadTest
public void testTextWritingModeAsConstant() {
Timber.i("text-writing-mode");
assertNotNull(layer);
assertNull(layer.getTextWritingMode().getValue());
// Set and Get
String[] propertyValue = new String[0];
layer.setProperties(textWritingMode(propertyValue));
assertEquals(layer.getTextWritingMode().getValue(), propertyValue);
}
@Test
@UiThreadTest
public void testTextRotateAsConstant() {