Remove Enumeration type
Summary: Enumeration used to be a type containing a single property value of type string. The InspectableEnum is a type that had an Enumeration value and possible values. As we removed possible values from the enum value, this structure no longer serves its purpose. Reviewed By: antonk52 Differential Revision: D41400874 fbshipit-source-id: e5c2d1e15ee9b3074ddd69f75ee9b8150d44379f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5e200dd7ec
commit
5b3e110821
@@ -9,7 +9,6 @@ package com.facebook.flipper.plugins.uidebugger
|
||||
|
||||
import android.view.View
|
||||
import com.facebook.flipper.plugins.uidebugger.common.EnumMapping
|
||||
import com.facebook.flipper.plugins.uidebugger.model.Enumeration
|
||||
import com.facebook.flipper.plugins.uidebugger.model.InspectableValue
|
||||
import org.hamcrest.CoreMatchers.*
|
||||
import org.hamcrest.MatcherAssert.assertThat
|
||||
@@ -38,7 +37,6 @@ class EnumMappingTest {
|
||||
|
||||
@Test
|
||||
fun testTurnsIntoEnumInspectable() {
|
||||
assertThat(
|
||||
visibility.toInspectable(View.GONE), equalTo(InspectableValue.Enum(Enumeration("GONE"))))
|
||||
assertThat(visibility.toInspectable(View.GONE), equalTo(InspectableValue.Enum("GONE")))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user