~ps-jenkins/ubuntu-ui-extras/trusty-proposed

1 by Ugo Riboni
Initial commit, only plugin, no tests, no translations
1
Ubuntu exta components are a collection of components that does not have the necessary
2
level of quality for inclusion in the toolkit (https://launchpad.net/ubuntu-ui-toolkit):
3
- lack of documentation
4
- lack of automated tests
5
6
= Building =
7
8
The build system uses cmake.
9
To compile, simply invoke cmake and then make:
10
11
    $ cmake .
12
    $ make
13
14
= Unit tests =
15
16
To run the unit tests, you can use the commands below:
17
18
    $ make test
19
20
      - or -
21
22
    $ ctest
23
24
= Automated UI tests =
25
43 by Ugo Riboni
Remove all browser work and leave only an example component and skeleton build system
26
We use autopilot (https://launchpad.net/autopilot) to test the UI.
1 by Ugo Riboni
Initial commit, only plugin, no tests, no translations
27
To run the tests, you will need to install python-autopilot and libautopilot-qt.
28
Then do the following:
29
30
    $ cd tests/autopilot/
43 by Ugo Riboni
Remove all browser work and leave only an example component and skeleton build system
31
    $ autopilot run ubuntu_ui_extras
1 by Ugo Riboni
Initial commit, only plugin, no tests, no translations
32
33
You can get a list of all available tests with the following command:
34
43 by Ugo Riboni
Remove all browser work and leave only an example component and skeleton build system
35
    $ autopilot list ubuntu_ui_extras
1 by Ugo Riboni
Initial commit, only plugin, no tests, no translations
36