Guest User

Untitled

a guest
Aug 29th, 2016
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.37 KB | None | 0 0
  1. exports[`<RandomView /> renders correctly 1`] = `
  2. <View
  3. dataSource={
  4. ListViewDataSource {
  5. "_cachedRowCount": 0,
  6. "_dataBlob": null,
  7. "_dirtyRows": Array [],
  8. "_dirtySections": Array [],
  9. "_getRowData": [Function defaultGetRowData],
  10. "_getSectionHeaderData": [Function defaultGetSectionHeaderData],
  11. "_rowHasChanged": [Function rowHasChanged],
  12. "_sectionHeaderHasChanged": undefined,
  13. "rowIdentities": Array [],
  14. "sectionIdentities": Array []
  15. }
  16. }
  17. enableEmptySections={true}
  18. refreshControl={
  19. Object {
  20. "$$typeof": Symbol(react.element),
  21. "_owner": {
  22. "_calledComponentWillUnmount": false,
  23. "_context": Object {},
  24. "_currentElement": Object {
  25. "$$typeof": Symbol(react.element),
  26. "_owner": null,
  27. "_store": Object {},
  28. "key": null,
  29. "props": Object {
  30. "list": Array [
  31. Object {
  32. "a": 1
  33. },
  34. Object {
  35. "a": 2
  36. }
  37. ]
  38. },
  39. "ref": null,
  40. "type": [Function anonymous]
  41. },
  42. "_debugID": 1,
  43. "_hostContainerInfo": null,
  44. "_hostParent": null,
  45. "_instance": {
  46. "_reactInternalInstance": [Circular],
  47. "_renderRow": [Function bound _renderRow],
  48. "context": Object {},
  49. "getDataSource": [Function bound getDataSource],
  50. "props": Object {
  51. "list": Array [
  52. Object {
  53. "a": 1
  54. },
  55. Object {
  56. "a": 2
  57. }
  58. ]
  59. },
  60. "refs": Object {},
  61. "state": null,
  62. "updater": Object {
  63. "enqueueCallback": [Function anonymous],
  64. "enqueueCallbackInternal": [Function anonymous],
  65. "enqueueElementInternal": [Function anonymous],
  66. "enqueueForceUpdate": [Function anonymous],
  67. "enqueueReplaceState": [Function anonymous],
  68. "enqueueSetState": [Function anonymous],
  69. "isMounted": [Function anonymous],
  70. "validateCallback": [Function anonymous]
  71. }
  72. },
  73. "_mountImage": null,
  74. "_mountIndex": 0,
  75. "_mountOrder": 2,
  76. "_pendingCallbacks": null,
  77. "_pendingElement": null,
  78. "_pendingForceUpdate": false,
  79. "_pendingReplaceState": false,
  80. "_pendingStateQueue": null,
  81. "_renderedComponent": {
  82. "_calledComponentWillUnmount": false,
  83. "_context": Object {},
  84. "_currentElement": Object {
  85. "$$typeof": Symbol(react.element),
  86. "_owner": [Circular],
  87. "_store": Object {},
  88. "key": null,
  89. "props": Object {
  90. "dataSource": ListViewDataSource {
  91. "_cachedRowCount": 0,
  92. "_dataBlob": null,
  93. "_dirtyRows": Array [],
  94. "_dirtySections": Array [],
  95. "_getRowData": [Function defaultGetRowData],
  96. "_getSectionHeaderData": [Function defaultGetSectionHeaderData],
  97. "_rowHasChanged": [Function rowHasChanged],
  98. "_sectionHeaderHasChanged": undefined,
  99. "rowIdentities": Array [],
  100. "sectionIdentities": Array []
  101. },
  102. "enableEmptySections": true,
  103. "refreshControl": [Circular],
  104. "renderRow": [Function bound _renderRow]
  105. },
  106. "ref": null,
  107. "type": [Function anonymous]
  108. },
  109. "_debugID": 2,
  110. "_hostContainerInfo": null,
  111. "_hostParent": null,
  112. "_instance": {
  113. "_reactInternalInstance": [Circular],
  114. "context": Object {},
  115. "props": Object {
  116. "dataSource": ListViewDataSource {
  117. "_cachedRowCount": 0,
  118. "_dataBlob": null,
  119. "_dirtyRows": Array [],
  120. "_dirtySections": Array [],
  121. "_getRowData": [Function defaultGetRowData],
  122. "_getSectionHeaderData": [Function defaultGetSectionHeaderData],
  123. "_rowHasChanged": [Function rowHasChanged],
  124. "_sectionHeaderHasChanged": undefined,
  125. "rowIdentities": Array [],
  126. "sectionIdentities": Array []
  127. },
  128. "enableEmptySections": true,
  129. "refreshControl": [Circular],
  130. "renderRow": [Function bound _renderRow]
  131. },
  132. "refs": Object {},
  133. "state": null,
  134. "updater": Object {
  135. "enqueueCallback": [Function anonymous],
  136. "enqueueCallbackInternal": [Function anonymous],
  137. "enqueueElementInternal": [Function anonymous],
  138. "enqueueForceUpdate": [Function anonymous],
  139. "enqueueReplaceState": [Function anonymous],
  140. "enqueueSetState": [Function anonymous],
  141. "isMounted": [Function anonymous],
  142. "validateCallback": [Function anonymous]
  143. }
  144. },
  145. "_mountImage": null,
  146. "_mountIndex": 0,
  147. "_mountOrder": 3,
  148. "_pendingCallbacks": null,
  149. "_pendingElement": null,
  150. "_pendingForceUpdate": false,
  151. "_pendingReplaceState": false,
  152. "_pendingStateQueue": null,
  153. "_renderedComponent": {
  154. "_calledComponentWillUnmount": false,
  155. "_context": Object {},
  156. "_currentElement": Object {
  157. "$$typeof": Symbol(react.element),
  158. "_owner": [Circular],
  159. "_store": Object {},
  160. "key": null,
  161. "props": Object {
  162. "children": Array [],
  163. "dataSource": ListViewDataSource {
  164. "_cachedRowCount": 0,
  165. "_dataBlob": null,
  166. "_dirtyRows": Array [],
  167. "_dirtySections": Array [],
  168. "_getRowData": [Function defaultGetRowData],
  169. "_getSectionHeaderData": [Function defaultGetSectionHeaderData],
  170. "_rowHasChanged": [Function rowHasChanged],
  171. "_sectionHeaderHasChanged": undefined,
  172. "rowIdentities": Array [],
  173. "sectionIdentities": Array []
  174. },
  175. "enableEmptySections": true,
  176. "refreshControl": [Circular],
  177. "renderRow": [Function bound _renderRow]
  178. },
  179. "ref": null,
  180. "type": [Function View]
  181. },
  182. "_debugID": 3,
  183. "_hostContainerInfo": null,
  184. "_hostParent": null,
  185. "_instance": View {
  186. "_reactInternalInstance": [Circular],
  187. "context": Object {},
  188. "props": Object {
  189. "children": Array [],
  190. "dataSource": ListViewDataSource {
  191. "_cachedRowCount": 0,
  192. "_dataBlob": null,
  193. "_dirtyRows": Array [],
  194. "_dirtySections": Array [],
  195. "_getRowData": [Function defaultGetRowData],
  196. "_getSectionHeaderData": [Function defaultGetSectionHeaderData],
  197. "_rowHasChanged": [Function rowHasChanged],
  198. "_sectionHeaderHasChanged": undefined,
  199. "rowIdentities": Array [],
  200. "sectionIdentities": Array []
  201. },
  202. "enableEmptySections": true,
  203. "refreshControl": [Circular],
  204. "renderRow": [Function bound _renderRow]
  205. },
  206. "refs": Object {},
  207. "state": null,
  208. "updater": Object {
  209. "enqueueCallback": [Function anonymous],
  210. "enqueueCallbackInternal": [Function anonymous],
  211. "enqueueElementInternal": [Function anonymous],
  212. "enqueueForceUpdate": [Function anonymous],
  213. "enqueueReplaceState": [Function anonymous],
  214. "enqueueSetState": [Function anonymous],
  215. "isMounted": [Function anonymous],
  216. "validateCallback": [Function anonymous]
  217. }
  218. },
  219. "_mountImage": null,
  220. "_mountIndex": 0,
  221. "_mountOrder": 4,
  222. "_pendingCallbacks": null,
  223. "_pendingElement": null,
  224. "_pendingForceUpdate": false,
  225. "_pendingReplaceState": false,
  226. "_pendingStateQueue": null,
  227. "_renderedComponent": {
  228. "_currentElement": Object {
  229. "$$typeof": Symbol(react.element),
  230. "_owner": [Circular],
  231. "_store": Object {},
  232. "key": null,
  233. "props": Object {
  234. "children": Array [],
  235. "dataSource": ListViewDataSource {
  236. "_cachedRowCount": 0,
  237. "_dataBlob": null,
  238. "_dirtyRows": Array [],
  239. "_dirtySections": Array [],
  240. "_getRowData": [Function defaultGetRowData],
  241. "_getSectionHeaderData": [Function defaultGetSectionHeaderData],
  242. "_rowHasChanged": [Function rowHasChanged],
  243. "_sectionHeaderHasChanged": undefined,
  244. "rowIdentities": Array [],
  245. "sectionIdentities": Array []
  246. },
  247. "enableEmptySections": true,
  248. "refreshControl": [Circular],
  249. "renderRow": [Function bound _renderRow]
  250. },
  251. "ref": null,
  252. "type": "View"
  253. },
  254. "_debugID": 4,
  255. "_mountImage": null,
  256. "_mountIndex": 0,
  257. "_renderedChildren": Object {},
  258. "_topLevelWrapper": null
  259. },
  260. "_renderedNodeType": 0,
  261. "_rootNodeID": null,
  262. "_topLevelWrapper": null,
  263. "_updateBatchNumber": null,
  264. "_warnedAboutRefsInRender": false
  265. },
  266. "_renderedNodeType": 1,
  267. "_rootNodeID": null,
  268. "_topLevelWrapper": null,
  269. "_updateBatchNumber": null,
  270. "_warnedAboutRefsInRender": false
  271. },
  272. "_renderedNodeType": 1,
  273. "_rootNodeID": null,
  274. "_topLevelWrapper": {
  275. "_calledComponentWillUnmount": false,
  276. "_context": Object {},
  277. "_currentElement": Object {
  278. "$$typeof": Symbol(react.element),
  279. "_owner": null,
  280. "_store": Object {},
  281. "key": null,
  282. "props": Object {
  283. "$$typeof": Symbol(react.element),
  284. "_owner": null,
  285. "_store": Object {},
  286. "key": null,
  287. "props": Object {
  288. "list": Array [
  289. Object {
  290. "a": 1
  291. },
  292. Object {
  293. "a": 2
  294. }
  295. ]
  296. },
  297. "ref": null,
  298. "type": [Function anonymous]
  299. },
  300. "ref": null,
  301. "type": [Function anonymous]
  302. },
  303. "_debugID": 0,
  304. "_hostContainerInfo": null,
  305. "_hostParent": null,
  306. "_instance": {
  307. "_reactInternalInstance": [Circular],
  308. "context": Object {},
  309. "props": Object {
  310. "$$typeof": Symbol(react.element),
  311. "_owner": null,
  312. "_store": Object {},
  313. "key": null,
  314. "props": Object {
  315. "list": Array [
  316. Object {
  317. "a": 1
  318. },
  319. Object {
  320. "a": 2
  321. }
  322. ]
  323. },
  324. "ref": null,
  325. "type": [Function anonymous]
  326. },
  327. "refs": Object {},
  328. "state": null,
  329. "updater": Object {
  330. "enqueueCallback": [Function anonymous],
  331. "enqueueCallbackInternal": [Function anonymous],
  332. "enqueueElementInternal": [Function anonymous],
  333. "enqueueForceUpdate": [Function anonymous],
  334. "enqueueReplaceState": [Function anonymous],
  335. "enqueueSetState": [Function anonymous],
  336. "isMounted": [Function anonymous],
  337. "validateCallback": [Function anonymous]
  338. }
  339. },
  340. "_mountImage": null,
  341. "_mountIndex": 0,
  342. "_mountOrder": 1,
  343. "_pendingCallbacks": null,
  344. "_pendingElement": null,
  345. "_pendingForceUpdate": false,
  346. "_pendingReplaceState": false,
  347. "_pendingStateQueue": null,
  348. "_renderedComponent": [Circular],
  349. "_renderedNodeType": 1,
  350. "_rootNodeID": null,
  351. "_topLevelWrapper": null,
  352. "_updateBatchNumber": null,
  353. "_warnedAboutRefsInRender": false
  354. },
  355. "_updateBatchNumber": null,
  356. "_warnedAboutRefsInRender": false
  357. },
  358. "_store": Object {},
  359. "key": null,
  360. "props": Object {},
  361. "ref": null,
  362. "type": "RefreshControl"
  363. }
  364. }
  365. renderRow={[Function bound _renderRow]} />
  366. `;
Advertisement
Add Comment
Please, Sign In to add comment