Thu, 24 May 2018 23:08:14 +0200
[prologix] implement more prologix commands and add API to register emulated devices
also refactor tests as generative tests using pytest's parametrized API.
45
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
1 | |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
2 | OE |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
3 | SC;OE |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
4 | OE |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
5 | OO;OE |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
6 | OE |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
7 | EC;OE |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
8 | EC0 |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
9 | OP |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
10 | ;SC0,1812,0,2047;PU;;VS;SR1.331,1.759;DI;LT;SP2;PA192,202,192,202;PD;PA194,202,196,202,198,202,200,202,202,202,204,202,206,202,208,202,210,202,212,202,214,202,216,202,218,202,220,202,222,202,224,202,226,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
11 | ;PA228,202,230,202,232,202,234,202,236,202,238,202,240,202,242,202,244,202,246,202,248,202,250,202,252,202,254,202,256,202,258,202,260,202,262,202,264,202,266,202,268,202,270,202,272,202,274,202,276,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
12 | ;PA278,202,280,202,282,202,284,202,286,202,288,202,290,202,292,202,294,202,296,202,298,202,300,202,302,202,304,202,306,202,308,202,310,202,312,202,314,202,316,202,318,202,320,202,322,202,324,202,326,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
13 | ;PA328,202,330,202,332,202,334,202,336,202,338,202,340,202,342,202,344,202,346,202,348,202,350,202,352,202,354,202,356,202,358,202,360,202,362,202,364,202,366,202,368,202,370,202,372,202,374,202,376,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
14 | ;PA378,202,380,202,382,202,384,202,386,202,388,202,390,202,392,202,394,202,396,202,398,202,400,202,402,202,404,202,406,202,408,202,410,202,412,202,414,202,416,202,418,202,420,202,422,202,424,202,426,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
15 | ;PA428,202,430,202,432,202,434,202,436,202,438,202,440,202,442,202,444,202,446,202,448,202,450,202,452,202,454,202,456,202,458,202,460,202,462,202,464,202,466,202,468,202,470,202,472,202,474,202,476,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
16 | ;PA478,202,480,202,482,202,484,202,486,202,488,202,490,202,492,202,494,202,496,202,498,202,500,202,502,202,504,202,506,202,508,202,510,202,512,202,514,202,516,202,518,202,520,202,522,202,524,202,526,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
17 | ;PA528,202,530,202,532,202,534,202,536,202,538,202,540,202,542,202,544,202,546,202,548,202,550,202,552,202,554,202,556,202,558,202,560,202,562,202,564,202,566,202,568,202,570,202,572,202,574,202,576,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
18 | ;PA578,202,580,202,582,202,584,202,586,202,588,202,590,202,592,202,594,202,596,202,598,202,600,202,602,202,604,202,606,202,608,202,610,202,612,202,614,202,616,202,618,202,620,202,622,202,624,202,626,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
19 | ;PA628,202,630,202,632,202,634,202,636,202,638,202,640,202,642,202,644,202,646,202,648,202,650,202,652,202,654,202,656,202,658,202,660,202,662,202,664,202,666,202,668,202,670,202,672,202,674,202,676,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
20 | ;PA678,202,680,202,682,202,684,202,686,202,688,202,690,202,692,202,694,202,696,202,698,202,700,202,702,202,704,202,706,202,708,202,710,202,712,202,714,202,716,202,718,202,720,202,722,202,724,202,726,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
21 | ;PA728,202,730,202,732,202,734,202,736,202,738,202,740,202,742,202,744,202,746,202,748,202,750,202,752,202,754,202,756,202,758,202,760,202,762,202,764,202,766,202,768,202,770,202,772,202,774,202,776,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
22 | ;PA778,202,780,202,782,202,784,202,786,202,788,202,790,202,792,202,794,202,796,202,798,202,800,202,802,202,804,202,806,202,808,202,810,202,812,202,814,202,816,202,818,202,820,202,822,202,824,202,826,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
23 | ;PA828,202,830,202,832,202,834,202,836,202,838,202,840,202,842,202,844,202,846,202,848,202,850,202,852,202,854,202,856,202,858,202,860,202,862,202,864,202,866,202,868,202,870,202,872,202,874,202,876,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
24 | ;PA878,202,880,202,882,202,884,202,886,202,888,202,890,202,892,202,894,202,896,202,898,202,900,202,902,202,904,202,906,202,908,202,910,202,912,202,914,202,916,202,918,202,920,202,922,202,924,202,926,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
25 | ;PA928,202,930,202,932,202,934,202,936,202,938,202,940,202,942,202,944,202,946,202,948,202,950,202,952,202,954,202,956,202,958,202,960,202,962,202,964,202,966,202,968,202,970,202,972,202,974,202,976,205; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
26 | ;PA978,202,980,207,982,213,984,202,986,215,988,209,990,1458,992,1582,994,1458,996,216,998,202,1000,216,1002,202,1004,205,1006,202,1008,202,1010,202,1012,202,1014,202,1016,202,1018,202,1020,202,1022,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
27 | ;PA1024,202,1026,202,1028,202,1030,202,1032,202,1034,202,1036,202,1038,202,1040,202,1042,202,1044,202,1046,202,1048,202,1050,202,1052,202,1054,202,1056,202,1058,202,1060,202,1062,202,1064,202,1066,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
28 | ;PA1068,202,1070,202,1072,202,1074,202,1076,202,1078,202,1080,202,1082,202,1084,202,1086,202,1088,202,1090,202,1092,202,1094,202,1096,202,1098,202,1100,202,1102,202,1104,202,1106,202,1108,202,1110,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
29 | ;PA1112,202,1114,202,1116,202,1118,202,1120,202,1122,202,1124,202,1126,202,1128,202,1130,202,1132,202,1134,202,1136,202,1138,202,1140,202,1142,202,1144,202,1146,202,1148,202,1150,202,1152,202,1154,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
30 | ;PA1156,202,1158,202,1160,202,1162,202,1164,202,1166,202,1168,202,1170,202,1172,202,1174,202,1176,202,1178,202,1180,202,1182,202,1184,202,1186,202,1188,202,1190,202,1192,202,1194,202,1196,202,1198,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
31 | ;PA1200,202,1202,202,1204,202,1206,202,1208,202,1210,202,1212,202,1214,202,1216,202,1218,202,1220,202,1222,202,1224,202,1226,202,1228,202,1230,202,1232,202,1234,202,1236,202,1238,202,1240,202,1242,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
32 | ;PA1244,202,1246,202,1248,202,1250,202,1252,202,1254,202,1256,202,1258,202,1260,202,1262,202,1264,202,1266,202,1268,202,1270,202,1272,202,1274,202,1276,202,1278,202,1280,202,1282,202,1284,202,1286,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
33 | ;PA1288,202,1290,202,1292,202,1294,202,1296,202,1298,202,1300,202,1302,202,1304,202,1306,202,1308,202,1310,202,1312,202,1314,202,1316,202,1318,202,1320,202,1322,202,1324,202,1326,202,1328,202,1330,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
34 | ;PA1332,202,1334,202,1336,202,1338,202,1340,202,1342,202,1344,202,1346,202,1348,202,1350,202,1352,202,1354,202,1356,202,1358,202,1360,202,1362,202,1364,202,1366,202,1368,202,1370,202,1372,202,1374,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
35 | ;PA1376,202,1378,202,1380,202,1382,202,1384,202,1386,202,1388,202,1390,202,1392,202,1394,202,1396,202,1398,202,1400,202,1402,202,1404,202,1406,202,1408,202,1410,202,1412,202,1414,202,1416,202,1418,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
36 | ;PA1420,202,1422,202,1424,202,1426,202,1428,202,1430,202,1432,202,1434,202,1436,202,1438,202,1440,202,1442,202,1444,202,1446,202,1448,202,1450,202,1452,202,1454,202,1456,202,1458,202,1460,202,1462,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
37 | ;PA1464,202,1466,202,1468,202,1470,202,1472,202,1474,202,1476,202,1478,202,1480,202,1482,202,1484,202,1486,202,1488,202,1490,202,1492,202,1494,202,1496,202,1498,202,1500,202,1502,202,1504,202,1506,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
38 | ;PA1508,202,1510,202,1512,202,1514,202,1516,202,1518,202,1520,202,1522,202,1524,202,1526,202,1528,202,1530,202,1532,202,1534,202,1536,202,1538,202,1540,202,1542,202,1544,202,1546,202,1548,202,1550,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
39 | ;PA1552,202,1554,202,1556,202,1558,202,1560,202,1562,202,1564,202,1566,202,1568,202,1570,202,1572,202,1574,202,1576,202,1578,202,1580,202,1582,202,1584,202,1586,202,1588,202,1590,202,1592,202,1594,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
40 | ;PA1596,202,1598,202,1600,202,1602,202,1604,202,1606,202,1608,202,1610,202,1612,202,1614,202,1616,202,1618,202,1620,202,1622,202,1624,202,1626,202,1628,202,1630,202,1632,202,1634,202,1636,202,1638,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
41 | ;PA1640,202,1642,202,1644,202,1646,202,1648,202,1650,202,1652,202,1654,202,1656,202,1658,202,1660,202,1662,202,1664,202,1666,202,1668,202,1670,202,1672,202,1674,202,1676,202,1678,202,1680,202,1682,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
42 | ;PA1684,202,1686,202,1688,202,1690,202,1692,202,1694,202,1696,202,1698,202,1700,202,1702,202,1704,202,1706,202,1708,202,1710,202,1712,202,1714,202,1716,202,1718,202,1720,202,1722,202,1724,202,1726,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
43 | ;PA1728,202,1730,202,1732,202,1734,202,1736,202,1738,202,1740,202,1742,202,1744,202,1746,202,1748,202,1750,202,1752,202,1754,202,1756,202,1758,202,1760,202,1762,202,1764,202,1766,202,1768,202,1770,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
44 | ;PA1772,202,1774,202,1776,202,1778,202,1780,202,1782,202,1784,202,1786,202,1788,202,1790,202,1792,202;PU;SP1;LT;PA192,202;PD;PA1794,202;PU;PA192,1853;PD;PA1794,1853;PU;PA192,202;PD;PA192,1853;PU;PA1794,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
45 | ;PD;PA1794,1853;LT;PU;PA352,202;PD;PA352,1853;PU;PA512,202;PD;PA512,1853;PU;PA672,202;PD;PA672,1853;PU;PA832,202;PD;PA832,1853;PU;PA992,202;PD;PA992,1853;PU;PA1153,202;PD;PA1153,1853;PU;PA1313,202;PD;PA1313,1853; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
46 | ;PU;PA1473,202;PD;PA1473,1853;PU;PA1633,202;PD;PA1633,1853;LT;PU;PA192,408;PD;PA1794,408;PU;PA192,614;PD;PA1794,614;PU;PA192,821;PD;PA1794,821;PU;PA192,1027;PD;PA1794,1027;PU;PA192,1233;PD;PA1794,1233; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
47 | ;PU;PA192,1440;PD;PA1794,1440;PU;PA192,1646;PD;PA1794,1646;PU;SP2;LT;PA4,1036;LBdBPA4,820;LBrmsPA4,748;LBVPU;CP0,.25;LB2PA4,256;LB-70.0PA4,202;LB PA4,1816;LB 10.0PA4,1762;LB PA4,1582;LB |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
48 | ;LB10.0PA4,1528;LB PA4,1456;LB /DivSP2;LT;PA4,148;LBFxd YPA216,148;LB1.999744kPA968,148;LBHzPA1469,148;LB2.000256kSP2;LT;PA4,1870;LB PA922,1870;LB 0%OvlpPA1228,1870;LBHannPA40,1870;LBPOW |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
49 | ;LBER SPEC2PU;SP;PA1812,2047;SC;EC0; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
50 | OE |