9 Commits

Author SHA1 Message Date
Adam Barth
f44e4c0615 Add a basic test for Mimic tree movement 2015-08-25 16:50:44 -07:00
Adam Barth
f16249adcd Add a test for #833
This test just exercises Align to make sure it can sync.
2015-08-25 16:13:33 -07:00
Adam Barth
b2d3435d8e Fix global key error while using fitness app
We were making local copies of the listener maps, but we were actually
iterating the underlying sets. Now we make local copies of the sets.

Fixes #803
2015-08-25 14:45:18 -07:00
Adam Barth
63d8c2466b Add GlobalKey.registerSyncListener
This lets clients listen for when a widget with a given global key goes through
a sync operation. We'll need this for mimic to track its mimicable when it
moves around the tree.
2015-08-24 12:55:55 -07:00
Adam Barth
341728ce5f Fix analyzer warnings 2015-08-22 08:24:02 -07:00
Adam Barth
4c50536198 Migrate RenderBox tests to box_test.dart 2015-08-21 10:18:48 -07:00
Adam Barth
643c636f4b Migrate sky/tests/layout to sky/unit/test
Also, I've organized the tests by the render object they're testing.
2015-08-21 10:01:58 -07:00
Adam Barth
68dc5655f1 Migrate some tests to sky/unit/test 2015-08-21 09:13:52 -07:00
Adam Barth
1133c5c0ef Introduce sky/unit/test
This patch adds a new test harness and a first, trivial test to run with the
harness. The new test harness is built on package:test and should run on
Travis. Over time, we'll migrate our existing tests into this harness.
2015-08-20 21:01:13 -07:00