From 2fc604402819d85a47f1a61f9fd4fb2a6bf75eb5 Mon Sep 17 00:00:00 2001 From: Andrey Ruzhanskiy <andrey.ruzhanskiy@tu-dresden.de> Date: Tue, 30 Jul 2019 16:43:10 +0200 Subject: [PATCH] Added new Resource File for tests. --- .../wrongPrinterModeExample.properties | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/test/resources/wrongPrinterModeExample.properties diff --git a/src/test/resources/wrongPrinterModeExample.properties b/src/test/resources/wrongPrinterModeExample.properties new file mode 100644 index 00000000..61e331d4 --- /dev/null +++ b/src/test/resources/wrongPrinterModeExample.properties @@ -0,0 +1,52 @@ +# JProperties Printer & Format Configuration +# +# Embosser: Dummy Printer +# Test Revision (19-07-18) (DON'T USE FOR PRINTING) +# +# Description: +# This is the main configuration file for use with the braille plot application +# when embossing with the 'Index Everest-D V4'. +# The configuration specifies the general printer abilities and defines +# pre-selectable formats for this embosser. +# +# https://gitlab.hrz.tu-chemnitz.de/s9444737--tu-dresden.de/brailleplot/wikis/Software%20Design#configuration-files +# ============================================================================= + +### General Printer Properties +### ========================== + +# Missing required property (not specified by default): +printer.name=Dummy Printer +printer.mode=normalprinterKek +printer.brailletable=src/test/resources/mapping.properties +printer.floatingDot.support=true +printer.floatingDot.resolution=0.05 + +# The following values represent the fixed indentation and maximum technical printing area of the embosser. +# If the outputs don't fit on the page you might want to tweak this values. (Check the format too.) +printer.constraint.top=5.0 +printer.constraint.left=0 + +# The following properties define the exact grid spacing. +printer.raster.cellDistance.horizontal=3.6 +printer.raster.cellDistance.vertical=4.8 +printer.raster.dotDistance.horizontal=2.5 +printer.raster.dotDistance.vertical=2.5 +printer.raster.dotDiameter=1.5 + +### Format Definitions +### ================== + +# A4 Format +format.A4.page.width=210 +format.A4.page.height=297 +format.A4.margin.left=0 + +# A5 Format +# Missing required property (not specified by default): +# format.A5.page.width=148 +format.A5.page.height=210 +format.A5.margin.top=0 +format.A5.margin.left=0 +format.A5.margin.bottom=0 +format.A5.margin.right=0 \ No newline at end of file -- GitLab