Date: 2005-02-01T15:57:14 Editor: MichelleCaisse Wiki: Apache JDO Wiki Page: Chapter18TestCoverageNotes URL: http://wiki.apache.org/jdo/Chapter18TestCoverageNotes
no comment Change Log: ------------------------------------------------------------------------------ @@ -6,76 +6,76 @@ ||XML Element/attribute||Tested by Company Model Completeness Test?||Use Company Model for test|| -|| <!ELEMENT jdo ((package)+, (query)*, (extension)*)> ||y||.|| -|| <!ELEMENT package (interface*, class*, sequence*, extension*)> ||y||.|| -|| <!ATTLIST package name CDATA #REQUIRED> ||y ||.|| +|| <!ELEMENT jdo ((package)+, (query)*, (extension)*)> ||y||y|| +|| <!ELEMENT package (interface*, class*, sequence*, extension*)> ||y||y|| +|| <!ATTLIST package name CDATA #REQUIRED> ||y ||y|| || <!ELEMENT interface ((property)*, (extension*))> ||.||n || || <!ATTLIST interface name CDATA #REQUIRED> ||.||n || || <!ATTLIST interface requires-extent (true|false) ‘true’> ||.||n || || <!ELEMENT property ((collection|map|array|column)? , extension*)> ||.||n || || <!ATTLIST property name CDATA #REQUIRED> ||.||n || || <!ATTLIST property column CDATA #IMPLIED> ||.||n || -|| <!ELEMENT class (datastore-identity?, implements*, inheritance?, join*, foreign-key*, index*, field*, version?, query*, fetch-group*, extension*)> ||y ||.|| -|| <!ATTLIST class name CDATA #REQUIRED> ||y ||.|| -|| <!ATTLIST class identity-type (application|datastore|nondurable) #IMPLIED> ||y ||.|| -|| <!ATTLIST class table CDATA #IMPLIED> ||y ||.|| -|| <!ATTLIST class requires-extent (true|false) ‘true’> ||y ||. || +|| <!ELEMENT class (datastore-identity?, implements*, inheritance?, join*, foreign-key*, index*, field*, version?, query*, fetch-group*, extension*)> ||y ||y|| +|| <!ATTLIST class name CDATA #REQUIRED> ||y ||y|| +|| <!ATTLIST class identity-type (application|datastore|nondurable) #IMPLIED> ||y ||y|| +|| <!ATTLIST class table CDATA #IMPLIED> ||y ||y|| +|| <!ATTLIST class requires-extent (true|false) ‘true’> ||y ||y|| || <!ATTLIST class persistence-capable-superclass CDATA #IMPLIED> ||n/a ||. || -|| <!ATTLIST class embedded-only (true|false) #IMPLIED> ||y ||. || -|| <!ATTLIST class persistence-modifier (persistence-capable|persistence-aware|non-persistent) #IMPLIED> ||y || .|| -|| <!ELEMENT join (column*, index?, foreign-key?, extension*)> ||y || .|| -|| <!ATTLIST join table CDATA #IMPLIED> ||y ||. || -|| <!ATTLIST join column CDATA #IMPLIED> ||y ||. || +|| <!ATTLIST class embedded-only (true|false) #IMPLIED> ||y ||y || +|| <!ATTLIST class persistence-modifier (persistence-capable|persistence-aware|non-persistent) #IMPLIED> ||y ||y|| +|| <!ELEMENT join (column*, index?, foreign-key?, extension*)> ||y ||y|| +|| <!ATTLIST join table CDATA #IMPLIED> ||y ||y|| +|| <!ATTLIST join column CDATA #IMPLIED> ||y ||y|| || <!ATTLIST join outer (true|false) ‘false’> ||n ||yes || -|| <!ATTLIST join foreign-key CDATA #IMPLIED> ||y || .|| -|| <!ELEMENT datastore-identity ((column)*, (extension)*)> ||y ||. || -|| <!ATTLIST datastore-identity column CDATA #IMPLIED> ||y ||. || +|| <!ATTLIST join foreign-key CDATA #IMPLIED> ||y ||y|| +|| <!ELEMENT datastore-identity ((column)*, (extension)*)> ||y ||y|| +|| <!ATTLIST datastore-identity column CDATA #IMPLIED> ||y ||y|| || <!ATTLIST datastore-identity strategy CDATA #IMPLIED> ||y ||multiple mappings || || <!ATTLIST datastore-identity sequence-name CDATA #IMPLIED> ||n ||multiple mappings || || <!ATTLIST datastore-identity factory-class CDATA #IMPLIED> ||n ||multiple mappings || || <!ELEMENT implements ((property-field)+, (extension)*)> ||separate schema ||.|| || <!ATTLIST implements name CDATA #REQUIRED> ||separate schema ||.|| -|| <!ELEMENT inheritance (discriminator?, extension*)> ||y || .|| +|| <!ELEMENT inheritance (discriminator?, extension*)> ||y ||y|| || <!ATTLIST inheritance strategy CDATA #IMPLIED> ||y ||multiple mappings || -|| <!ELEMENT discriminator (column?, extension*)> ||y ||.|| -|| <!ATTLIST discriminator column CDATA #IMPLIED> ||n ||yes, multiple mappings || || +|| <!ELEMENT discriminator (column?, extension*)> ||y ||y|| +|| <!ATTLIST discriminator column CDATA #IMPLIED> ||n ||yes, multiple mappings || || <!ATTLIST discriminator value CDATA #IMPLIED> ||y ||multiple mappings || || <!ATTLIST discriminator strategy CDATA #IMPLIED> ||y ||multiple mappings || -|| <!ELEMENT column (extension*)> ||y ||. || -|| <!ATTLIST column name CDATA #IMPLIED> ||y ||. || -|| <!ATTLIST column target CDATA #IMPLIED> ||y ||. || +|| <!ELEMENT column (extension*)> ||y ||y|| +|| <!ATTLIST column name CDATA #IMPLIED> ||y ||y|| +|| <!ATTLIST column target CDATA #IMPLIED> ||y ||y|| || <!ATTLIST column target-field CDATA #IMPLIED> ||n ||special test xcalia || -|| <!ATTLIST column jdbc-type CDATA #IMPLIED> ||y || .|| +|| <!ATTLIST column jdbc-type CDATA #IMPLIED> ||y ||y|| || <!ATTLIST column sql-type CDATA #IMPLIED> ||n ||special mapping || -|| <!ATTLIST column length CDATA #IMPLIED> ||y ||. || -|| <!ATTLIST column scale CDATA #IMPLIED> ||y ||. || -|| <!ATTLIST column nulls-allowed CDATA #IMPLIED> ||y ||. || +|| <!ATTLIST column length CDATA #IMPLIED> ||y ||y|| +|| <!ATTLIST column scale CDATA #IMPLIED> ||y ||y|| +|| <!ATTLIST column nulls-allowed CDATA #IMPLIED> ||y ||y|| || <!ELEMENT property-field (extension*)> ||. || .|| || <!ATTLIST property-field name #REQUIRED> ||. || .|| || <!ATTLIST property-field field-name #REQUIRED> ||. || .|| -|| <!ELEMENT field ((collection|map|array|(column*))?, join?, element?, key?, value?, order?, embedded?, index?, foreign-key?, extension*)?> ||y ||. || -|| <!ATTLIST field name CDATA #REQUIRED> ||y ||. || -|| <!ATTLIST field persistence-modifier (persistent|transactional|none) #IMPLIED> ||y ||. || -|| <!ATTLIST field table CDATA #IMPLIED> ||y ||. || +|| <!ELEMENT field ((collection|map|array|(column*))?, join?, element?, key?, value?, order?, embedded?, index?, foreign-key?, extension*)?> ||y ||y|| +|| <!ATTLIST field name CDATA #REQUIRED> ||y ||y|| +|| <!ATTLIST field persistence-modifier (persistent|transactional|none) #IMPLIED> ||y ||y|| +|| <!ATTLIST field table CDATA #IMPLIED> ||y ||y|| || <!ATTLIST field null-value (exception|default|none) ‘none’> ||y ||different mapping || || <!ATTLIST field default-fetch-group (true|false) #IMPLIED> ||y ||different test case, different mappings || || <!ATTLIST field embedded (true|false) #IMPLIED> ||y ||yes, but need different mappings || || <!ATTLIST field serialized (true|false) #IMPLIED> ||n ||different mappings || -|| <!ATTLIST field dependent (true|false) #IMPLIED> ||y || .|| +|| <!ATTLIST field dependent (true|false) #IMPLIED> ||y ||y|| || <!ATTLIST field value-factory CDATA #IMPLIED> ||n ||different test case different mapping || -|| <!ATTLIST field foreign-key CDATA #IMPLIED> ||y ||. || +|| <!ATTLIST field foreign-key CDATA #IMPLIED> ||y ||y|| || <!ATTLIST field fetch-group CDATA #IMPLIED> ||n ||same test different mapping || || <!ATTLIST field depth CDATA #IMPLIED> ||n ||different test case || -|| <!ELEMENT foreign-key (column*, extension*)> ||y || || +|| <!ELEMENT foreign-key (column*, extension*)> ||y ||. || || <!ATTLIST foreign-key deferred (true|false) #IMPLIED> ||n ||different test case different mapping || || <!ATTLIST foreign-key delete-action (cascade|restrict|null|default) #IMPLIED> ||n ||what does this mean? || || <!ATTLIST foreign-key update-action (cascade|restrict|null|default) #IMPLIED> ||n ||what does this mean? || || <!ATTLIST foreign-key unique (true|false) #IMPLIED> ||n ||different test case || -|| <!ATTLIST foreign-key name CDATA #IMPLIED> ||y || .|| -|| <!ELEMENT collection (extension*)> ||y ||. || +|| <!ATTLIST foreign-key name CDATA #IMPLIED> ||y ||y|| +|| <!ELEMENT collection (extension*)> ||y ||y|| || <!ATTLIST collection element-type CDATA #IMPLIED> ||y ||.|| || <!ATTLIST collection embedded-element (true|false) #IMPLIED> ||n ||different test case different mapping || -|| <!ATTLIST collection dependent-element (true|false) #IMPLIED> ||y ||. || +|| <!ATTLIST collection dependent-element (true|false) #IMPLIED> ||y ||y|| || <!ELEMENT map (extension)*> ||n ||n || || <!ATTLIST map key-type CDATA #IMPLIED> ||n ||n || || <!ATTLIST map embedded-key (true|false) #IMPLIED> ||n ||n || @@ -94,25 +94,25 @@ || <!ELEMENT array (extension*)> ||n ||n || || <!ATTLIST array embedded-element (true|false) #IMPLIED> ||n ||n || || <!ATTLIST array dependent-element (true|false) #IMPLIED> ||n ||n || -|| <!ELEMENT element (column*, index?, embedded?, foreign-key?, extension*)> ||y || .|| -|| <!ATTLIST element column CDATA #IMPLIED> || y ||. || +|| <!ELEMENT element (column*, index?, embedded?, foreign-key?, extension*)> ||y ||y|| +|| <!ATTLIST element column CDATA #IMPLIED> || y ||y|| || <!ATTLIST element serialized (true|false) #IMPLIED> ||n ||different model || -|| <!ATTLIST element foreign-key CDATA #IMPLIED> ||y || .|| +|| <!ATTLIST element foreign-key CDATA #IMPLIED> ||y ||y|| || <!ELEMENT order (column*, extension*)> ||n ||different model || || <!ATTLIST order column CDATA #IMPLIED> ||n ||different model || -|| <!ELEMENT fetch-group (fetch-group|field)*> ||n || .|| -|| <!ATTLIST fetch-group name CDATA #REQUIRED> ||n ||. || +|| <!ELEMENT fetch-group (fetch-group|field)*> ||n ||.|| +|| <!ATTLIST fetch-group name CDATA #REQUIRED> ||n ||.|| || <!ATTLIST fetch-group post-load (true|false) #IMPLIED> ||n ||. || -|| <!ELEMENT embedded (field*, owner?, extension*)> ||y ||. || +|| <!ELEMENT embedded (field*, owner?, extension*)> ||y ||y|| || <!ELEMENT owner (field?, extension*)> ||n ||different model || || <!ELEMENT sequence (extension*)> ||n ||same model, different mapping || || <!ATTLIST sequence name CDATA #REQUIRED> ||n ||same model, different mapping || || <!ATTLIST sequence sequence-name CDATA #REQUIRED> ||n ||same model, different mapping || || <!ATTLIST sequence strategy (non-transactional|transactional-contiguous|transactional-holes-allowed) #REQUIRED> ||n ||same model, different mapping || -|| <!ELEMENT index (column*, extension*)> ||y ||. || -|| <!ATTLIST index name CDATA #IMPLIED> ||y ||. || -|| <!ATTLIST index unique (true|false) ‘false’> ||y ||. || -|| <!ELEMENT query (extension*)> ||n/a ||. || +|| <!ELEMENT index (column*, extension*)> ||y ||y|| +|| <!ATTLIST index name CDATA #IMPLIED> ||y ||y|| +|| <!ATTLIST index unique (true|false) ‘false’> ||y ||y|| +|| <!ELEMENT query (extension*)> ||n/a ||.|| || <!ATTLIST query name CDATA #IMPLIED> ||n/a ||. || || <!ATTLIST query language CDATA #IMPLIED> ||n/a ||.|| || <!ATTLIST query ignore-cache CDATA #IMPLIED> ||n/a ||. ||