Commit Graph

5925 Commits

Author SHA1 Message Date
Emily Stark
bc0b1ce53c Rename a test timeout variable and use it in more places.
Bump some more timeouts too.
release/tools-refactoring-update-test
2014-02-14 18:30:15 -08:00
Emily Stark
b04aa12d39 Make 'empty' a test app with no packages.
Rename previous 'empty' app to 'standard-app'.
2014-02-14 17:59:59 -08:00
Emily Stark
f0b633e785 Rough draft of History.md 2014-02-14 17:51:02 -08:00
David Glasser
75fbb90e8a Remove localstorage -> jquery dependency
We no longer use jquery for browser detection here.
2014-02-14 17:14:11 -08:00
Emily Stark
c248fcd673 Clarify registration test comment 2014-02-14 15:03:39 -08:00
Emily Stark
c847142344 Fix registration test error check 2014-02-14 15:02:51 -08:00
Emily Stark
708a818654 Fix typo in registration test comment 2014-02-14 15:01:22 -08:00
Emily Stark
e1548ed0cd Add first deferred registration test 2014-02-14 14:58:59 -08:00
Emily Stark
73a7a09ebe Require test-utils as testUtils instead of utils.
Avoids confusion with utils.js.
2014-02-14 10:01:14 -08:00
David Glasser
c5efe36bce Ensure we don't double-return through runFuture 2014-02-14 01:06:18 -08:00
David Glasser
72cc8603b5 publish-release needs a release file 2014-02-14 01:00:12 -08:00
David Glasser
f0983a0dde Merge branch 'pr/1808' into devel 2014-02-14 00:24:50 -08:00
David Glasser
d4328d89b9 history update for #1808 2014-02-14 00:24:50 -08:00
David Glasser
ea793cb906 Test for #1808 2014-02-14 00:24:49 -08:00
James Hamlin
be0bce89c1 Maintain file modes when copying a directory.
A package may depend on some files in its dependencies being executable,
so builder ought to respect the modes of source files when copying into
a bundle.
2014-02-14 00:24:49 -08:00
Emily Stark
1a421a8805 Merge branch 'accounts-tests' into devel 2014-02-13 23:20:07 -08:00
Emily Stark
e0719ecca2 Make 'deploy - logged out' test not depend on pre-existing apps.
Deploy tests pass, but soooo slooooooowly.
2014-02-13 23:12:43 -08:00
Emily Stark
eb570e686b Bump a deploy-auth test timeout 2014-02-13 21:23:59 -08:00
Emily Stark
d5a587cf1c Update test-utils comments 2014-02-13 21:23:44 -08:00
Emily Stark
51e5d197e6 Make 'meteor claim' test as slow 2014-02-13 21:20:41 -08:00
Emily Stark
06ff4d27fb Bump timeouts on 'meteor claim' tests 2014-02-13 21:11:25 -08:00
Emily Stark
66a5429fc7 Add markStack to 'meteor claim' test helpers. 2014-02-13 20:46:20 -08:00
Emily Stark
ccfd57f627 Clean up a deploy test with new test-utils 2014-02-13 20:43:49 -08:00
Emily Stark
33da8066ec Add forgotten test-utils export 2014-02-13 20:42:14 -08:00
Emily Stark
a3829ab5d8 Remove console.log, add semicolons 2014-02-13 20:41:27 -08:00
Emily Stark
53e87bc58b Put test-utils into their own namespace 2014-02-13 20:40:43 -08:00
Emily Stark
0c42976321 Merge branch 'devel' into accounts-tests 2014-02-13 20:32:01 -08:00
Emily Stark
c9ad8e9ec9 Adjust login button text 2014-02-13 20:25:45 -08:00
Emily Stark
055426a449 Add loginWithMeteorDeveloperAccount to docs 2014-02-13 20:25:45 -08:00
Emily Stark
1a3116fe8d Make options optional for Accounts.loginWithMeteorDeveloperAccount 2014-02-13 20:25:45 -08:00
Emily Stark
9d8f95d82b Adjust developer account OAuth popup size 2014-02-13 20:25:45 -08:00
David Glasser
20a8e679f7 use runLog in updater
Note that this can stomp on, eg, "Starting your app".
2014-02-13 19:37:55 -08:00
David Glasser
1f7fa9e4c4 a comment about runlog 2014-02-13 19:37:55 -08:00
David Glasser
ccb3f08b51 shouldn't show "installing" for background update
or for --get-ready

