~ubuntu-branches/ubuntu/lucid/skrooge/lucid

« back to all changes in this revision

Viewing changes to skgbankmodelertest/skgtestbankandaccount.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Mercatante
  • Date: 2010-02-07 19:00:01 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20100207190001-apq0bzl80p0tyr8s
Tags: 0.6.0-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/***************************************************************************
2
 
 *   Copyright (C) 2008 by S. MANKOWSKI / G. DE BURE skrooge@miraks.com    *
 
2
 *   Copyright (C) 2008 by S. MANKOWSKI / G. DE BURE skrooge@mankowski.fr  *
3
3
 *                                                                         *
4
4
 *   This program is free software; you can redistribute it and/or modify  *
5
5
 *   it under the terms of the GNU General Public License as published by  *
129
129
                        SKGTESTERROR("BANK:getAccounts",bank2.getAccounts(oAccountList), true);
130
130
                        SKGTEST("ACCOUNT:count", oAccountList.count(), 0);
131
131
 
132
 
                        SKGTEST("ACCOUNT:isClosed", account3.isClosed(), false);
 
132
                        SKGTEST("ACCOUNT:isBookmarked", account3.isBookmarked(), false);
 
133
                        SKGTESTERROR("ACCOUNT:bookmark",account3.bookmark(true), true);
 
134
                        SKGTEST("ACCOUNT:isBookmarked", account3.isBookmarked(), true);
 
135
 
 
136
                        SKGTEST("ACCOUNT:isClosed", account3.isClosed(), false);
133
137
                        SKGTESTERROR("ACCOUNT:setClosed",account3.setClosed(true), true);
134
138
                        SKGTEST("ACCOUNT:isClosed", account3.isClosed(), true);
135
 
                        SKGTESTERROR("ACCOUNT:save",account3.save(), true);
 
139
 
 
140
                        SKGTESTERROR("ACCOUNT:save",account3.save(), true);
136
141
 
137
142
                        SKGTESTERROR("DOC:dump",document1.dump(DUMPALL), true);
138
 
 
139
143
                }
140
144
        }
141
145