Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions data/controller_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ def test_ControllerData(self):

for controller in self.data[esta_id]:
name = controller['name']
self.assertNotEqual(name, "",
("Name for a controller with ESTA ID 0x%04x is "
"blank" % esta_id))
self.assertNotIn(name, seen_names,
"Name %s for ESTA ID 0x%04x is present twice" % (name, esta_id))
seen_names.add(name)
Expand Down
26 changes: 26 additions & 0 deletions data/manufacturer_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@
(0x01DE, "Guangzhou Baiyun Xinxiang Lighting Equipment Factory (XPRO LIGHT)"),
(0x01DF, "GuangZhou Dream Lighting Equipment Co., Ltd."),
(0x01E0, "IBN Labs Ltd."),
(0x01F2, "F111 Studio Design"),
(0x0200, "Lighting Infusion LLC"),
(0x0201, "Blinkinlabs, LLC"),
(0x0202, "Paul Heuts"),
Expand Down Expand Up @@ -334,6 +335,7 @@
(0x03A8, "ARTFOX"),
(0x03AA, "AIGA Electronic (GuangZhou) Co., Ltd."),
(0x03AB, "ABMICROLONDON"),
(0x03AE, "VLITES"),
(0x03C6, "NYSOFT"),
(0x03CE, "MVI LLC"),
(0x03D5, "eX Systems"),
Expand Down Expand Up @@ -382,6 +384,7 @@
(0x04D8, "Guangzhou Hong Yuan Electronic Technology Co., LTD."),
(0x04DC, "Modern Stage Service Projects"),
(0x04DD, "Topstriving Photoelectricity Technology Co., Ltd."),
(0x04DE, "Enzo Dubocage"),
(0x04E2, "TOKI CORPORATION"),
(0x04E6, "Kelvix"),
(0x04EA, "Promin"),
Expand Down Expand Up @@ -523,6 +526,7 @@
(0x06D2, "LIGHTSTAR (BEIJING) ELECTRONIC CORPORATION"),
(0x06D3, "Boerner Distribution International GmbH"),
(0x06D4, "LED House Co., Ltd."),
(0x06D6, "Kinora SAS"),
(0x06D8, "GUANGZHOU SUN-YUN TECHNOLOGY CO.,LTD"),
(0x06D9, "ELECTROCONCEPT SARL"),
(0x06DC, "SOMPI2.0 BV"),
Expand Down Expand Up @@ -561,6 +565,7 @@
(0x071F, "Moss LED Inc"),
(0x0720, "Twoloox GmbH"),
(0x0724, "PHC Lighting & BMS Sp. z o.o."),
(0x0729, "S.C. Electro Max SRL"),
(0x072B, "NEWSUBSTANCE Ltd."),
(0x072C, "SGM A/S"),
(0x072D, "Sting Alleman"),
Expand All @@ -576,6 +581,7 @@
(0x0748, "Chromateq"),
(0x074F, "Panasonic Electric Works Co., Ltd."),
(0x0753, "F&V Europe B.V."),
(0x0754, "Guangzhou Lightlion Lighting Control Technology Co., LTD"),
(0x0758, "IMPOLUX GmbH"),
(0x075E, "TEKNiTS Middle East FZ LLC"),
(0x075F, "LEDEngin Inc."),
Expand Down Expand Up @@ -732,6 +738,7 @@
(0x084F, "Mantic Lighting Co.,Ltd"),
(0x0850, "Proland Group, LLC"),
(0x0851, "Junction Inc. Ltd"),
(0x0852, "SHD Systems Ltd"),
(0x0853, "Royal Ballet and Opera"),
(0x0854, "Sharp NEC Display Solutions, Ltd."),
(0x0855, "GODOX Photo Equipment Co., Ltd."),
Expand Down Expand Up @@ -774,6 +781,7 @@
(0x087F, "Premier Sports Lighting, LLC"),
(0x0880, "GuangZhou LiDang Technology Inc."),
(0x0881, "Shenzhen Genesis-Systech Co., Ltd."),
(0x0882, "Beamtec Limited Co."),
(0x0883, "CEE Lighting Equipment Co.Ltd"),
(0x0884, "Bright Group"),
(0x0885, "SIRS-E"),
Expand Down Expand Up @@ -1144,7 +1152,9 @@
(0x125A, "Dongguan Xuancaixin Optoelectronic Technology Co., Ltd."),
(0x1268, "Frontside Technology Services"),
(0x126C, "Pravdin Vitalii Fedotovych FOP"),
(0x1272, "Meros Inc"),
(0x127E, "Symphony Interactive Inc"),
(0x128E, "Simplyworks GmbH Buhnen- & Medientechnik"),
(0x12B0, "Novoshine Semiconductor Technology Co., Ltd."),
(0x12DA, "Newlab S.r.l."),
(0x12E0, "Luxlight Skandinavien AB"),
Expand All @@ -1157,6 +1167,7 @@
(0x134D, "VT-Control"),
(0x1370, "Ingenieurbuero Stahlkopf"),
(0x13AE, "Smartpark Creative Solutions"),
(0x145E, "ASTEL d.o.o."),
(0x1460, "SEIKO Epson Corporation"),
(0x1464, "HUMAL Elektroonika OU"),
(0x1489, "ORVIT Entertainment Inc."),
Expand Down Expand Up @@ -1205,7 +1216,10 @@
(0x1900, "ADJ Products LLC"),
(0x1901, "Zhongshan Hiline Electronics Co., Ltd."),
(0x1902, "STAGEVision tech"),
(0x190E, "Creetiv Technology Co., Ltd."),
(0x1938, "Solid State Luminaires"),
(0x1941, "Ikan International, LLC"),
(0x1956, "Caligri GmbH"),
(0x1998, "PLS Electronics Ltd."),
(0x19A7, "Djip Co Industries"),
(0x19B3, "Stage Audio Works"),
Expand All @@ -1217,19 +1231,27 @@
(0x19E0, "Illusion Universe Co. Ltd."),
(0x19F8, "CEZOS Spolka z ograniczona odpowiedzialnoscia, sp.k."),
(0x1A00, "LIGEO GmbH"),
(0x1A01, "Del Innovation Design Inc."),
(0x1A0D, "Cineo Lighting"),
(0x1A16, "WADAK GmbH"),
(0x1A1A, "ValDim Waterfountains Ltd."),
(0x1A3D, "Red Lighting s.r.l."),
(0x1A46, "StageMatter"),
(0x1A55, "Hangzhou Shixu Digital Technology Co., Ltd."),
(0x1A58, "Wuxi Seastar Lighting Co.,Ltd."),
(0x1AAF, "Gigacolor technology Co., Ltd."),
(0x1AE2, "Jonas Ruter"),
(0x1AFA, "TMB"),
(0x1AFD, "Shenzhen ZMO Information Technology Co., Ltd."),
(0x1B03, "Spherical Goat"),
(0x1B0C, "Guangdong Jingran Lighting Control Technology Co., Ltd."),
(0x1B6F, "Guangzhou Bojiang Optoelectronics Co., Ltd."),
(0x1B7B, "Guangzhou Jingran Intelligent Technology Co., Ltd."),
(0x1B7E, "Kaltech Lighting Systems"),
(0x1B9C, "Vossloh-Schwabe Deutschland GmbH"),
(0x1BAB, "Guangzhou Weiyuan Electron Technology Co., Ltd."),
(0x1BB1, "PH Lightning AB"),
(0x1BBD, "Electroniques et Spectacle"),
(0x1BC0, "ALS Stanislaw Binkiewicz"),
(0x1BC6, "Studio S Music City"),
(0x1C80, "Vehtec Tecnologia Ltda"),
Expand Down Expand Up @@ -1407,6 +1429,7 @@
(0x4241, "BECKHOFF Automation GmbH"),
(0x4243, "Bill Coghill Company : Bill Coghill Design"),
(0x4245, "Bytecraft Entertainment Pty Ltd"),
(0x424C, "BL Lighting"),
(0x424F, "BOTEX"),
(0x4253, "Barco"),
(0x42A2, "Birket Engineering, Inc."),
Expand Down Expand Up @@ -1496,6 +1519,7 @@
(0x4A31, "Joshua 1 Systems Inc."),
(0x4A41, "JANUS srl"),
(0x4A42, "JB-lighting GmbH"),
(0x4A43, "JCNet Co.,Ltd."),
(0x4A48, "James Harris"),
(0x4A4C, "Johnsson Lighting Technologies AB"),
(0x4A53, "JSC 'MFG'"),
Expand All @@ -1511,6 +1535,7 @@
(0x4B55, "kuwatec, Inc."),
(0x4C20, "LAM32 srl"),
(0x4C41, "LaserAnimation Sollinger GmbH"),
(0x4C43, "LC Formation"),
(0x4C44, "LVDIAN PHOTOELECTRIC SCIENCE TECHNOLOGY LIMITED"),
(0x4C45, "Leviton Manufacturing Co., Inc."),
(0x4C47, "LightGeist Ltd."),
Expand Down Expand Up @@ -1783,6 +1808,7 @@
(0x7900, "Leprecon / CAE, Inc."),
(0x790D, "Guangzhou Shengyuan Electronic Technology Co., Ltd"),
(0x79BC, "DC Reactive"),
(0x7A1E, "WEAREONE.world BV"),
(0x7A70, "Open Lighting"),
(0x7AA0, "Anaren Inc."),
(0x7AAA, "WEAD (Wagner Electronic and Design)"),
Expand Down
2 changes: 2 additions & 0 deletions data/manufacturer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ def test_ManufacturerData(self):
esta_id, name = manufacturer_data
self.assertEqual(int, type(esta_id))
self.assertEqual(str, type(name))
self.assertNotEqual(name, "", ("Name for ESTA ID 0x%04x is blank" %
esta_id))
# check the ESTA ID is valid, special case for their 0xffff listing...
self.assertTrue(((esta_id <= 0x7fff) or (esta_id == 0xffff)),
("ESTA ID 0x%04x is greater than the largest allowed ID "
Expand Down
3 changes: 3 additions & 0 deletions data/node_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ def test_NodeData(self):

for node in self.data[esta_id]:
name = node['name']
self.assertNotEqual(name, "",
("Name for a node with ESTA ID 0x%04x is "
"blank" % esta_id))
self.assertNotIn(name, seen_names,
"Name %s for ESTA ID 0x%04x is present twice" % (name, esta_id))
seen_names.add(name)
Expand Down
3 changes: 3 additions & 0 deletions data/product_category_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ def test_ProductCategoryData(self):
self.assertEqual(str, type(category))
self.assertEqual(int, type(category_id))

self.assertNotEqual(category, "",
("Category ID 0x%04x is blank" % category_id))

self.assertNotIn(category_id, seen_category_ids)
seen_category_ids.add(category_id)

Expand Down
3 changes: 3 additions & 0 deletions data/sensor_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ def test_SensorTypeData(self):
self.assertEqual(int, type(sensor_type_id))
self.assertEqual(str, type(name))

self.assertNotEqual(name, "", ("Sensor Name for type 0x%02x is blank" %
sensor_type_id))

self.assertNotIn(name, seen_names,
"Sensor Name %s is present twice" % name)
seen_names.add(name)
Expand Down
3 changes: 3 additions & 0 deletions data/software_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ def test_SoftwareData(self):

for software in self.data[esta_id]:
name = software['name']
self.assertNotEqual(name, "",
("Name for software with ESTA ID 0x%04x is blank" %
esta_id))
self.assertNotIn(name, seen_names,
"Name %s for ESTA ID 0x%04x is present twice" % (name, esta_id))
seen_names.add(name)
Expand Down
3 changes: 3 additions & 0 deletions data/splitter_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ def test_SplitterData(self):

for splitter in self.data[esta_id]:
name = splitter['name']
self.assertNotEqual(name, "",
("Name for a splitter with ESTA ID 0x%04x is "
"blank" % esta_id))
self.assertNotIn(name, seen_names,
"Name %s for ESTA ID 0x%04x is present twice" % (name, esta_id))
seen_names.add(name)
Expand Down
Loading