Ignore:
Timestamp:
29/09/08 16:05:29 (11 years ago)
Author:
pjkersha
Message:

Working unit tests for WSGI based Attribute Authority.

  • Altered so that all Attribute Config is picked up from the Paste ini file. Separate cfg or xml based config file is still supported.

TODO:

  • Simplify unit test config for client.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/documentation/epydoc/ZSI.schema.SchemaInstanceType-class.html

    r3153 r4245  
    5959</table> 
    6060<!-- ==================== TYPE DESCRIPTION ==================== --> 
    61 <h1 class="epydoc">Type SchemaInstanceType</h1><br /><br /> 
     61<h1 class="epydoc">Type SchemaInstanceType</h1><p class="nomargin-top"></p> 
    6262<center> 
    6363<center>  <map id="uml_class_diagram_for_zsi_sche" name="uml_class_diagram_for_zsi_sche"> 
    64 <area shape="rect" href="javascript: void(0);" title="type(object) &#45;&gt; the object&#39;s type type(name, bases, dict) &#45;&gt; a new type" alt="" coords="16,11,53,27"/> 
    65 <area shape="rect" href="ZSI.schema.SchemaInstanceType&#45;class.html" title="Register all types/elements, when hit already defined class dont create a new one just give back reference." alt="" coords="16,56,53,72"/> 
     64<area shape="rect" href="javascript:void(0);" title="type.__base__" alt="" coords="181,28,304,46"/> 
     65<area shape="rect" href="javascript:void(0);" title="type.__bases__" alt="" coords="181,46,304,65"/> 
     66<area shape="rect" href="javascript:void(0);" title="type.__basicsize__" alt="" coords="181,65,304,84"/> 
     67<area shape="rect" href="javascript:void(0);" title="type.__dictoffset__" alt="" coords="181,84,304,102"/> 
     68<area shape="rect" href="javascript:void(0);" title="type.__flags__" alt="" coords="181,102,304,121"/> 
     69<area shape="rect" href="javascript:void(0);" title="type.__itemsize__" alt="" coords="181,121,304,140"/> 
     70<area shape="rect" href="javascript:void(0);" title="type.__mro__" alt="" coords="181,140,304,158"/> 
     71<area shape="rect" href="javascript:void(0);" title="type.__name__" alt="" coords="181,158,304,177"/> 
     72<area shape="rect" href="javascript:void(0);" title="type.__weakrefoffset__" alt="" coords="181,177,304,196"/> 
     73<area shape="rect" href="javascript:void(0);" title="x(...)" alt="" coords="181,198,304,217"/> 
     74<area shape="rect" href="javascript:void(0);" title="cmp(x,y)" alt="" coords="181,217,304,236"/> 
     75<area shape="rect" href="javascript:void(0);" title="x.__delattr__(&#39;name&#39;) &lt;==&gt; del x.name" alt="" coords="181,236,304,254"/> 
     76<area shape="rect" href="javascript:void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="181,254,304,273"/> 
     77<area shape="rect" href="javascript:void(0);" title="hash(x)" alt="" coords="181,273,304,292"/> 
     78<area shape="rect" href="javascript:void(0);" title="repr(x)" alt="" coords="181,292,304,310"/> 
     79<area shape="rect" href="javascript:void(0);" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="181,310,304,329"/> 
     80<area shape="rect" href="javascript:void(0);" title="type.__subclasses__" alt="" coords="181,329,304,348"/> 
     81<area shape="rect" href="javascript:void(0);" title="return a type&#39;s method resolution order" alt="" coords="181,348,304,366"/> 
     82<area shape="rect" href="javascript:void(0);" title="type(object) &#45;&gt; the object&#39;s type type(name, bases, dict) &#45;&gt; a new type" alt="" coords="180,10,305,368"/> 
     83<area shape="rect" href="ZSI.schema.SchemaInstanceType&#45;class.html#types" title="ZSI.schema.SchemaInstanceType.types" alt="" coords="17,414,468,433"/> 
     84<area shape="rect" href="ZSI.schema.SchemaInstanceType&#45;class.html#elements" title="ZSI.schema.SchemaInstanceType.elements" alt="" coords="17,433,468,452"/> 
     85<area shape="rect" href="ZSI.schema.SchemaInstanceType&#45;class.html#element_typecode_cache" title="ZSI.schema.SchemaInstanceType.element_typecode_cache" alt="" coords="17,452,468,470"/> 
     86<area shape="rect" href="ZSI.schema.SchemaInstanceType&#45;class.html#__new__" title="If classdict has literal and schema register it as a element declaration, &#160;else if has type and schema register it as a type definition." alt="" coords="17,473,468,492"/> 
     87<area shape="rect" href="ZSI.schema.SchemaInstanceType&#45;class.html#getTypeDefinition" title="Grab a type definition, returns a typecode class definition because the facets (name, minOccurs, maxOccurs) must be provided." alt="" coords="17,492,468,510"/> 
     88<area shape="rect" href="ZSI.schema.SchemaInstanceType&#45;class.html#getElementDeclaration" title="Grab an element declaration, returns a typecode instance representation or a typecode class definition." alt="" coords="17,510,468,529"/> 
     89<area shape="rect" href="ZSI.schema.SchemaInstanceType&#45;class.html" title="Register all types/elements, when hit already defined class dont create a new one just give back reference." alt="" coords="16,397,469,530"/> 
    6690</map> 
    6791  <img src="uml_class_diagram_for_zsi_sche.gif" alt='' usemap="#uml_class_diagram_for_zsi_sche" ismap="ismap" class="graph-without-title" /> 
    68 </center></center> 
     92</center> 
     93</center> 
    6994<hr /> 
    7095<pre class="literalblock"> 
     
    81106        representing global element declarations. 
    82107 
    83 </pre><br /><br /> 
     108</pre> 
    84109 
    85110<!-- ==================== INSTANCE METHODS ==================== --> 
     
    202227<tr> 
    203228    <td width="15%" align="right" valign="top" class="summary"> 
    204       <span class="summary-type">&nbsp;</span> 
     229      <span class="summary-type">a new object with type S, a subtype of T</span> 
    205230    </td><td class="summary"> 
    206231      <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
     
    244269      <span class="summary-type">&nbsp;</span> 
    245270    </td><td class="summary"> 
    246         <a href="ZSI.schema.SchemaInstanceType-class.html#types" class="summary-name">types</a> = <code title="{('urn:ndg:security:attAuthority', 'HostInfo'): &lt;class 'ndg.security.c\ 
    247 ommon.AttAuthority.AttAuthority_services_types.HostInfo_Def'&gt;}"><code class="variable-group">{</code><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">urn:ndg:security:attAuthority</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">HostInfo</code><code class="variable-quote">'</code><code class="variable-group">)</code><code class="variable-op">: </code>&lt;class<code class="variable-ellipsis">...</code></code> 
     271        <a name="types"></a><span class="summary-name">types</span> = <code title="{}"><code class="variable-group">{</code><code class="variable-group">}</code></code> 
    248272    </td> 
    249273  </tr> 
     
    258282 ('http://www.zolera.com/schemas/ZSI/', 'URIFaultDetail'): &lt;class 'ZSI\ 
    259283.fault.URIFaultDetailTypeCode'&gt;, 
    260  ('urn:ndg:security:attAuthority', 'getAllHostsInfo'): &lt;class 'ndg.sec\ 
    261 urity.common.AttAuthority.AttAuthority_services_types.getAllHostsInfo_\ 
     284 ('urn:ndg:security:test:wssecurity', 'Echo'): &lt;class 'ndg.security.te\ 
     285st.wsSecurity.client.EchoService_services_types.Echo_Dec'&gt;, 
    262286..."><code class="variable-group">{</code><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">http://www.zolera.com/schemas/ZSI/</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">ActorFault</code><code class="variable-ellipsis">...</code></code> 
    263287    </td> 
     
    341365    >&nbsp; 
    342366    </td> 
    343   </table> 
     367  </tr></table> 
    344368   
    345   If classdict has literal and schema register it as a element  
     369  <p>If classdict has literal and schema register it as a element  
    346370  declaration, else if has type and schema register it as a type  
    347   definition. 
     371  definition.</p> 
    348372  <dl class="fields"> 
    349     <dt>Returns:</dt> 
    350         <dd><pre class="literalblock"> 
    351 a new object with type S, a subtype of T 
    352  
    353 </pre></dd> 
     373    <dt>Returns: a new object with type S, a subtype of T</dt> 
    354374    <dt>Overrides: 
    355       type.__new__ 
     375        object.__new__ 
    356376    </dt> 
    357377  </dl> 
     
    374394    >&nbsp; 
    375395    </td> 
    376   </table> 
     396  </tr></table> 
    377397   
    378398  <pre class="literalblock"> 
     
    406426    >&nbsp; 
    407427    </td> 
    408   </table> 
     428  </tr></table> 
    409429   
    410430  <pre class="literalblock"> 
     
    443463</tr> 
    444464</table> 
    445 <a name="types"></a> 
    446 <div> 
    447 <table class="details" border="1" cellpadding="3" 
    448        cellspacing="0" width="100%" bgcolor="white"> 
    449 <tr><td> 
    450   <h3 class="epydoc">types</h3> 
    451    
    452   <dl class="fields"> 
    453   </dl> 
    454   <dl class="fields"> 
    455     <dt>Value:</dt> 
    456       <dd><table><tr><td><pre class="variable"> 
    457 <code class="variable-group">{</code><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">urn:ndg:security:attAuthority</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">HostInfo</code><code class="variable-quote">'</code><code class="variable-group">)</code><code class="variable-op">: </code>&lt;class 'ndg.security.c<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> 
    458 ommon.AttAuthority.AttAuthority_services_types.HostInfo_Def'&gt;<code class="variable-group">}</code> 
    459 </pre></td></tr></table> 
    460 </dd> 
    461   </dl> 
    462 </td></tr></table> 
    463 </div> 
    464465<a name="elements"></a> 
    465466<div> 
     
    480481 <code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">http://www.zolera.com/schemas/ZSI/</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">URIFaultDetail</code><code class="variable-quote">'</code><code class="variable-group">)</code><code class="variable-op">: </code>&lt;class 'ZSI<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> 
    481482.fault.URIFaultDetailTypeCode'&gt;<code class="variable-op">,</code> 
    482  <code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">urn:ndg:security:attAuthority</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">getAllHostsInfo</code><code class="variable-quote">'</code><code class="variable-group">)</code><code class="variable-op">: </code>&lt;class 'ndg.sec<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> 
    483 urity.common.AttAuthority.AttAuthority_services_types.getAllHostsInfo_<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> 
     483 <code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">urn:ndg:security:test:wssecurity</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">Echo</code><code class="variable-quote">'</code><code class="variable-group">)</code><code class="variable-op">: </code>&lt;class 'ndg.security.te<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> 
     484st.wsSecurity.client.EchoService_services_types.Echo_Dec'&gt;<code class="variable-op">,</code> 
    484485<code class="variable-ellipsis">...</code> 
    485486</pre></td></tr></table> 
     
    521522    <td align="left" class="footer"> 
    522523    <a href="epydoc-log.html">Generated by Epydoc 
    523     3.0beta1 on Mon Dec 17 09:22:42 2007</a> 
     524    3.0.1 on Thu Sep  4 09:37:41 2008</a> 
    524525    </td> 
    525526    <td align="right" class="footer"> 
    526       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> 
     527      <a target="mainFrame" href="http://epydoc.sourceforge.net" 
     528        >http://epydoc.sourceforge.net</a> 
    527529    </td> 
    528530  </tr> 
     
    535537  // visible); but by default, we want to hide them.  So hide 
    536538  // them unless we have a cookie that says to show them. 
    537   checkCookie() 
     539  checkCookie(); 
    538540  // --> 
    539541</script> 
    540    
    541542</body> 
    542543</html> 
Note: See TracChangeset for help on using the changeset viewer.