summaryrefslogtreecommitdiff
path: root/test/baseline/opt-rich-data.test
blob: 2b86a8730214ff9ba89b1f19cccb66ecf22af5f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
test -f /dev/null convert test/baseline/feat-convert-with-directives.dat --now '2014/08/01'
2012/01/01 * KFC
    Expenses:Unknown                             $10
    Equity:Unknown

2012/01/02 * REWE SAGT DANKE  123454321
    Expenses:Unknown                             10€
    Equity:Unknown
end test

test -f /dev/null convert test/baseline/feat-convert-with-directives.dat --detail --now '2014/08/01'
2012/01/01 * KFC
    ; CSV: 2012/01/01,KFC,$10
    ; Imported: 2014/08/01
    ; UUID: 4352cc5a03f882f6f159b90a518667bde7200351
    Expenses:Unknown                             $10
    Equity:Unknown

2012/01/02 * REWE SAGT DANKE  123454321
    ; CSV: 2012/01/02,"REWE SAGT DANKE  123454321",10€
    ; Imported: 2014/08/01
    ; UUID: 4d04439fba0c7336377d1191c545efd0cfa15437
    Expenses:Unknown                             10€
    Equity:Unknown
end test

test -f /dev/null convert test/baseline/feat-convert-with-directives.dat --rich-data --date-format %d-%m-%Y --now '2014/08/01'
01-01-2012 * KFC
    ; CSV: 2012/01/01,KFC,$10
    ; Imported: 01-08-2014
    ; UUID: 4352cc5a03f882f6f159b90a518667bde7200351
    Expenses:Unknown                             $10
    Equity:Unknown

02-01-2012 * REWE SAGT DANKE  123454321
    ; CSV: 2012/01/02,"REWE SAGT DANKE  123454321",10€
    ; Imported: 01-08-2014
    ; UUID: 4d04439fba0c7336377d1191c545efd0cfa15437
    Expenses:Unknown                             10€
    Equity:Unknown
end test