Home
last modified time | relevance | path

Searched refs:UnknownTypeException (Results 1 – 7 of 7) sorted by relevance

/platform_testing/libraries/motion/src/platform/test/motion/golden/
DDataPointTypes.kt40 else -> throw UnknownTypeException() in <lambda>()
53 is String -> it.toFloatOrNull() ?: throw UnknownTypeException() in <lambda>()
54 else -> throw UnknownTypeException() in <lambda>()
67 is String -> it.toIntOrNull() ?: throw UnknownTypeException() in <lambda>()
68 else -> throw UnknownTypeException() in <lambda>()
89 throw UnknownTypeException() in <lambda>()
93 else -> throw UnknownTypeException() in <lambda>()
DDataPointType.kt61 class UnknownTypeException : JSONException("JSON cannot be converted to DataPoint value") class
DJsonGoldenSerializer.kt125 jsonToValue = { throw UnknownTypeException() }, in <lambda>()
/platform_testing/libraries/motion/compose/src/platform/test/motion/compose/
DDataPointTypes.kt30 import platform.test.motion.golden.UnknownTypeException
51 is String -> it.toFloatOrNull()?.dp ?: throw UnknownTypeException() in Dp()
52 else -> throw UnknownTypeException() in Dp()
62 with(it as? JSONObject ?: throw UnknownTypeException()) { in Dp()
78 with(it as? JSONObject ?: throw UnknownTypeException()) { in Dp()
94 with(it as? JSONObject ?: throw UnknownTypeException()) { in Dp()
115 else -> throw UnknownTypeException() in Dp()
/platform_testing/libraries/motion/src/platform/test/motion/view/
DDataPointTypes.kt23 import platform.test.motion.golden.UnknownTypeException in <lambda>()
35 with(it as? JSONObject ?: throw UnknownTypeException()) { in <lambda>()
52 with(it as? JSONObject ?: throw UnknownTypeException()) { in <lambda>()
72 with(it as? JSONObject ?: throw UnknownTypeException()) { in <lambda>()
/platform_testing/libraries/motion/tests/src/platform/test/motion/golden/
DDataPointTypeTest.kt36 if (jsonValue is String) Native(jsonValue) else throw UnknownTypeException() in <lambda>()
DDataPointTypesTest.kt156 with(it as? JSONObject ?: throw UnknownTypeException()) { in <lambda>()