| 1 |
// -*- C++ -*- |
| 2 |
// $Id: TestLabelManagerDriver.h 4759 2008-06-19 19:02:27Z vbuzuev $ |
| 3 |
|
| 4 |
// DYMO LabelWriter Drivers |
| 5 |
// Copyright (C) 2008 Sanford L.P. |
| 6 |
|
| 7 |
// This program is free software; you can redistribute it and/or |
| 8 |
// modify it under the terms of the GNU General Public License |
| 9 |
// as published by the Free Software Foundation; either version 2 |
| 10 |
// of the License, or (at your option) any later version. |
| 11 |
|
| 12 |
// This program is distributed in the hope that it will be useful, |
| 13 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
// GNU General Public License for more details. |
| 16 |
|
| 17 |
// You should have received a copy of the GNU General Public License |
| 18 |
// along with this program; if not, write to the Free Software |
| 19 |
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 20 |
|
| 21 |
#ifndef h89cd8614_1576_42a1_a747_8ce1ccab21c3 |
| 22 |
#define h89cd8614_1576_42a1_a747_8ce1ccab21c3 |
| 23 |
|
| 24 |
#include <cppunit/extensions/HelperMacros.h> |
| 25 |
#include "../LabelManagerDriver.h" |
| 26 |
|
| 27 |
class LabelManagerDriverTest: public CPPUNIT_NS::TestFixture |
| 28 |
{ |
| 29 |
CPPUNIT_TEST_SUITE(LabelManagerDriverTest); |
| 30 |
|
| 31 |
//CPPUNIT_TEST(testPrologEpilogCommand); |
| 32 |
CPPUNIT_TEST(testEmptyLines); |
| 33 |
CPPUNIT_TEST(testEmptyLinesAtEnd); |
| 34 |
CPPUNIT_TEST(testDotTab); |
| 35 |
CPPUNIT_TEST(testCutAndChainMarks); |
| 36 |
CPPUNIT_TEST(testAlignment); |
| 37 |
CPPUNIT_TEST(testMinPageLength); |
| 38 |
CPPUNIT_TEST(testReverseData); |
| 39 |
CPPUNIT_TEST(testContinuousPaper); |
| 40 |
CPPUNIT_TEST(testAutoPaper); |
| 41 |
CPPUNIT_TEST(testShiftData); |
| 42 |
CPPUNIT_TEST(testMaxPrintableWidth); |
| 43 |
CPPUNIT_TEST(testTapeAlignmentOffset); |
| 44 |
|
| 45 |
|
| 46 |
CPPUNIT_TEST_SUITE_END(); |
| 47 |
|
| 48 |
public: |
| 49 |
void setUp(); |
| 50 |
void tearDown(); |
| 51 |
|
| 52 |
//void testPrologEpilogCommand(); |
| 53 |
void testEmptyLines(); |
| 54 |
void testEmptyLinesAtEnd(); |
| 55 |
void testDotTab(); |
| 56 |
void testCutAndChainMarks(); |
| 57 |
void testAlignment(); |
| 58 |
void testMinPageLength(); |
| 59 |
void testReverseData(); |
| 60 |
void testContinuousPaper(); |
| 61 |
void testAutoPaper(); |
| 62 |
void testShiftData(); |
| 63 |
void testMaxPrintableWidth(); |
| 64 |
void testTapeAlignmentOffset(); |
| 65 |
|
| 66 |
}; |
| 67 |
|
| 68 |
#endif |
| 69 |
|
| 70 |
/* |
| 71 |
* End of "$Id: TestLabelManagerDriver.h 4759 2008-06-19 19:02:27Z vbuzuev $". |
| 72 |
*/ |
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
|