# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Cherry Blossom

# CherryBomb -- CherryBlossom Internal Test Procedures (CDRL-14c)

21 June, 2012

- 1
- 2
…
- 8
- 9
- 10
- 11
- 12
…
- 70
- 71

UNCLASSIFIED
Cherry Bomb Program Cherry Blossom Internal Test Procedures
2 Unit Tests
This section describes unit tests for the Cherry Blossom system.
2.1 CherryTree/Web Unit Tests
Description: these unit tests exercise the software libraries, classes, interfaces,
etc. of the backend CherryTree/Web software
Setup: checkout (or update) the latest version of CherryBlossom software from
the subversion repository (“<CB>” refers to the root directory of this checkout).
Run: cd <CB>/CherryTree && ant test
Pass/Fail: any unit test failures will stop the test process and report the error;
otherwise success will be reported.
2.2 Flytrap Unit Tests
Description: these unit tests exercise the software libraries, classes, interfaces,
etc. of the front-end Flytrap software (MissionManager and GenericFilter).
Setup: checkout (or update) the latest version of CherryBlossom software from
the subversion repository (“<CB>” refers to the root directory of this checkout).
Run: cd <CB>/Flytrap && make test_clean && make test_inc && make test
Pass/Fail: any unit test failures will stop the test process and report the error;
otherwise success will be reported.
2.3 Flytrap Device Unit Tests
Description: these unit tests exercise the software libraries, classes, interfaces, etc.
of the frontend Flytrap software (MissionManager and GenericFilter). However,
instead of running them on the client machine, they are run on the Flytrap.
Setup: checkout (or update) the latest version of CherryBlossom software from the
subversion and build and re-image the flytrap. You should also be directly
connected to the flytrap being tested.
UNCLASSIFIED
10

- 1
- 2
…
- 8
- 9
- 10
- 11
- 12
…
- 70
- 71