Commit Graph

30 Commits

Author SHA1 Message Date
Yegor Jbanov
b0e4559459 add flutter_driver package
This commit contains:

- FlutterDriver API for e2e tests usable in conjunction with package:test
- FlutterDriverExtension to be enabled by the application in order to
  allow an external agent to connect to it and drive user interactions and
  probe into the element tree
- initial implementations of tap, findByValueKey and getText commands (to
  be expanded in future PRs)
2016-02-17 18:02:18 -08:00
Adam Barth
6c81433500 Revert "Revert "Stop Travis from uploading docs""
This patch again stops Traivs from uploading docs now that the new infra seems
to be better at it.

This reverts commit 196c881c5b.
2016-02-12 12:32:21 -08:00
Adam Barth
196c881c5b Revert "Stop Travis from uploading docs"
This reverts commit 8a45809893.
2016-02-12 11:39:03 -08:00
Adam Barth
8a45809893 Stop Travis from uploading docs
We now upload these from Chromium infra.
2016-02-12 10:34:49 -08:00
Devon Carew
9aa39192a9 add a test for flutter_sprites 2016-01-14 09:13:44 -08:00
Seth Ladd
ef4ea9b776 generate docs for sprites 2016-01-07 15:55:41 -08:00
Ian Hickson
7d83903e75 Allow travis/test.sh to be run locally (not on travis)
This helps people check that all the tests will pass before they send a PR.
2015-12-28 11:34:37 -08:00
Eric Seidel
1bde1e7939 Generate docs for more of our packages
I also stopped pushing docs to domokit.org I presume we
were doing that to not break old links.  @abarth

@sethladd
2015-12-18 08:52:05 -08:00
Seth Ladd
86fe311b5f analytics and a homepage for docs.flutter.io 2015-12-16 14:05:48 -08:00
Ian Hickson
7151fdd054 Move flutter tests from packages/unit to packages/flutter/test 2015-12-16 08:00:57 -08:00
Seth Ladd
7dd28659b2 Merge pull request #937 from flutter/sethladd-patch-1
Use a newer version of dartdoc
2015-12-15 13:21:12 -08:00
Seth Ladd
070b227b12 call dartdoc with a more explicit path 2015-12-15 12:18:30 -08:00
Devon Carew
46bac6b78f Update test.sh
Add the -q (quiet) flag to gsutil uploads.
2015-12-15 10:10:24 -08:00
Seth Ladd
219e1318bb Use a newer version of dartdoc 2015-12-15 09:24:13 -08:00
Devon Carew
1ef12a21d4 Update test.sh
gen dartdoc using the flutter styles
2015-12-14 21:31:13 -08:00
Adam Barth
f23035b0fe Switch docs to docs.flutter.io
That site is now live.
2015-12-14 19:55:08 -08:00
Eric Seidel
09894ec50b Add a test to stocks for changing the locale
I had to add a setLocale method to WidgetTester and
split the code in FlutterBinding which handled locale
changes to allow me to dispatch a locale change w/o actually
changing what the c++ code reports as the locale.

Also added the test to Travis.

@abarth @jason-simmons
2015-12-08 16:16:24 -08:00
Adam Barth
83ba426363 Fix typo 2015-12-05 14:41:50 -08:00
Adam Barth
6ca057e508 Update Flutter API docs continuously
The patch teaches Travis how to update our API docs continuously as we land
patches in master.
2015-12-05 14:23:18 -08:00
Adam Barth
fb98a387aa Support flutter test with prebuilt binaries
Now you can run tests with and without --flutter-repo with a prebuilt binary on
Linux.

Fixes #307
2015-12-03 10:05:57 -08:00
Adam Barth
c7e00449a8 Make it possible to run tests outside the Flutter repo
This patch still requires a locally built engine. I'll remove the need for a
locally built engine in a future patch.

Fixes #278
2015-11-23 13:42:04 -08:00
Hixie
a0227cab15 flutter analyze command
Other changes in this patch:
- Make the 'flutter' tool say "Updating flutter tool..." when it calls
  pub get, to avoid confusion about what the pub get output is about.
- Make the bash flutter tool call pub get when the revision has
  changed. (This was already happening on Windows.)
- Fix a raft of bugs found by the analyzer.
- Fix some style nits in various bits of code that happened to be near
  things the analyzer noticed.
- Remove the logic in "flutter test" that would run "pub get", since
  upon further reflexion it was determined it didn't work anyway.
  We'll probably have to add better diagnostics here and say to run the
  updater script.
- Remove the native velocity tracker script, since it was testing code
  that has since been removed.

Notes on ignored warnings:
- We ignore warnings in any packages that are not in the Flutter repo or
  in the author's current directory.
- We ignore various irrelevant Strong Mode warnings. We still enable
  strong mode because even though it's not really relevant to our needs,
  it does (more or less accidentally) catch a few things that are
  helpful to us.
- We allow CONSTANTS_LIKE_THIS, since we get some of those from other
  platforms that we are copying for sanity and consistency.
- We allow one-member abstract classes since we have a number of them
  where it's perfectly reasonable.
- We unfortunately still ignore warnings in mojom.dart autogenerated
  files. We should really fix those but that's a separate patch.
- We verify the actual source file when we see the 'Name non-constant
  identifiers using lowerCamelCase.' lint, to allow one-letter variables
  that use capital letters (e.g. for physics expressions) and to allow
  multiple-underscore variable names.
- We ignore all errors on lines that contain the following magic
  incantation and a "#" character:
    // analyzer doesn't like constructor tear-offs
- For all remaining errors, if the line contains a comment of the form
    // analyzer says "..."
  ...then we ignore any errors that have that "..." string in them.
2015-11-12 12:23:29 -08:00
Devon Carew
3c943d79ec fix an issue parsing 'adb devices' output 2015-11-11 14:14:12 -08:00
Devon Carew
2644e85922 test more packages on travis 2015-11-10 10:43:47 -08:00
Ian Hickson
3419068cb3 Port test logic to Dart. 2015-11-09 09:00:49 -08:00
Adam Barth
576795dcc6 Add a CONTRIBUTING.md
This document describes the workflow for contributing code to this repository.
2015-11-08 21:56:20 -08:00
Adam Barth
00de3081d5 The FLX package should test itself
Rather than using the Flutter unit tests to test FLX, we can just test FLX
directly. Also, clean up the dependencies in the pubspec to match the code.
2015-11-06 23:59:17 -08:00
Adam Barth
2f6c37672c Run unit tests on Travis 2015-11-06 23:47:04 -08:00
Adam Barth
654faaf571 Add flutter_tools to Travis 2015-11-04 22:08:07 -08:00
Adam Barth
6fea7f5871 Start building the repository structure 2015-11-02 22:00:11 -08:00