diff mbox

[ARCH] testing.dox: Add cunit test rules

Message ID 1416597811-58070-1-git-send-email-mike.holmes@linaro.org
State Not Applicable
Headers show

Commit Message

Mike Holmes Nov. 21, 2014, 7:23 p.m. UTC
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
---
 testing.dox | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Maxim Uvarov Nov. 24, 2014, 10:38 a.m. UTC | #1
On 11/21/2014 10:23 PM, Mike Holmes wrote:
> Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
> ---
>   testing.dox | 7 +++++++
>   1 file changed, 7 insertions(+)
>
> diff --git a/testing.dox b/testing.dox
> index 86498f8..3791ebd 100644
> --- a/testing.dox
> +++ b/testing.dox
> @@ -141,6 +141,13 @@ All suites/tests in the registry may be run using a single function call, or sel
>    - Run tests using an appropriate interface, e.g. CU_console_run_tests
>    - Cleanup the test registry - CU_cleanup_registry
>   
> +@subsection cunit_rules ODP cunit test rules
> + - If there are two or more tests, then CU_register_suites() shall be used to define them
;

> + - The tests main entry point will be in test/validation, supporting code shall be in a sub directory of validation

;
> + - A test suite shall display the version string of the API
;
> + - Test suites are self contained and can be executed in any order
;
> + - Tests shall not require external equipment
.
> +
>   @code
>   /* Copyright (c) 2014, Linaro Limited
>    * All rights reserved.
Mike Holmes Nov. 26, 2014, 3:56 p.m. UTC | #2
On 24 November 2014 at 05:38, Maxim Uvarov <maxim.uvarov@linaro.org> wrote:

> On 11/21/2014 10:23 PM, Mike Holmes wrote:
>
>> Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
>> ---
>>   testing.dox | 7 +++++++
>>   1 file changed, 7 insertions(+)
>>
>> diff --git a/testing.dox b/testing.dox
>> index 86498f8..3791ebd 100644
>> --- a/testing.dox
>> +++ b/testing.dox
>> @@ -141,6 +141,13 @@ All suites/tests in the registry may be run using a
>> single function call, or sel
>>    - Run tests using an appropriate interface, e.g. CU_console_run_tests
>>    - Cleanup the test registry - CU_cleanup_registry
>>   +@subsection cunit_rules ODP cunit test rules
>> + - If there are two or more tests, then CU_register_suites() shall be
>> used to define them
>>
> ;
>
>  + - The tests main entry point will be in test/validation, supporting
>> code shall be in a sub directory of validation
>>
>
> ;
>
>> + - A test suite shall display the version string of the API
>>
> ;
>
>> + - Test suites are self contained and can be executed in any order
>>
> ;
>
>> + - Tests shall not require external equipment
>>
> .
>
>> +
>>   @code
>>   /* Copyright (c) 2014, Linaro Limited
>>    * All rights reserved.
>>
>
>
Are semi colons or full stops necessary on the bullet lists ? We have not
done that elsewhere


>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Maxim Uvarov Nov. 27, 2014, 11:38 a.m. UTC | #3
On 11/26/2014 06:56 PM, Mike Holmes wrote:
>
>
> On 24 November 2014 at 05:38, Maxim Uvarov <maxim.uvarov@linaro.org 
> <mailto:maxim.uvarov@linaro.org>> wrote:
>
>     On 11/21/2014 10:23 PM, Mike Holmes wrote:
>
>         Signed-off-by: Mike Holmes <mike.holmes@linaro.org
>         <mailto:mike.holmes@linaro.org>>
>         ---
>           testing.dox | 7 +++++++
>           1 file changed, 7 insertions(+)
>
>         diff --git a/testing.dox b/testing.dox
>         index 86498f8..3791ebd 100644
>         --- a/testing.dox
>         +++ b/testing.dox
>         @@ -141,6 +141,13 @@ All suites/tests in the registry may be
>         run using a single function call, or sel
>            - Run tests using an appropriate interface, e.g.
>         CU_console_run_tests
>            - Cleanup the test registry - CU_cleanup_registry
>           +@subsection cunit_rules ODP cunit test rules
>         + - If there are two or more tests, then CU_register_suites()
>         shall be used to define them
>
>     ;
>
>         + - The tests main entry point will be in test/validation,
>         supporting code shall be in a sub directory of validation
>
>
>     ;
>
>         + - A test suite shall display the version string of the API
>
>     ;
>
>         + - Test suites are self contained and can be executed in any
>         order
>
>     ;
>
>         + - Tests shall not require external equipment
>
>     .
>
>         +
>           @code
>           /* Copyright (c) 2014, Linaro Limited
>            * All rights reserved.
>
>
>
> Are semi colons or full stops necessary on the bullet lists ? We have 
> not done that elsewhere

If not elsewhere then: Review+.

Maxim.


>
>     _______________________________________________
>     lng-odp mailing list
>     lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
>     http://lists.linaro.org/mailman/listinfo/lng-odp
>
>
>
>
> -- 
> *Mike Holmes*
> Linaro  Sr Technical Manager
> LNG - ODP
Anders Roxell Jan. 12, 2015, 4:38 p.m. UTC | #4
Applied.

On 2014-11-21 14:23, Mike Holmes wrote:
> Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
> ---
>  testing.dox | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/testing.dox b/testing.dox
> index 86498f8..3791ebd 100644
> --- a/testing.dox
> +++ b/testing.dox
> @@ -141,6 +141,13 @@ All suites/tests in the registry may be run using a single function call, or sel
>   - Run tests using an appropriate interface, e.g. CU_console_run_tests
>   - Cleanup the test registry - CU_cleanup_registry
>  
> +@subsection cunit_rules ODP cunit test rules
> + - If there are two or more tests, then CU_register_suites() shall be used to define them
> + - The tests main entry point will be in test/validation, supporting code shall be in a sub directory of validation
> + - A test suite shall display the version string of the API
> + - Test suites are self contained and can be executed in any order
> + - Tests shall not require external equipment
> +
>  @code
>  /* Copyright (c) 2014, Linaro Limited
>   * All rights reserved.
> -- 
> 2.1.0
> 
> 
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
diff mbox

Patch

diff --git a/testing.dox b/testing.dox
index 86498f8..3791ebd 100644
--- a/testing.dox
+++ b/testing.dox
@@ -141,6 +141,13 @@  All suites/tests in the registry may be run using a single function call, or sel
  - Run tests using an appropriate interface, e.g. CU_console_run_tests
  - Cleanup the test registry - CU_cleanup_registry
 
+@subsection cunit_rules ODP cunit test rules
+ - If there are two or more tests, then CU_register_suites() shall be used to define them
+ - The tests main entry point will be in test/validation, supporting code shall be in a sub directory of validation
+ - A test suite shall display the version string of the API
+ - Test suites are self contained and can be executed in any order
+ - Tests shall not require external equipment
+
 @code
 /* Copyright (c) 2014, Linaro Limited
  * All rights reserved.