Commit Graph

9131 Commits (80df78be408392b8a34dc8baedfae592bc4637e0)

Author SHA1 Message Date
NaveenKarippai 80df78be40 Refactor test suite
There were test cases that are obsolete (duplicate).
This should be refactored to run only test cases that
are relevant on suite.

* keep only relevant test cases

See also: #2767
2016-05-23 19:54:22 +00:00
NaveenKarippai 86ce5a89ae Change date format to ISO8601 format on test suite
It was advised to change to test query to ISO8601 format
on test suite for DaysBetween goodie.

* changed query date format to ISO8601 format

See also: #2767
2016-05-22 17:02:22 +00:00
NaveenKarippai ff7baf5f8e Convert DaysBetween to full template goodie
Goodies have full support for templates, and it'd be great
to make sure all Goodies use full templates.
The "simple structured_answer" was provided as a temporary
workaround.

* change to 'text' template for structured_answer object

* refactored test suite

Re: #2767
2016-05-22 00:08:06 +00:00
Zaahir Moolla 8e74d245c7 Merge pull request #3110 from Donearm/classic_cocktails
Classic cocktails: More cocktails
2016-05-20 15:21:48 -04:00
Ben Moon c3429df540 Rename share/goodie/cheat_sheets/json/neko/neko-builtins.json to share/goodie/cheat_sheets/json/neko-builtins.json
We keep cheat sheets in the main json directory (at least for now).
2016-05-20 19:14:38 +01:00
Ben Moon 4977a1f7e8 Rename share/goodie/cheat_sheets/json/haxe/haxe-operators.json to share/goodie/cheat_sheets/json/haxe-operators.json
File was in incorrect location.
2016-05-20 19:13:45 +01:00
Caine Tighe e63792b261 DuckDuckGoodie: update link.: 2016-05-20 09:47:16 -04:00
Rob Emery 9fff0ab427 Merge pull request #3107 from rasikapohankar/indentation
WeekdaysBetween: Correct indentation for structured answer
2016-05-19 23:21:32 +01:00
Caine Tighe b91f4f4a03 t/DuckDuckGo.t: update test. 2016-05-19 16:32:17 -04:00
Caine Tighe 019ca5115b duckduckgo/responses.yml: update title. 2016-05-19 16:31:12 -04:00
rpohankar 2a4af36b04 Correct indentation for structured answer. 2016-05-19 18:58:53 +00:00
Caine Tighe 5343f46935 Merge pull request #3088 from duckduckgo/nilnilnil/yahoo-owned-server
DDG::Goodie::DuckDuckGo: Initial DNS delegation explanation.
2016-05-19 14:48:02 -04:00
Caine Tighe fe2d8f2612 t/DuckDuckGo.t: update yahoo tests. 2016-05-19 14:38:49 -04:00
Ben Moon 4e7dbbf1a5 Merge pull request #3075 from rasikapohankar/workdays_between
WorkdaysBetween: Convert to full template
2016-05-19 19:25:52 +01:00
rpohankar 1cda7e29ab Pass verb and singular or plural workdays from build_test. 2016-05-19 17:47:18 +00:00
Ben Moon b6d01fa0b6 Merge pull request #3103 from duckduckgo/mintsoft/Rot13-template
Rot13: Converting to text template
2016-05-19 18:40:00 +01:00
Ben Moon 8a1f0b0320 Merge pull request #3104 from rasikapohankar/weekdays_between
WeekdaysBetween: Convert to full template
2016-05-19 18:38:42 +01:00
Ben Moon 8fc3a9f78d Merge pull request #3094 from duckduckgo/mintsoft/Passphrase-template
Passphrase: Converting to text template
2016-05-19 18:35:35 +01:00
Ben Moon 09326d14a6 Merge pull request #3093 from duckduckgo/mintsoft/Paper-template
Paper: Converting to text template
2016-05-19 18:34:20 +01:00
Ben Moon fcd4b6ae31 Merge pull request #3105 from duckduckgo/mintsoft/Scramble-template
Scramble: Switching to text template
2016-05-19 18:33:28 +01:00
rpohankar 39b1e710bf Pass values for verb and weekdays_plurality from build_test, fix indentation. 2016-05-19 17:31:17 +00:00
Ben Moon 5c2b6ced39 Merge pull request #3102 from duckduckgo/mintsoft/Roman-template
Roman: Switching to text template
2016-05-19 18:31:15 +01:00
Ben Moon e9165bbbae Merge pull request #3095 from duckduckgo/mintsoft/Phonealphabet-template
PhoneAlphabet: Converting to text template
2016-05-19 18:30:28 +01:00
Ben Moon a312e0e4a6 Merge pull request #3101 from duckduckgo/mintsoft/RIPEMD-template
RIPEMD: Converting to text template
2016-05-19 18:28:37 +01:00
Ben Moon e9a0118df6 Merge pull request #3097 from duckduckgo/mintsoft/Rafl-template
Rafl: Switching to text template
2016-05-19 18:25:02 +01:00
Ben Moon 69eb193abf Merge pull request #3099 from duckduckgo/mintsoft/esreveR-template
Reverse: Converting to text template
2016-05-19 18:21:42 +01:00
Ben Moon c37398e421 Merge pull request #3100 from duckduckgo/mintsoft/ReverseComplement-template
ReverseComplement: Convert to text template
2016-05-19 18:08:51 +01:00
Ben Moon eae76a898a Merge pull request #3106 from duckduckgo/mintsoft/Wavelength-template
WaveLength: Switching to text template
2016-05-19 18:04:17 +01:00
Zach Thompson ad47da492c Merge pull request #3043 from duckduckgo/gd/cheat-sheets-fix-ignore
CheatSheets: Ensure multi-word ignores are processed correctly
2016-05-19 11:01:10 -06:00
Rob Emery cfd0ff5155 Reverse: Would previously return on "0" as input 2016-05-19 13:14:08 +01:00
Rob Emery 347cf6e552 Wavelength: Minor test cleanup; removing logic from the wrapper in favour of declaring the intention in the test input 2016-05-19 13:05:32 +01:00
Rob Emery 31bdb5574b WaveLength: Switching to text template 2016-05-19 13:00:40 +01:00
Rob Emery 386616d2d9 Scramble: Switching to text template 2016-05-19 12:51:53 +01:00
rpohankar 9b42820f4b Remove extra white spaces. 2016-05-19 08:22:54 +00:00
rpohankar e06a56c2c9 Update WeekdaysBetween to use full template. 2016-05-19 08:18:35 +00:00
Rob Emery 8a1b15f858 Rot13: Converting to text template 2016-05-18 23:23:28 +01:00
Rob Emery 62faa0c3ce Roman: Switching to text template 2016-05-18 23:13:31 +01:00
Rob Emery d4544d84bd RIPEMD: Switching to text template 2016-05-18 23:01:51 +01:00
Rob Emery 729a5ff09b RIPEMD: Converting to text template 2016-05-18 22:57:54 +01:00
Rob Emery 893ede356b ReverseComplement: Small tidy up 2016-05-18 22:21:20 +01:00
Rob Emery 3c152febc2 ReverseComplement: Switching to text template 2016-05-18 22:20:30 +01:00
Rob Emery f8d20e524b Reverse: Converting to text template 2016-05-18 21:05:35 +01:00
Rob Emery 7c245df230 Rafl: Switching to text template 2016-05-18 20:47:44 +01:00
Ben Moon e71eb3c5d4 Merge pull request #2889 from fzzr-/fzzr/cheatsheet-haxe-ops
New Haxe Operators Cheat Sheet
2016-05-18 20:44:42 +01:00
Caine Tighe 1e4f15d07f DuckDuckGo.pm: comment update. 2016-05-18 15:26:39 -04:00
Caine Tighe 0e365064d3 DuckDuckGo.pm: nits. 2016-05-18 15:25:30 -04:00
Caine Tighe f939051f36 DuckDuckGo.pm: Fix tests. 2016-05-18 15:13:03 -04:00
Caine Tighe 8e5ddcb372 DuckDuckGo.pm: Add sensible Yahoo aliases. 2016-05-18 14:50:51 -04:00
Caine Tighe 6d88795ece DuckDuckGo.pm: Handle all whois madness in DuckDuckGo.pm and save YAML from confusion. 2016-05-18 14:31:58 -04:00
Caine Tighe c7a996dc1e DuckDuckGo.pm: short circuit bad response key pairs. 2016-05-18 14:29:46 -04:00