Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

isExpression and getExpression doesn't work on newly created properties #12746

Closed

Description

@mkrussel77

I'm trying to unit test the calls to setProperties and the interrogation of the state of the expression is invalid.

Steps to reproduce

PropertyValue<?> property = lineWidth(Expression.get("width"))
assertTrue(property.isExpression())
assertEquals(Expression.get("width"), property.getExpression())

Expected behavior

Both assertions pass

Actual behavior

Neither pass

Android versions: N/A
Device models: N/A
Mapbox SDK versions: 6.4.0

Activity

  1. added
    Android
    on Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Android

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions