Commit Graph

2172 Commits (e6a6bb5debdd3485c9d150ae44ef3fdda0cc511e)

Author SHA1 Message Date
Nils Winkler 7ea1a58216 Added comments on the test functions 2017-11-02 06:46:01 +01:00
Nils Winkler fef8e9ed09 Fixed ioreg test case 2017-11-02 06:46:01 +01:00
Nils Winkler 629b8522e5 Ensuring that output is always two digits at least
Show "04" instead of just "4".
2017-11-02 06:46:01 +01:00
Nils Winkler 86a87a33b5 Refactored command output handling 2017-11-02 06:46:01 +01:00
Nils Winkler a573b63da2 Simplified acpi 2017-11-02 06:46:01 +01:00
Nils Winkler 7602b1da32 Added tests for WMIC 2017-11-02 06:46:01 +01:00
Nils Winkler 601202e816 Simplified ioreg, added tests for no status 2017-11-02 06:46:01 +01:00
Nils Winkler 6b97283cbf Consolidated cases for pmset and ioreg 2017-11-02 06:46:01 +01:00
Nils Winkler 486c9e1382 Consolidated cases for acpi 2017-11-02 06:46:01 +01:00
Nils Winkler 3aed38c79f Updated acpi tests
Trying to cover the currently implemented tests, but I don't have a
system with acpi available for testing. Relying on assumptions so far.
2017-11-02 06:46:01 +01:00
Nils Winkler 812f49e457 Started first tests for acpi command 2017-11-02 06:46:01 +01:00
Nils Winkler a4824cc8c8 Changed pmset test to use printf 2017-11-02 06:46:01 +01:00
Nils Winkler b7b8a0afe0 Completed tests for upower command 2017-11-02 06:46:01 +01:00
Nils Winkler d39d14b140 Refactored test run script so that you can run a single file
Call it like this:

test/run test/plugins/battery.plugin.bats

If called without any parameters, all of the tests are run.
2017-11-02 06:46:01 +01:00
Nils Winkler 5ab23e3ca0 Added test cases for acpi, upower and ioreg, need to fill in data
The one for ioreg works fine, the others currently fail.
2017-11-02 06:46:01 +01:00
Nils Winkler b4c6029706 Made setup function for _command_exists generic 2017-11-02 06:46:01 +01:00
Nils Winkler 28c41efcbc Simplified setup fixture for pmset/_command_exists 2017-11-02 06:46:01 +01:00
Nils Winkler c221648a7f Refactored setup function for pmset 2017-11-02 06:46:01 +01:00
Nils Winkler c8d86858fd Added setup function for _command_exists that works for pmset 2017-11-02 06:46:01 +01:00
Nils Winkler d0b3205de0 Added an additional test case and a fix for using the pmset command
The other commands still need to be mocked and tested/fixed, too.
2017-11-02 06:46:01 +01:00
Nils Winkler ef28b2788b Added test cases for battery_percentage with pmset
Need to figure out way to ensure that pmset is used every time...
2017-11-02 06:46:01 +01:00
Travis Swicegood 611fcbeef8
Merge pull request #1078 from edubxb/travis-completion
Add travis completion
2017-10-31 11:13:38 -04:00
Eduardo Bellido Bellido 4a6db6ff83 Add travis completion
https://github.com/travis-ci/travis.rb
2017-10-31 00:48:55 +01:00
Travis Swicegood 8da29cddf6
Merge pull request #1076 from edubxb/pew-completion
Add pew completion
2017-10-30 17:43:41 -04:00
Travis Swicegood 712f8ef118
Merge pull request #1077 from lfelipe1501/patch-2
Update README.md for Atomic theme
2017-10-30 17:41:56 -04:00
Luis Felipe Sánchez 7fbfc3f356
Update README.md 2017-10-30 16:26:43 -05:00
Eduardo Bellido Bellido 1ee7d9bb05 Add pew completion 2017-10-30 10:40:58 +01:00
Nils Winkler 14e2d829ac
Merge pull request #1075 from edubxb/fix-awless-completion
Fix typo in awless completion
2017-10-30 09:48:27 +01:00
Eduardo Bellido Bellido c851254f93 Fix typo in awless completion 2017-10-30 09:41:04 +01:00
Nils Winkler 51fb2c86ff
Merge pull request #1070 from padilo/awskeys-fix-profile-list
fixed awskeys with all profiles
2017-10-28 14:33:23 +02:00
Nils Winkler 825ada636c
Merge pull request #1071 from edubxb/docker-compose-completion
Update docker-compose completion to the latest one
2017-10-28 14:32:44 +02:00
Nils Winkler 15764f9a67
Merge pull request #1072 from edubxb/gradle-completion
Upgrade gradle completion to the official one
2017-10-28 14:32:06 +02:00
Nils Winkler f3448f0acf
Merge pull request #1073 from edubxb/awless-completion
Add awless completion support
2017-10-28 14:30:33 +02:00
Nils Winkler c93bc8d638
Merge pull request #1074 from edubxb/pipenv-completion
Add pipenv completion support
2017-10-28 14:29:44 +02:00
Eduardo Bellido Bellido 1820a973d2 Add pipenv completion support
https://github.com/kennethreitz/pipenv
2017-10-28 12:42:50 +02:00
Eduardo Bellido Bellido da1e0dde6c Add awless completion support
https://github.com/wallix/awless
2017-10-28 12:37:41 +02:00
Eduardo Bellido Bellido 727fffb135 Upgrade gradle completion to the official one
https://github.com/gradle/gradle-completion
2017-10-28 00:02:02 +02:00
Eduardo Bellido Bellido 15e5705bf9 Update docker-compose completion to the latest one 2017-10-27 23:58:15 +02:00
Pablo Diaz 9d0da715d3 fixed awskeys with all profiles 2017-10-27 22:53:41 +02:00
Nils Winkler 2405fe2c54 Merge pull request #1068 from knope/patch-1
ssh doesn't care about case
2017-10-26 08:14:26 +02:00
knope 1b6a208b4c ssh doesn't care about case
... neither should it's autocomplete,
  please?  

  :D
2017-10-25 14:01:04 -04:00
Travis Swicegood 4c0e6c5adc Merge pull request #1067 from ziyaddin/patch-1
Fix documentation typos
2017-10-24 11:52:50 -04:00
Ziyaddin Sadigov 85ed47cfea Fix additional readme typos 2017-10-24 15:27:55 +04:00
Ziyaddin Sadigov 28a2461109 Fix readme typos 2017-10-24 15:15:20 +04:00
Nils Winkler 4dfca63d6c Merge pull request #1066 from mmasi-attivio/sdkman-dir
Use custom SDKMAN_DIR if set
2017-10-23 18:20:10 +02:00
Michael Masi 083974484e Use custom SDKMAN_DIR if set 2017-10-21 19:15:55 -04:00
Travis Swicegood 6d8b0a68ba Merge pull request #1065 from ariutta/ariutta-patch-1
Mac OS X -> macOS
2017-10-21 17:08:18 -04:00
Anders Riutta a3104fe55a Mac OS X -> macOS
Very minor.
https://www.wired.com/2016/06/apple-os-x-dead-long-live-macos/
2017-10-21 12:36:25 -07:00
Travis Swicegood f5b3e82383 Merge pull request #1063 from Bash-it/feature/configurable-purity-color
Add ability to specify the path color
2017-10-18 17:05:23 -04:00
Travis Swicegood ce6a90c220 Add ability to specify the path color 2017-10-18 16:03:06 -05:00