Shelley Vohr
d4350079c9
update crash reporter spec
2017-10-26 20:21:36 -04:00
Cheng Zhao
7d7bb1581b
spec: Disable crashReporter tests for some CI machines
...
Have no idea why it is failing on our CI machines, but at least Appveyor
works fine.
2017-08-02 15:54:50 +09:00
Kevin Sawicki
d202c35be9
Enable crash reporter specs on Linux CI
2017-05-25 16:58:37 -07:00
Kevin Sawicki
bcbfd0d5c6
Disable crashReporter specs on Linux CI
2017-05-15 11:01:53 -07:00
Kevin Sawicki
fae0308861
Use app name in crash dir path on linux/macos
2017-04-19 20:19:17 -07:00
Kevin Sawicki
709d2933b7
🎨
2017-04-19 16:44:31 -07:00
Kevin Sawicki
de62f1ea6c
Restart crash service in each spec
2017-04-19 16:37:24 -07:00
Kevin Sawicki
a7a92e1cd3
Still call done when stop server function is null
2017-04-19 09:52:28 -07:00
Kevin Sawicki
4d9cdad37a
Close server and connections after each spec
2017-04-19 09:48:32 -07:00
Kevin Sawicki
ece4df0ac7
Increase timeout to 2 minutes
2017-04-19 09:30:03 -07:00
Kevin Sawicki
c05c324464
Remove extra space in description
2017-04-19 09:28:52 -07:00
Thiago de Arruda
ce1a5e3c9c
Fix sandboxed crashReporter for windows.
...
- Use `path` module from browser process in sandboxed renderer. This is required
because the return value of `path.join` is platform-specific, and this is an
assumtion of crash-reporter.js which is shared between sandboxed and
non-sandboxed renderers.
- Set `process.platform` and `process.execPath` in sandboxed renderer
environment. This is required to spawn the windows crash service from
sandboxed renderer.
- Use a single temporary directory for all crashReporter tests. This is required
to make tests more deterministic across platforms(since mac's crashpad doesn't
support changing the crash dump directory). Also make a few improvements/fixes
to the `uploadToServer` test.
2017-04-05 18:09:24 -03:00
Kevin Sawicki
d677a436ec
🎨
2017-03-31 10:42:43 -07:00
Thiago de Arruda
460fb9cdb9
Add tests for uploadToServer
option.
2017-03-31 13:48:07 -03:00
Thiago de Arruda
a5eef516a7
Fix indent in api-crash-reporter-spec.js
2017-03-23 10:01:02 -03:00
Thiago de Arruda
5ee6205c0a
Run the crash reporter specs with sandbox option.
...
- Create a function that accepts BrowserWindow options and generates a suite
that contains the renderer-specific tests.
- Run the function twice to execute the tests with and without sandbox option.
2017-03-23 10:01:02 -03:00
Kevin Sawicki
b51adf8ae5
Add spec for updated extra parameters
2017-02-14 09:37:09 -08:00
Kevin Sawicki
a4bbad03c2
autoSubmit -> uploadToServer
2017-02-14 09:37:09 -08:00
Kevin Sawicki
f3756ccf29
Run crash reporter specs on all platforms
2017-02-14 09:37:09 -08:00
Kevin Sawicki
f104e019be
Run crash reporter server specs on CI
2017-01-25 10:36:16 -08:00
Kevin Sawicki
170c51ae85
Add spec for crashing node process
2017-01-24 13:49:45 -08:00
Kevin Sawicki
d86f0a1686
Add missing call to done
2016-11-29 14:52:47 -08:00
Kevin Sawicki
f0566f3790
isCi -> isCI
2016-11-29 14:48:28 -08:00
Kevin Sawicki
77fa7ce977
Run more crashReporter specs on CI
2016-11-29 14:18:42 -08:00
Kevin Sawicki
1c6e166af5
Value should be true on non-macOS platforms
2016-11-28 15:08:28 -08:00
Kevin Sawicki
f4be3782a2
Add spec for get/setUploadToServer
2016-11-28 15:08:28 -08:00
Kevin Sawicki
4a8dcec63a
Wait for crash report to become available
2016-10-06 09:47:07 -07:00
Kevin Sawicki
0380d3ae50
Pass crashes directory to crash service process
2016-10-06 09:02:02 -07:00
Kevin Sawicki
2fbb98a97c
Remove directory assert
2016-10-06 09:02:02 -07:00
Kevin Sawicki
56d9ce34e4
Use valid Linux report id
2016-10-06 09:02:02 -07:00
Kevin Sawicki
773bfea386
Remove unused rimraf spec dependency
2016-10-06 09:02:01 -07:00
Kevin Sawicki
1afe501a36
Add tests for crash reports in custom temp directory
2016-10-06 09:02:01 -07:00
Kevin Sawicki
f282b51c98
🎨 Use ES6 class, destructuring, and let/const
2016-10-06 09:02:01 -07:00
Kevin Sawicki
2a0eb72334
Add asserts for crash report APIs
2016-08-09 15:44:04 -07:00
Kevin Sawicki
0ebe142b2f
Close windows instead of destroying them
2016-08-03 16:23:39 -07:00
Kevin Sawicki
3279f5c80a
Add spec for starting crash reporter twice
2016-07-26 10:43:57 -07:00
Cheng Zhao
13b4c8bb06
Ignore invalid parameter error in crash service process
2016-05-23 08:59:34 +09:00
Cheng Zhao
0ad03d9ff7
Suppress crashReporter test on x64 Windows for now
2016-05-13 11:12:01 +09:00
Kevin Sawicki
ef801d5543
Remove .only call
2016-05-06 10:12:54 -07:00
Kevin Sawicki
a6cf7a1095
Remove deprecated crashReporter.start options
2016-05-06 10:12:53 -07:00
Zeke Sikelianos
9f99ba3b73
update all references to old atom-log bracket notation
2016-04-29 18:35:02 -07:00
Zeke Sikelianos
14fb3c4598
throw error if it exists
2016-03-30 17:00:33 -07:00
Zeke Sikelianos
f35f362272
autoformat more files
2016-03-30 17:00:31 -07:00
Kevin Sawicki
31028ab636
Update var declarations
2016-02-17 09:27:25 -08:00
Kevin Sawicki
12adaa0570
Remove unneeded returns
2016-02-17 09:08:34 -08:00
Kevin Sawicki
e63c3c727a
Add newlines between describe/it blocks
2016-02-17 09:08:34 -08:00
Kevin Sawicki
709661156a
Use const for requires
2016-02-17 09:08:34 -08:00
Kevin Sawicki
70bcb0ac5a
Clean up no-unused-vars lint errors
2016-01-21 09:32:21 -07:00
Kevin Sawicki
1f9691ae13
Convert all source files to JavaScript
2016-01-12 16:24:06 -08:00