diff options
| author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:52 -0500 |
|---|---|---|
| committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:52 -0500 |
| commit | 074785cea106179cb3305637055ab0a009ca74f2 (patch) | |
| tree | e6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/pt-pt/ns_postcondition/index.html | |
| parent | da78a9e329e272dedb2400b79a3bdeebff387d47 (diff) | |
| download | translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2 translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip | |
initial commit
Diffstat (limited to 'files/pt-pt/ns_postcondition/index.html')
| -rw-r--r-- | files/pt-pt/ns_postcondition/index.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/files/pt-pt/ns_postcondition/index.html b/files/pt-pt/ns_postcondition/index.html new file mode 100644 index 0000000000..0351be6cac --- /dev/null +++ b/files/pt-pt/ns_postcondition/index.html @@ -0,0 +1,20 @@ +--- +title: NS_POSTCONDITION +slug: NS_POSTCONDITION +tags: + - Macros_XPCOM + - XPCOM +translation_of: Mozilla/Tech/XPCOM/Reference/Glue_classes/NS_POSTCONDITION +--- +<p> </p> +<h3 id="Sum.C3.A1rio" name="Sum.C3.A1rio">Sumário</h3> +<p><b>Macro</b></p> +<p>Tem o mesmo efeito que <a href="pt/NS_ASSERTION">NS_ASSERTION</a>. Deve sre usada para testar condições que deverão ser produzidas por um método.</p> +<h3 id="Sintaxe" name="Sintaxe">Sintaxe</h3> +<pre class="eval">NS_POSTCONDITION(expressão a testar, "texto de erro"); +</pre> +<h3 id="Ver_Tamb.C3.A9m" name="Ver_Tamb.C3.A9m">Ver Também</h3> +<ul> + <li><a href="pt/NS_PRECONDITION">NS_PRECONDITION</a></li> + <li><a href="pt/NS_ASSERTION">NS_ASSERTION</a></li> +</ul> |
