mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Added tests for observe.sky
R=esprehn@chromium.org Review URL: https://codereview.chromium.org/694323003
This commit is contained in:
parent
d07561b6cf
commit
40ce06f206
88
tests/framework/observe-expected.txt
Normal file
88
tests/framework/observe-expected.txt
Normal file
@ -0,0 +1,88 @@
|
||||
ERROR: Exception caught during observer callback: ouch
|
||||
SOURCE: http://127.0.0.1:8000/sky/framework/sky-element/observe.sky:627
|
||||
ERROR: Exception caught during observer callback: ouch
|
||||
SOURCE: http://127.0.0.1:8000/sky/framework/sky-element/observe.sky:627
|
||||
Running 80 tests
|
||||
ok 1 Path constructor throws
|
||||
ok 2 Path path validity
|
||||
ok 3 Path Paths are interned
|
||||
ok 4 Path null is empty path
|
||||
ok 5 Path undefined is empty path
|
||||
ok 6 Path Path.getValueFrom
|
||||
ok 7 Path Path.setValueFrom
|
||||
ok 8 Path Degenerate Values
|
||||
ok 9 Basic Tests Exception Doesnt Stop Notification
|
||||
ok 10 Basic Tests Can only open once
|
||||
ok 11 ObserverTransform Close Invokes Close
|
||||
ok 12 ObserverTransform valueFn/setValueFn
|
||||
ok 13 ObserverTransform valueFn - object literal
|
||||
ok 14 ObserverTransform CompoundObserver - valueFn reduction
|
||||
ok 15 PathObserver Tests Callback args
|
||||
ok 16 PathObserver Tests PathObserver.path
|
||||
ok 17 PathObserver Tests invalid
|
||||
ok 18 PathObserver Tests Optional target for callback
|
||||
ok 19 PathObserver Tests Delivery Until No Changes
|
||||
ok 20 PathObserver Tests Path disconnect
|
||||
ok 21 PathObserver Tests Path discardChanges
|
||||
ok 22 PathObserver Tests Path setValue
|
||||
ok 23 PathObserver Tests Degenerate Values
|
||||
ok 24 PathObserver Tests Path NaN
|
||||
ok 25 PathObserver Tests Path Set Value Back To Same
|
||||
ok 26 PathObserver Tests Path Triple Equals
|
||||
ok 27 PathObserver Tests Path Simple
|
||||
ok 28 PathObserver Tests Path Simple - path object
|
||||
ok 29 PathObserver Tests Path - root is initially null
|
||||
ok 30 PathObserver Tests Path With Indices
|
||||
ok 31 PathObserver Tests Path Observation
|
||||
ok 32 PathObserver Tests Path Set To Same As Prototype
|
||||
ok 33 PathObserver Tests Path Set Read Only
|
||||
ok 34 PathObserver Tests Path Set Shadows
|
||||
ok 35 PathObserver Tests Delete With Same Value On Prototype
|
||||
ok 36 PathObserver Tests Delete With Different Value On Prototype
|
||||
ok 37 PathObserver Tests Value Change On Prototype
|
||||
ok 38 PathObserver Tests Delete Of Non Configurable
|
||||
ok 39 PathObserver Tests Notify
|
||||
ok 40 PathObserver Tests issue-161
|
||||
ok 41 PathObserver Tests object cycle
|
||||
ok 42 CompoundObserver Tests Simple
|
||||
ok 43 CompoundObserver Tests reportChangesOnOpen
|
||||
ok 44 CompoundObserver Tests Degenerate Values
|
||||
ok 45 CompoundObserver Tests valueFn - return object literal
|
||||
ok 46 CompoundObserver Tests reset
|
||||
ok 47 CompoundObserver Tests Heterogeneous
|
||||
ok 48 ArrayObserver Tests Optional target for callback
|
||||
ok 49 ArrayObserver Tests Delivery Until No Changes
|
||||
ok 50 ArrayObserver Tests Array disconnect
|
||||
ok 51 ArrayObserver Tests Array discardChanges
|
||||
ok 52 ArrayObserver Tests Array
|
||||
ok 53 ArrayObserver Tests Array observe non-array throws
|
||||
ok 54 ArrayObserver Tests Array Set Same
|
||||
ok 55 ArrayObserver Tests Array Splice
|
||||
ok 56 ArrayObserver Tests Array Splice Truncate And Expand With Length
|
||||
ok 57 ArrayObserver Tests Array Splice Delete Too Many
|
||||
ok 58 ArrayObserver Tests Array Length
|
||||
ok 59 ArrayObserver Tests Array Push
|
||||
ok 60 ArrayObserver Tests Array Pop
|
||||
ok 61 ArrayObserver Tests Array Shift
|
||||
ok 62 ArrayObserver Tests Array Unshift
|
||||
ok 63 ArrayObserver Tests Array Tracker Contained
|
||||
ok 64 ArrayObserver Tests Array Tracker Delete Empty
|
||||
ok 65 ArrayObserver Tests Array Tracker Right Non Overlap
|
||||
ok 66 ArrayObserver Tests Array Tracker Left Non Overlap
|
||||
ok 67 ArrayObserver Tests Array Tracker Right Adjacent
|
||||
ok 68 ArrayObserver Tests Array Tracker Left Adjacent
|
||||
ok 69 ArrayObserver Tests Array Tracker Right Overlap
|
||||
ok 70 ArrayObserver Tests Array Tracker Left Overlap
|
||||
ok 71 ArrayObserver Tests Array Tracker Prefix And Suffix One In
|
||||
ok 72 ArrayObserver Tests Array Tracker Shift One
|
||||
ok 73 ArrayObserver Tests Array Tracker Update Delete
|
||||
ok 74 ArrayObserver Tests Array Tracker Update After Delete
|
||||
ok 75 ArrayObserver Tests Array Tracker Delete Mid Array
|
||||
ok 76 ArrayObserver Tests Array Random Case 1
|
||||
ok 77 ArrayObserver Tests Array Random Case 2
|
||||
ok 78 ArrayObserver Tests Array Random Case 3
|
||||
ok 79 ArrayObserver Tests Array Tracker Fuzzer
|
||||
ok 80 ArrayObserver Tests Array Tracker No Proxies Edits
|
||||
80 tests
|
||||
80 pass
|
||||
0 fail
|
||||
1872
tests/framework/observe.sky
Normal file
1872
tests/framework/observe.sky
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user