Basic Litho support
Summary: Added an initial litho Tree observer and descriptors, its quiet naive and will be improved in a future diff Reviewed By: lblasa Differential Revision: D39466931 fbshipit-source-id: 66a462882af2e585b9719ee2f61595449f99c5e5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
24ec43eb92
commit
0562178739
@@ -8,6 +8,8 @@
|
||||
package com.facebook.flipper.plugins.uidebugger
|
||||
|
||||
import com.facebook.flipper.plugins.uidebugger.core.ApplicationRef
|
||||
import com.facebook.flipper.plugins.uidebugger.descriptors.DescriptorRegister
|
||||
import com.facebook.flipper.plugins.uidebugger.observers.TreeObserverFactory
|
||||
import org.junit.Assert
|
||||
import org.junit.Before
|
||||
import org.junit.Test
|
||||
@@ -30,7 +32,11 @@ class UIDebuggerFlipperPluginTest {
|
||||
@Throws(Exception::class)
|
||||
@Test
|
||||
fun emptyTest() {
|
||||
var plugin = UIDebuggerFlipperPlugin(app)
|
||||
var plugin =
|
||||
UIDebuggerFlipperPlugin(
|
||||
app,
|
||||
DescriptorRegister.Companion.withDefaults(),
|
||||
TreeObserverFactory.Companion.withDefaults())
|
||||
Assert.assertNotNull(plugin)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user