Simon Glass
5c890238c4
binman: Tidy up setting of entry contents
...
At present the contents of an entry are set in subclasses simply by
assigning to the data and content_size properties. Add some methods to do
this, so that we have more control. In particular, add a method to set the
contents without changing its size, so we can validate that case.
Add a test case for trying to change the size when this is not allowed.
Signed-off-by: Simon Glass <sjg@chromium.org >
2018-07-09 09:11:00 -06:00
..
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2017-12-12 19:53:45 -07:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2017-12-12 19:53:45 -07:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2017-12-12 19:53:45 -07:00
2017-12-12 19:53:45 -07:00
2017-04-10 10:02:03 +08:00
2017-04-10 10:02:03 +08:00
2017-04-10 10:02:03 +08:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2016-12-20 08:09:55 +13:00
2018-07-09 09:11:00 -06:00
2017-04-10 10:02:03 +08:00
2017-04-10 10:02:03 +08:00
2016-12-20 08:09:55 +13:00
2017-06-02 10:16:47 -06:00
2017-09-16 14:57:44 +08:00
2017-11-22 18:05:38 -07:00
2017-11-22 18:05:38 -07:00
2017-11-22 18:05:38 -07:00
2017-11-22 18:05:38 -07:00
2017-12-12 19:53:45 -07:00
2017-12-12 19:53:45 -07:00
2017-12-12 19:53:45 -07:00
2018-06-07 11:25:07 -08:00
2018-06-07 11:25:08 -08:00
2018-06-07 11:25:08 -08:00
2018-07-09 09:11:00 -06:00
2018-07-09 09:11:00 -06:00
2018-07-09 09:11:00 -06:00
2017-11-22 18:05:38 -07:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2016-12-20 08:09:55 +13:00
2017-12-12 19:53:45 -07:00
2017-12-12 19:53:45 -07:00
2017-12-12 19:53:45 -07:00
2017-12-12 19:53:45 -07:00
2018-05-07 09:34:12 -04:00
2017-12-12 19:53:45 -07:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2016-12-20 08:09:55 +13:00
2018-05-07 09:34:12 -04:00
2016-12-20 08:09:55 +13:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00