ledger/test/baseline
John Wiegley 266dee564f Price annotation no longer inject an implied cost
Consider the following transaction:

  2010-06-22 Sample
      Assets:Brokerage       10 AAPL {$30}
      Assets:Brokerage

Previously, this would have been equivalent to:

  2010-06-22 Sample
      Assets:Brokerage       10 AAPL @ $30
      Assets:Brokerage

However, this is not always what the user expects to happen.  When @ is
not being used, the transaction should reflect a mere transfer of
commodities.  This is now how it works, and thus the above transaction
is now equivalent to the following instead:

  2010-06-22 Sample
      Assets:Brokerage       10 AAPL {$30}
      Assets:Brokerage      -10 AAPL {$30}
2010-06-22 20:56:35 -04:00
..
cmd-print.test Changed --european option to --decimal-comma 2010-06-01 17:56:41 -04:00
feat-balance-assignments.test Added a baseline test for balance assignments 2009-06-13 17:44:12 +01:00
feat-fixated-prices.test Renamed the fixated-prices test 2009-06-13 17:42:24 +01:00
opt-abbrev-len.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-account-width.test Added several more option baseline tests 2009-02-20 18:15:43 -04:00
opt-account.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-actual-dates.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-actual.test Automated transactions now use report query syntax 2009-11-10 02:44:16 -05:00
opt-add-budget.test Subsantial fixes and improvements to budgeting 2010-06-19 16:07:59 -04:00
opt-amount-data.test Be smarter about printing uncommoditized amounts 2009-02-24 15:13:21 -04:00
opt-amount-width.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-amount.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-average.test Added several more option baseline tests 2009-02-20 18:15:43 -04:00
opt-balance-format.test Added several more option baseline tests 2009-02-20 18:15:43 -04:00
opt-base.test Separator in "balance" now part of format string 2009-02-27 16:23:36 -04:00
opt-basis.test If 2+ child accounts are shown, show the parent 2009-03-15 21:31:06 -04:00
opt-begin.test Added several more option baseline tests 2009-02-20 18:15:43 -04:00
opt-bold-if.test Added new --bold-if option 2010-06-22 01:27:05 -04:00
opt-budget-format.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-budget.test Subsantial fixes and improvements to budgeting 2010-06-19 16:07:59 -04:00
opt-budget_only.test Added tests for sole budget/forecast reports 2010-06-21 13:25:17 -04:00
opt-budget_range.test Subsantial fixes and improvements to budgeting 2010-06-19 16:07:59 -04:00
opt-by-payee.test Do not implicitly sort register output 2010-03-17 00:49:11 -04:00
opt-cleared-format.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-cleared.test Added several more option baseline tests 2009-02-20 18:15:43 -04:00
opt-code-as-account.test Fixed tests relative to recent --pivot change 2010-02-04 04:23:27 -05:00
opt-code-as-payee.test Empty notes and tags now return null values 2010-05-30 03:01:11 -06:00
opt-collapse-if-zero.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-collapse.test Separator in "balance" now part of format string 2009-02-27 16:23:36 -04:00
opt-collapse_reg.test Added baseline test for reg -n 2009-11-14 02:32:18 -05:00
opt-color.test Setting --date-format in ~/.ledgerrc works again 2009-10-29 00:52:51 -04:00
opt-columns.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-commodity-as-account.test Change weighting of account-name abbreviation 2010-06-21 18:05:26 -04:00
opt-commodity-as-payee.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-cost.test If 2+ child accounts are shown, show the parent 2009-03-15 21:31:06 -04:00
opt-count.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-csv-format.test Rewrote the way date and time I/O is managed 2009-10-25 05:01:47 -04:00
opt-current.test Separator in "balance" now part of format string 2009-02-27 16:23:36 -04:00
opt-daily.test Added more option baseline tests, enabled --dow 2009-02-20 19:36:28 -04:00
opt-date-format.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-date-width.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-date.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-datetime-format.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-decimal-comma.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-depth.test If 2+ child accounts are shown, show the parent 2009-03-15 21:31:06 -04:00
opt-depth_flat.test If 2+ child accounts are shown, show the parent 2009-03-15 21:31:06 -04:00
opt-deviation.test Restored the --deviation option 2009-02-21 00:48:12 -04:00
opt-display-amount.test Added more option baseline tests, enabled --dow 2009-02-20 19:36:28 -04:00
opt-display-total.test Added more option baseline tests, enabled --dow 2009-02-20 19:36:28 -04:00
opt-display.test Added more option baseline tests, enabled --dow 2009-02-20 19:36:28 -04:00
opt-dow.test Added more option baseline tests, enabled --dow 2009-02-20 19:36:28 -04:00
opt-effective.test Do not implicitly sort register output 2010-03-17 00:49:11 -04:00
opt-empty.test Change weighting of account-name abbreviation 2010-06-21 18:05:26 -04:00
opt-empty_bal.test If 2+ child accounts are shown, show the parent 2009-03-15 21:31:06 -04:00
opt-empty_bal_flat.test If 2+ child accounts are shown, show the parent 2009-03-15 21:31:06 -04:00
opt-empty_collapse.test Added variant baseline tests relating to --empty 2009-02-21 20:52:51 -04:00
opt-end.test Added more option baseline tests 2009-02-20 20:30:43 -04:00
opt-equity.test Added more option baseline tests 2009-02-20 20:30:43 -04:00
opt-exact.test Added a new --exact option 2009-02-21 02:14:53 -04:00
opt-exchange.test Many fixes to both --market and --exchange 2009-02-23 01:51:23 -04:00
opt-flat.test If 2+ child accounts are shown, show the parent 2009-03-15 21:31:06 -04:00
opt-forecast-while.test Corrected bug with forecasting date bounded xacts 2010-06-13 23:41:50 -04:00
opt-forecast-years.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-forecast_only.test Added tests for sole budget/forecast reports 2010-06-21 13:25:17 -04:00
opt-format.test Added several more baseline tests 2009-02-21 02:24:41 -04:00
opt-gain.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-generated.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-group-by.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-group-title-format.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-head.test Added several more baseline tests 2009-02-21 02:24:41 -04:00
opt-inject.test Added new option --inject=KEY[,KEY...] 2010-06-18 02:28:12 -04:00
opt-input-date-format.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-invert.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-limit.test Added baseline test for --limit 2009-06-19 20:40:15 +01:00
opt-lot-dates.test Price annotation no longer inject an implied cost 2010-06-22 20:56:35 -04:00
opt-lot-prices.test Price annotation no longer inject an implied cost 2010-06-22 20:56:35 -04:00
opt-lot-tags.test Added baseline tests for --lot-tags and --lots-actual 2009-06-19 20:52:24 +01:00
opt-lots-actual.test Price annotation no longer inject an implied cost 2010-06-22 20:56:35 -04:00
opt-lots.test Price annotation no longer inject an implied cost 2010-06-22 20:56:35 -04:00
opt-lots_basis.test Price annotation no longer inject an implied cost 2010-06-22 20:56:35 -04:00
opt-lots_basis_base.test Price annotation no longer inject an implied cost 2010-06-22 20:56:35 -04:00
opt-market.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-master-account.test Renamed --set-reported-account to just --account 2009-11-06 02:39:30 -05:00
opt-meta-width.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-meta.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-monthly.test Added several more baseline tests 2009-02-21 02:24:41 -04:00
opt-no-rounding.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-no-titles.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-no-total.test Added four missing baseline tests 2009-06-28 15:51:05 +01:00
opt-now.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-only.test Added baseline test for --only 2009-06-21 20:33:30 +01:00
opt-output.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-pager.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-payee-as-account.test Change weighting of account-name abbreviation 2010-06-21 18:05:26 -04:00
opt-payee-width.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-payee.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-pending.test Added several more baseline tests 2009-02-21 02:24:41 -04:00
opt-percent.test Restored --percent option, added baseline test 2009-06-21 18:07:27 +01:00
opt-period.test Added baseline test for --period 2009-06-18 01:24:05 +01:00
opt-pivot.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-plot-amount-format.test Restored --plot-amount-format, --plot-total-format 2009-06-18 16:08:43 +01:00
opt-plot-total-format.test Restored --plot-amount-format, --plot-total-format 2009-06-18 16:08:43 +01:00
opt-prepend-format.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-prepend-width.test Ensure that all options are tested and documented 2010-06-15 18:19:54 -04:00
opt-price.test Reworked the way that <Rounding> entries are shown 2010-06-06 06:20:07 -04:00
opt-pricedb-format.test Fixed regression tests relating to b1d6ea876c 2009-11-24 04:15:21 -05:00
opt-prices-format.test Fixed regression tests relating to b1d6ea876c 2009-11-24 04:15:21 -05:00
opt-quantity.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-quarterly.test Added several more baseline tests 2009-02-21 02:24:41 -04:00
opt-raw.test Added more option baseline tests 2009-02-22 04:51:11 -04:00
opt-real.test Added baseline test for --real 2009-06-18 01:26:08 +01:00
opt-register-format.test Added baseline tests for --print,register-format 2009-06-18 16:12:27 +01:00
opt-related-all.test Added baseline tests for --related, --related-all 2009-06-18 16:20:22 +01:00
opt-related.test Added baseline tests for --related, --related-all 2009-06-18 16:20:22 +01:00
opt-revalued-only.test Added baseline test for --revalued-only 2009-02-23 02:28:26 -04:00
opt-revalued.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-seed.test.save Disabled the --seed regression test 2009-10-11 05:10:43 -04:00
opt-sort-all.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-sort-xacts.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-sort.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-start-of-week.test Added --start-of-week option, used with --weekly 2009-02-21 02:20:08 -04:00
opt-strict.test Do not implicitly sort register output 2010-03-17 00:49:11 -04:00
opt-subtotal.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-tail.test Added several more baseline tests 2009-02-21 02:24:41 -04:00
opt-total-data.test Added baseline: --subtotal, --total-data, --total 2009-06-21 18:08:55 +01:00
opt-total-width.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-total.test Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
opt-truncate.test Restored the --truncate option, added baseline test 2009-06-21 19:06:07 +01:00
opt-unbudgeted.test Added more option baseline tests 2009-02-22 04:51:11 -04:00
opt-uncleared.test Added several more baseline tests 2009-02-21 02:24:41 -04:00
opt-unrealized-gains.test Added baseline tests for unrealized options 2009-11-25 04:50:36 -05:00
opt-unrealized-losses.test Added baseline tests for unrealized options 2009-11-25 04:50:36 -05:00
opt-unrealized.test Added baseline tests for unrealized options 2009-11-25 04:50:36 -05:00
opt-unround.test Restored --unround, added baseline test 2009-06-21 18:37:39 +01:00
opt-weekly.test Added several more baseline tests 2009-02-21 02:24:41 -04:00
opt-weekly_empty.test Added variant baseline tests relating to --empty 2009-02-21 20:52:51 -04:00
opt-wide.test Column widths are always calculated now 2009-11-07 05:17:00 -05:00
opt-yearly.test Added several more baseline tests 2009-02-21 02:24:41 -04:00
test-sample.dat Added baseline test for "sample.dat" contents 2009-11-20 18:24:22 -05:00