Difference between revisions of "Uno/Cpp/Test/Shield Helpers"
From Apache OpenOffice Wiki
m (Added build instructions ...) |
|||
| Line 2: | Line 2: | ||
==Tests== | ==Tests== | ||
| − | * shield - "shield" a thread unsafe object and call from "$CPP" | + | * shield - "shield" a thread unsafe object and call from <code>"$CPP"</code> |
| − | * unshield - "unshield" a thread safe object and call from "$CPP:unsafe" | + | * unshield - "unshield" a thread safe object and call from <code>"$CPP:unsafe"</code> |
| − | * shieldAny - "shield" a thread unsafe object and call from "$CPP" | + | * shieldAny - "shield" a thread unsafe object and call from <code>"$CPP"</code> |
| − | * unshieldAny - "unshield" a thread safe object and call from "$CPP:unsafe" | + | * unshieldAny - "unshield" a thread safe object and call from <code>"$CPP:unsafe"</code> |
| + | |||
| + | ==Build== | ||
| + | cd test/ObjectFactory | ||
| + | dmake | ||
| + | cd - | ||
| + | cd test/Shield | ||
| + | dmake | ||
| + | cd - | ||
==Execute== | ==Execute== | ||
| − | <platform>/bin/Shield.test | + | cd cppu/<platform>/bin |
| + | ./Shield.test | ||
| + | cd - | ||
==Files== | ==Files== | ||
Revision as of 12:12, 22 June 2007
Type: Test State: finished Availability: URE 1.3 (SRC680_m212)
Tests
- shield - "shield" a thread unsafe object and call from
"$CPP" - unshield - "unshield" a thread safe object and call from
"$CPP:unsafe" - shieldAny - "shield" a thread unsafe object and call from
"$CPP" - unshieldAny - "unshield" a thread safe object and call from
"$CPP:unsafe"
Build
cd test/ObjectFactory dmake cd - cd test/Shield dmake cd -
Execute
cd cppu/<platform>/bin ./Shield.test cd -