|
f1b5b0915b
|
Refactor file_path and provide helper function for store path
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
2019-11-02 18:19:30 +01:00 |
|
|
a8b75ad2ba
|
Refactor out helper function to simply get stdout of a command
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
2019-11-02 18:19:30 +01:00 |
|
|
fd2afad72a
|
Move path calculation to helper function
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
2019-11-02 18:19:30 +01:00 |
|
|
4cbcdc118c
|
Add test: Check whether imag-header prints correct string when querying imag.version header
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
2019-11-02 18:19:30 +01:00 |
|
|
4b3e2ea4cd
|
Add test: Test whether imag-header reports header at imag.version after entry creation
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
2019-11-02 18:19:30 +01:00 |
|
|
61a1a241c8
|
Add test: imag-ids reports id after it was created
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
2019-11-02 18:19:30 +01:00 |
|
|
ceabde799b
|
Add test: check whether imag-create works as expected
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
2019-11-02 18:19:30 +01:00 |
|
|
4c67450b0c
|
Add test: store is empty after creation
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
2019-11-02 18:19:30 +01:00 |
|
|
eb6029537a
|
Add test: check with imag-ids whether no entries exist after init
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
2019-11-02 18:19:30 +01:00 |
|
|
966eb6d045
|
Add test: check whether imag-init creates store path
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
2019-11-02 18:19:30 +01:00 |
|
|
409660b07b
|
Add test: check whether default configuration is added when imag-init is called
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
2019-11-02 18:19:30 +01:00 |
|
|
49af82cc68
|
Add imag-init test
* Extract function to call imag-init for a tempdir path
* Simplify setup helper functions
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
2019-11-02 18:19:30 +01:00 |
|
|
d78ab67956
|
Add crate for ui-tests
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
2019-11-02 18:19:30 +01:00 |
|