From 73462501f04fe423bc3b4ec232dba710ee551e2b Mon Sep 17 00:00:00 2001 From: Lars Amsel Date: Thu, 5 Dec 2019 15:43:06 +0100 Subject: mpm: add unit tests for EEPROM readers --- mpm/python/tests/eeprom_tests/empty.eeprom | 0 mpm/python/tests/eeprom_tests/legacy_mboard_v1.eeprom | Bin 0 -> 256 bytes mpm/python/tests/eeprom_tests/legacy_mboard_v2.eeprom | Bin 0 -> 256 bytes mpm/python/tests/eeprom_tests/legacy_mboard_v3.eeprom | Bin 0 -> 256 bytes mpm/python/tests/eeprom_tests/tlv_multiple.eeprom | Bin 0 -> 256 bytes mpm/python/tests/eeprom_tests/tlv_single.eeprom | Bin 0 -> 256 bytes mpm/python/tests/eeprom_tests/tlv_unknown_tagmap.eeprom | Bin 0 -> 256 bytes mpm/python/tests/eeprom_tests/tlv_wrong_maplen.eeprom | Bin 0 -> 256 bytes 8 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 mpm/python/tests/eeprom_tests/empty.eeprom create mode 100644 mpm/python/tests/eeprom_tests/legacy_mboard_v1.eeprom create mode 100644 mpm/python/tests/eeprom_tests/legacy_mboard_v2.eeprom create mode 100644 mpm/python/tests/eeprom_tests/legacy_mboard_v3.eeprom create mode 100644 mpm/python/tests/eeprom_tests/tlv_multiple.eeprom create mode 100644 mpm/python/tests/eeprom_tests/tlv_single.eeprom create mode 100644 mpm/python/tests/eeprom_tests/tlv_unknown_tagmap.eeprom create mode 100644 mpm/python/tests/eeprom_tests/tlv_wrong_maplen.eeprom (limited to 'mpm/python/tests/eeprom_tests') diff --git a/mpm/python/tests/eeprom_tests/empty.eeprom b/mpm/python/tests/eeprom_tests/empty.eeprom new file mode 100644 index 000000000..e69de29bb diff --git a/mpm/python/tests/eeprom_tests/legacy_mboard_v1.eeprom b/mpm/python/tests/eeprom_tests/legacy_mboard_v1.eeprom new file mode 100644 index 000000000..92b15da2c Binary files /dev/null and b/mpm/python/tests/eeprom_tests/legacy_mboard_v1.eeprom differ diff --git a/mpm/python/tests/eeprom_tests/legacy_mboard_v2.eeprom b/mpm/python/tests/eeprom_tests/legacy_mboard_v2.eeprom new file mode 100644 index 000000000..87ccecaba Binary files /dev/null and b/mpm/python/tests/eeprom_tests/legacy_mboard_v2.eeprom differ diff --git a/mpm/python/tests/eeprom_tests/legacy_mboard_v3.eeprom b/mpm/python/tests/eeprom_tests/legacy_mboard_v3.eeprom new file mode 100644 index 000000000..b201ea087 Binary files /dev/null and b/mpm/python/tests/eeprom_tests/legacy_mboard_v3.eeprom differ diff --git a/mpm/python/tests/eeprom_tests/tlv_multiple.eeprom b/mpm/python/tests/eeprom_tests/tlv_multiple.eeprom new file mode 100644 index 000000000..531896f11 Binary files /dev/null and b/mpm/python/tests/eeprom_tests/tlv_multiple.eeprom differ diff --git a/mpm/python/tests/eeprom_tests/tlv_single.eeprom b/mpm/python/tests/eeprom_tests/tlv_single.eeprom new file mode 100644 index 000000000..3dc264427 Binary files /dev/null and b/mpm/python/tests/eeprom_tests/tlv_single.eeprom differ diff --git a/mpm/python/tests/eeprom_tests/tlv_unknown_tagmap.eeprom b/mpm/python/tests/eeprom_tests/tlv_unknown_tagmap.eeprom new file mode 100644 index 000000000..ee57dbd56 Binary files /dev/null and b/mpm/python/tests/eeprom_tests/tlv_unknown_tagmap.eeprom differ diff --git a/mpm/python/tests/eeprom_tests/tlv_wrong_maplen.eeprom b/mpm/python/tests/eeprom_tests/tlv_wrong_maplen.eeprom new file mode 100644 index 000000000..704adff36 Binary files /dev/null and b/mpm/python/tests/eeprom_tests/tlv_wrong_maplen.eeprom differ -- cgit v1.2.3