Follow-up to 52639e6 (regression in that commit)
2014-02-13 19:37:55 -08:00
Emily Stark
553bf14c78 Remove duplicate getSessionFilePath() function.
METEOR_SESSION_FILE is the only environment variable for setting your
session file now, not SESSION_FILE_PATH.
2014-02-13 19:13:32 -08:00
David Glasser
7318071327 increase a timeout 2014-02-13 19:11:30 -08:00
David Glasser
1752ceeb67 Attempt to kill processes after tests 2014-02-13 19:11:30 -08:00
David Glasser
a3931f3f15 selftest: wait until stdio processed 2014-02-13 19:11:30 -08:00
David Glasser
0ea4acc208 make bundler use runLog 2014-02-13 19:11:30 -08:00
David Glasser
c0ac1ce11e make meteor-npm use runLog
this allows its messages to show up on the proxy, eg.

There's now a mix of runLog and buildmessage in this file, for two
reasons.

First, buildmessage's model is "build up a set of messages and then
display them all at once"; there's no streaming output, which is not
appropriate for the logUpdateDependencies call (which is mostly intended
to explain to users why their build is taking time).

Secondly, buildmessage doesn't yet have a great way of formatting big
blocks of text like "all the stderr from a failed npm invocation". If it
had such a feature, that would replace most of the uses of runLog in
this file.
2014-02-13 19:11:30 -08:00
David Glasser
2586a50cd0 Refactor RunLog to be a singleton
The rationale: RunLog is an object that is hardcoded around managing two
other singletons: stdout and stderr. Having multiple RunLogs wouldn't
work well without improving RunLog to have the ability to control other
streams.

We'd like to be able to use RunLog from other places in the tool, most
notably from code called from bundler (while running an app) such as the
npm updater. But threading a RunLog object through that code is
difficult (especially as bundling takes a detour through
release.current.library).
2014-02-13 19:11:30 -08:00
David Glasser
52639e62bb --get-ready on built meteor now fails on error
Generally reorganize some silent/quiet/background flags to be more
explicit about what is being show/hidden.

The main point here is that the 'background updater' wants to show
banners but ignore errors, whereas --get-ready wants to show errors but
not banners.
2014-02-13 19:11:30 -08:00
David Glasser
8fd5369f58 slightly improve logs/mongo test logging
This makes the displayed error line be the caller of expectSuccess, not
expectSuccess itself.
2014-02-13 19:11:29 -08:00
Emily Stark
db7e387390 Rename to Meteor.loginWithMeteorDeveloperAccount 2014-02-13 19:09:23 -08:00
David Glasser
fbda101599 Merge branch 'additional-run-test' into devel 2014-02-13 18:48:28 -08:00
David Glasser
4ce13da406 Fixes to new 'run' test
- can't set env var mid-process
- need to control fake mongo, and wait
2014-02-13 18:48:19 -08:00
Geoff Schmidt
84e1d5f7cd Add a basic runner test. 2014-02-13 18:48:19 -08:00
Geoff Schmidt
9eca81985b Enhance stack parser. 2014-02-13 18:48:18 -08:00
David Glasser
28227b783c new dev bundle, fixing an eachline bug 2014-02-13 18:48:07 -08:00
ekatek
e908f9540b Merge branch 'accounts-tests' of https://github.com/meteor/meteor into accounts-tests 2014-02-13 14:57:17 -08:00