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;SP1;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,225,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,225,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,225,336,202,338,202,340,202,342,202,344,225,346,202,348,202,350,202,352,202,354,225,356,225,358,225,360,225,362,202,364,202,366,202,368,225,370,202,372,202,374,225,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,225,380,202,382,202,384,225,386,202,388,225,390,202,392,225,394,202,396,225,398,202,400,225,402,202,404,202,406,225,408,202,410,202,412,202,414,225,416,225,418,202,420,202,422,202,424,225,426,225; |
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,225,432,202,434,202,436,225,438,225,440,225,442,225,444,225,446,225,448,225,450,225,452,202,454,225,456,225,458,225,460,202,462,225,464,225,466,225,468,254,470,225,472,202,474,264,476,415; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
16 | ;PA478,254,480,254,482,225,484,225,486,254,488,225,490,225,492,225,494,254,496,225,498,225,500,225,502,225,504,225,506,225,508,225,510,225,512,254,514,254,516,254,518,225,520,254,522,254,524,254,526,225; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
17 | ;PA528,254,530,254,532,254,534,254,536,254,538,254,540,254,542,254,544,306,546,254,548,254,550,225,552,254,554,254,556,254,558,254,560,254,562,254,564,225,566,225,568,254,570,254,572,254,574,254,576,284; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
18 | ;PA578,264,580,254,582,254,584,284,586,254,588,284,590,284,592,284,594,284,596,284,598,284,600,284,602,284,604,306,606,284,608,284,610,306,612,283,614,283,616,283,618,264,620,311,622,311,624,283,626,311; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
19 | ;PA628,284,630,284,632,283,634,311,636,311,638,328,640,311,642,311,644,311,646,311,648,311,650,311,652,311,654,311,656,311,658,311,660,311,662,311,664,336,666,328,668,311,670,349,672,336,674,349,676,328; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
20 | ;PA678,328,680,336,682,336,684,369,686,349,688,349,690,349,692,349,694,369,696,369,698,369,700,369,702,369,704,349,706,381,708,369,710,379,712,388,714,388,716,359,718,379,720,369,722,388,724,388,726,388; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
21 | ;PA728,388,730,388,732,388,734,405,736,405,738,405,740,405,742,405,744,405,746,441,748,428,750,428,752,421,754,405,756,421,758,421,760,455,762,421,764,428,766,455,768,442,770,460,772,441,774,467,776,467; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
22 | ;PA778,467,780,455,782,483,784,483,786,483,788,490,790,483,792,472,794,508,796,510,798,512,800,513,802,512,804,517,806,513,808,534,810,531,812,550,814,542,816,570,818,565,820,567,822,561,824,577,826,578; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
23 | ;PA828,597,830,597,832,627,834,626,836,630,838,645,840,637,842,650,844,666,846,680,848,677,850,704,852,712,854,729,856,752,858,760,860,794,862,839,864,836,866,872,868,900,870,972,872,961,874,1286,876,1696; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
24 | ;PA878,1279,880,983,882,957,884,896,886,869,888,819,890,843,892,798,894,750,896,747,898,734,900,711,902,702,904,674,906,667,908,672,910,652,912,631,914,635,916,636,918,619,920,632,922,595,924,596,926,583; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
25 | ;PA928,577,930,565,932,561,934,561,936,559,938,544,940,550,942,535,944,534,946,525,948,515,950,504,952,514,954,492,956,505,958,504,960,482,962,482,964,484,966,481,968,482,970,481,972,457,974,468,976,455; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
26 | ;PA978,468,980,457,982,441,984,455,986,443,988,441,990,428,992,425,994,425,996,443,998,408,1000,425,1002,425,1004,425,1006,425,1008,408,1010,408,1012,425,1014,408,1016,408,1018,408,1020,389,1022,389,1024,389; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
27 | ;PA1026,389,1028,389,1030,389,1032,369,1034,368,1036,368,1038,389,1040,368,1042,390,1044,368,1046,389,1048,344,1050,368,1052,368,1054,368,1056,368,1058,368,1060,368,1062,368,1064,368,1066,344,1068,368; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
28 | ;PA1070,345,1072,344,1074,316,1076,344,1078,344,1080,345,1082,344,1084,318,1086,316,1088,344,1090,345,1092,318,1094,318,1096,316,1098,316,1100,316,1102,319,1104,287,1106,316,1108,318,1110,319,1112,316; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
29 | ;PA1114,287,1116,319,1118,316,1120,287,1122,318,1124,318,1126,287,1128,287,1130,316,1132,287,1134,287,1136,249,1138,287,1140,287,1142,287,1144,283,1146,287,1148,287,1150,287,1152,287,1154,283,1156,287; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
30 | ;PA1158,287,1160,287,1162,287,1164,287,1166,287,1168,287,1170,249,1172,287,1174,249,1176,263,1178,287,1180,287,1182,249,1184,249,1186,249,1188,249,1190,249,1192,287,1194,287,1196,249,1198,249,1200,249; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
31 | ;PA1202,249,1204,263,1206,249,1208,249,1210,249,1212,249,1214,249,1216,249,1218,249,1220,249,1222,249,1224,249,1226,249,1228,249,1230,202,1232,249,1234,263,1236,249,1238,263,1240,249,1242,249,1244,249; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
32 | ;PA1246,249,1248,249,1250,249,1252,202,1254,249,1256,249,1258,202,1260,249,1262,225,1264,202,1266,249,1268,249,1270,264,1272,225,1274,202,1276,455,1278,243,1280,243,1282,202,1284,202,1286,202,1288,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
33 | ;PA1290,249,1292,202,1294,249,1296,202,1298,202,1300,225,1302,202,1304,202,1306,264,1308,202,1310,202,1312,202,1314,202,1316,202,1318,202,1320,202,1322,202,1324,202,1326,202,1328,202,1330,202,1332,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
34 | ;PA1334,202,1336,202,1338,202,1340,202,1342,202,1344,202,1346,202,1348,225,1350,202,1352,202,1354,202,1356,202,1358,225,1360,202,1362,202,1364,202,1366,225,1368,202,1370,202,1372,202,1374,225,1376,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
35 | ;PA1378,202,1380,225,1382,202,1384,202,1386,202,1388,202,1390,202,1392,202,1394,202,1396,202,1398,202,1400,225,1402,202,1404,202,1406,202,1408,202,1410,202,1412,202,1414,202,1416,202,1418,202,1420,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
36 | ;PA1422,202,1424,202,1426,202,1428,202,1430,202,1432,225,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,225,1460,202,1462,202,1464,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
37 | ;PA1466,225,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,1508,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
38 | ;PA1510,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,1552,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
39 | ;PA1554,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,1596,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
40 | ;PA1598,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,1640,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
41 | ;PA1642,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,1684,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
42 | ;PA1686,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,1728,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
43 | ;PA1730,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,1772,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
44 | ;PA1774,202,1776,202,1778,202,1780,202,1782,202,1784,202,1786,202,1788,202,1790,202,1792,202;PU;SP3;LT;PA192,202;PD;PA1794,202;PU;PA192,1853;PD;PA1794,1853;PU;PA192,202;PD;PA192,1853;PU;PA1794,202;PD;PA1794,1853; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
45 | ;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;PU;PA1473,202; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
46 | ;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;PU;PA192,1440; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
47 | ;PD;PA1794,1440;PU;PA192,1646;PD;PA1794,1646;PU;SP4;LT;PA4,1036;LBdBPA4,820;LBrmsPA4,748;LBVPA4,256;LB-60.0PA4,202;LB PA4,1816;LB 20.0PA4,1762;LB PA4,1582;LB 10.0PA4,1528;LB PA4,1456; |
cafc62915d39
added many HPGL example plots (for the sake of testing mainly)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
48 | ;LB /DivSP4;LT;PA4,148;LBFxdXYPA216,148;LB5.185kPA968,148;LBHzPA1577,148;LB5.385kSP4;LT;PA4,1870;LB PA922,1870;LB 0%OvlpPA1228,1870;LBUnifPA40,1870;LBFILT LIN S1PU;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
|
49 | OE |