Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-07-11 | Add application:ensure_all_started/1-2 | Fred Hebert | |
This adds two new functions to the application module that will recursively look for missing dependencies to start the entire dependency chain of a given application, and then the application itself, if possible. Its entire behavior is based on the currently existing 'start/1-2' functions, which will report dependencies that have not yet been started and other problems encountered. 'ensure_all_started/1-2' will use this information the way any programmer would manually do it to automate the process. This kind of functionality, while not OTP-ish (releases do this start sequence for the user), is still useful for testing purposes, quick demonstrations, and programmers who do not wish or know how to use OTP releases. The function returns '{ok, StartedApps}' for all started or already started applications (already started are omitted from the list), and will return '{error, {AppName, Reason}}' on a failure to allow users to rapidly know why the function failed. Note that no specific check is made for direct or indirect circular dependencies between applications, and these will make the function go in an infinite loop. | |||
2013-03-05 | tests: Refactor away ?line macro in test suite | Björn-Egil Dahlberg | |
Refactor away ?line macro in application_SUITE | |||
2013-03-05 | kernel: Tests for application:ensure_started/1,2 | Björn-Egil Dahlberg | |
2013-01-25 | Update copyright years | Björn-Egil Dahlberg | |
2013-01-14 | Removed obsolete ?line macro | Serge Aleynikov | |
2013-01-14 | Add application:get_key/3 | serge | |
The new function provides a default value for a configuration parameter. | |||
2011-11-16 | Add documentation and test for kernel env var shutdown_timeout | Siri Hansen | |
2011-08-31 | Improve and correct types and specifications in Kernel and STDLIB | Hans Bolinder | |
Running Dialyzer on the test suites revealed a few type errors. | |||
2011-03-11 | Update copyright years | Björn-Egil Dahlberg | |
2011-02-17 | Rename Suite Callback to Common Test Hook | Lukas Larsson | |
2011-02-17 | Fix formatting for kernel | Lukas Larsson | |
2011-02-17 | Add init_per_suite and end_per_suite | Lukas Larsson | |
2011-02-17 | Add ts_install_scb to suite/0 | Lukas Larsson | |
2011-02-17 | Update kernel tests to conform with common_test standard | Lukas Larsson | |
2011-02-17 | Update all fin_per_testcase to end_per_testcase. | Lukas Larsson | |
2009-11-20 | The R13B03 release.OTP_R13B03 | Erlang/OTP | |