@samitouri / QOS-React / commits / b8cca3711e

Update passing tests

Dan Abramov committed Nov 11, 2016 at 21:20 UTC b8cca3711e940fdab848686e432d17f4c33d3241
3 files changed +19 -25
scripts/fiber/tests-failing.txt
+1 -22
@@ -19,8 +19,7 @@ src/addons/transitions/__tests__/ReactCSSTransitionGroup-test.js
19 * should transition from false to one
20
21 src/isomorphic/classic/__tests__/ReactContextValidator-test.js
22 -* should filter out context not in contextTypes
23 -* should filter context properly in callbacks
22 +* should pass previous context to lifecycles
23
24 src/isomorphic/classic/class/__tests__/ReactBind-test.js
25 * Holds reference to instance
@@ -31,24 +30,9 @@ src/isomorphic/classic/class/__tests__/ReactBindOptout-test.js
30 * works with mixins that have not opted out of autobinding
31 * works with mixins that have opted out of autobinding
32
34 -src/isomorphic/classic/class/__tests__/ReactClass-test.js
35 -* renders based on context getInitialState
36 -
33 src/isomorphic/classic/element/__tests__/ReactElementValidator-test.js
34 * includes the owner name when passing null, undefined, boolean, or number
35
40 -src/isomorphic/modern/class/__tests__/ReactCoffeeScriptClass-test.coffee
41 -* renders based on context in the constructor
42 -* supports this.context passed via getChildContext
43 -
44 -src/isomorphic/modern/class/__tests__/ReactES6Class-test.js
45 -* renders based on context in the constructor
46 -* supports this.context passed via getChildContext
47 -
48 -src/isomorphic/modern/class/__tests__/ReactTypeScriptClass-test.ts
49 -* renders based on context in the constructor
50 -* supports this.context passed via getChildContext
51 -
36 src/isomorphic/modern/element/__tests__/ReactJSXElementValidator-test.js
37 * should give context for PropType errors in nested components.
38
@@ -441,11 +425,8 @@ src/renderers/shared/stack/reconciler/__tests__/ReactCompositeComponent-test.js
425 * should warn about `setState` on unmounted components
426 * should warn about `setState` in render
427 * should warn about `setState` in getChildContext
444 -* should pass context to children when not owner
428 * should pass context when re-rendered for static child
429 * should pass context when re-rendered for static child within a composite component
447 -* should pass context transitively
448 -* should pass context when re-rendered
430 * unmasked context propagates through updates
431 * should trigger componentWillReceiveProps for context changes
432 * should update refs if shouldComponentUpdate gives false
@@ -467,10 +448,8 @@ src/renderers/shared/stack/reconciler/__tests__/ReactMultiChildText-test.js
448 * should throw if rendering both HTML and children
449
450 src/renderers/shared/stack/reconciler/__tests__/ReactStatelessComponent-test.js
470 -* should pass context thru stateless component
451 * should warn when stateless component returns array
452 * should throw on string refs in pure functions
473 -* should receive context
453 * should warn when using non-React functions in JSX
454
455 src/renderers/shared/stack/reconciler/__tests__/ReactUpdates-test.js
scripts/fiber/tests-passing-except-dev.txt
-3
@@ -12,9 +12,6 @@ src/isomorphic/classic/element/__tests__/ReactElementValidator-test.js
12 * warns for keys with component stack info
13 * should give context for PropType errors in nested components.
14
15 -src/isomorphic/modern/element/__tests__/ReactJSXElementValidator-test.js
16 -* should warn on invalid context types
17 -
15 src/renderers/dom/shared/__tests__/CSSPropertyOperations-test.js
16 * should warn when using hyphenated style names
17 * should warn when updating hyphenated style names
scripts/fiber/tests-passing.txt
+18
@@ -128,6 +128,10 @@ src/isomorphic/children/__tests__/sliceChildren-test.js
128 * should allow static children to be sliced
129 * should slice nested children
130
131 +src/isomorphic/classic/__tests__/ReactContextValidator-test.js
132 +* should filter out context not in contextTypes
133 +* should pass next context to lifecycles
134 +
135 src/isomorphic/classic/class/__tests__/ReactBind-test.js
136 * warns if you try to bind to this
137 * does not warn if you pass an auto-bound method to setState
@@ -149,6 +153,7 @@ src/isomorphic/classic/class/__tests__/ReactClass-test.js
153 * should throw if a reserved property is in statics
154 * should support statics
155 * should work with object getInitialState() return values
156 +* renders based on context getInitialState
157 * should throw with non-object getInitialState() return values
158 * should work with a null getInitialState() return value
159 * should throw when using legacy factories
@@ -354,6 +359,7 @@ src/isomorphic/modern/class/__tests__/ReactCoffeeScriptClass-test.coffee
359 * renders a simple stateless component with prop
360 * renders based on state using initial values in this.props
361 * renders based on state using props in the constructor
362 +* renders based on context in the constructor
363 * renders only once when setting state in componentWillMount
364 * should throw with non-object in the initial state property
365 * should render with null in the initial state property
@@ -365,6 +371,7 @@ src/isomorphic/modern/class/__tests__/ReactCoffeeScriptClass-test.coffee
371 * should warn when misspelling shouldComponentUpdate
372 * should warn when misspelling componentWillReceiveProps
373 * should throw AND warn when trying to access classic APIs
374 +* supports this.context passed via getChildContext
375 * supports classic refs
376 * supports drilling through to the DOM using findDOMNode
377
@@ -374,6 +381,7 @@ src/isomorphic/modern/class/__tests__/ReactES6Class-test.js
381 * renders a simple stateless component with prop
382 * renders based on state using initial values in this.props
383 * renders based on state using props in the constructor
384 +* renders based on context in the constructor
385 * renders only once when setting state in componentWillMount
386 * should throw with non-object in the initial state property
387 * should render with null in the initial state property
@@ -385,6 +393,7 @@ src/isomorphic/modern/class/__tests__/ReactES6Class-test.js
393 * should warn when misspelling shouldComponentUpdate
394 * should warn when misspelling componentWillReceiveProps
395 * should throw AND warn when trying to access classic APIs
396 +* supports this.context passed via getChildContext
397 * supports classic refs
398 * supports drilling through to the DOM using findDOMNode
399
@@ -399,6 +408,7 @@ src/isomorphic/modern/class/__tests__/ReactTypeScriptClass-test.ts
408 * renders a simple stateless component with prop
409 * renders based on state using initial values in this.props
410 * renders based on state using props in the constructor
411 +* renders based on context in the constructor
412 * renders only once when setting state in componentWillMount
413 * should throw with non-object in the initial state property
414 * should render with null in the initial state property
@@ -410,6 +420,7 @@ src/isomorphic/modern/class/__tests__/ReactTypeScriptClass-test.ts
420 * should warn when misspelling shouldComponentUpdate
421 * should warn when misspelling componentWillReceiveProps
422 * should throw AND warn when trying to access classic APIs
423 +* supports this.context passed via getChildContext
424 * supports classic refs
425 * supports drilling through to the DOM using findDOMNode
426
@@ -446,6 +457,7 @@ src/isomorphic/modern/element/__tests__/ReactJSXElementValidator-test.js
457 * should not check the default for explicit null
458 * should check declared prop types
459 * should warn on invalid prop types
460 +* should warn on invalid context types
461 * should warn if getDefaultProps is specificed on the class
462
463 src/renderers/dom/__tests__/ReactDOMProduction-test.js
@@ -806,6 +818,7 @@ src/renderers/shared/fiber/__tests__/ReactIncremental-test.js
818 * performs batched updates at the end of the batch
819 * can nest batchedUpdates
820 * can handle if setState callback throws
821 +* merges and masks context
822
823 src/renderers/shared/fiber/__tests__/ReactIncrementalErrorHandling-test.js
824 * catches render error in a boundary during mounting
@@ -1018,7 +1031,10 @@ src/renderers/shared/stack/reconciler/__tests__/ReactCompositeComponent-test.js
1031 * should call componentWillUnmount before unmounting
1032 * should warn when shouldComponentUpdate() returns undefined
1033 * should warn when componentDidUnmount method is defined
1034 +* should pass context to children when not owner
1035 * should skip update when rerendering element in container
1036 +* should pass context transitively
1037 +* should pass context when re-rendered
1038 * only renders once if updated in componentWillReceiveProps
1039 * should allow access to findDOMNode in componentWillUnmount
1040 * context should be passed down from the parent
@@ -1147,9 +1163,11 @@ src/renderers/shared/stack/reconciler/__tests__/ReactStatelessComponent-test.js
1163 * should render stateless component
1164 * should update stateless component
1165 * should unmount stateless component
1166 +* should pass context thru stateless component
1167 * should provide a null ref
1168 * should use correct name in key warning
1169 * should support default props and prop types
1170 +* should receive context
1171 * should work with arrow functions
1172 * should allow simple functions to return null
1173 * should allow simple functions to return false