react-native/Libraries/Lists/__tests__
Jeff Case beeffb89fe Made `getItem` and `getItemCount` required props (VirtualizedList)
Summary:
The main reason to use **VirtualizedList** is to set the `getItem` and `getItemCount` props, so having default values for these props makes things error prone.

* In **VirtualizedList**, changed the `getItem` and `getItemCount` props from optional to required, and removed default values.
* Ensured that implementing classes **FlatList** and **SectionVirtualizedList** are always passing these props.
* Updated VirtualizedList-test.js accordingly.

Reviewed By: sahrens

Differential Revision: D4980236

fbshipit-source-id: ad1838931253bc61ff9068c40929f6e9c755b92c
2017-05-03 10:34:58 -07:00
..
__snapshots__ fix bug: flipped leading/trailing separators.updateProps 2017-04-27 15:50:15 -07:00
FillRateHelper-test.js Many improvements 2017-04-25 14:50:14 -07:00
FlatList-test.js Re-License Lists with standard React Native License 2017-03-24 14:31:19 -07:00
SectionList-test.js Many improvements 2017-04-25 14:50:14 -07:00
ViewabilityHelper-test.js Re-License Lists with standard React Native License 2017-03-24 14:31:19 -07:00
VirtualizeUtils-test.js Re-License Lists with standard React Native License 2017-03-24 14:31:19 -07:00
VirtualizedList-test.js Made `getItem` and `getItemCount` required props (VirtualizedList) 2017-05-03 10:34:58 -07:00