← 输入框|github.com|刷新
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion source/expectations/data_values/ut_compound_data_value.tpb
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,15 @@ create or replace type body ut_compound_data_value as
l_result integer;
--the XML stylesheet is applied on XML representation of data to exclude column names from comparison
--column names and data-types are compared separately
--user CHR(38) instead of ampersand to eliminate define request when installing through some IDEs
l_xml_data_fmt constant xmltype := xmltype(
q'[<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:strip-space elements="*" />
<xsl:template match="/child::*">
<xsl:for-each select="child::node()">
<xsl:choose>
<xsl:when test="*[*]"><xsl:copy-of select="node()"/></xsl:when>
<xsl:when test="position()=last()"><xsl:value-of select="normalize-space(.)"/><xsl:text>&#xD;</xsl:text></xsl:when>
<xsl:when test="position()=last()"><xsl:value-of select="normalize-space(.)"/><xsl:text>'||CHR(38)||'#xD;</xsl:text></xsl:when>
<xsl:otherwise><xsl:value-of select="normalize-space(.)"/>,</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
Expand Down
2 changes: 1 addition & 1 deletion source/install.sql
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ prompt Installing DBMSPLSQL Tables objects into &&ut3_owner schema
@@install_component.sql 'expectations/data_values/ut_compound_data_diff_tmp.sql'
@@install_component.sql 'expectations/data_values/ut_data_value.tps'
@@install_component.sql 'expectations/data_values/ut_compound_data_value.tps'
@@install_component.sql 'expectations/data_values/ut_compound_data_helper.pks'
@@install_component.sql 'expectations/data_values/ut_data_value_anydata.tps'
@@install_component.sql 'expectations/data_values/ut_data_value_collection.tps'
@@install_component.sql 'expectations/data_values/ut_data_value_object.tps'
Expand All @@ -182,6 +181,7 @@ prompt Installing DBMSPLSQL Tables objects into &&ut3_owner schema
@@install_component.sql 'expectations/data_values/ut_data_value_timestamp_ltz.tps'
@@install_component.sql 'expectations/data_values/ut_data_value_varchar2.tps'
@@install_component.sql 'expectations/data_values/ut_data_value_yminterval.tps'
@@install_component.sql 'expectations/data_values/ut_compound_data_helper.pks'
@@install_component.sql 'expectations/matchers/ut_matcher.tps'
@@install_component.sql 'expectations/matchers/ut_comparison_matcher.tps'
@@install_component.sql 'expectations/matchers/ut_be_false.tps'
Expand Down
2 changes: 0 additions & 2 deletions source/uninstall.sql
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,6 @@ drop type ut_expectation_result force;

drop package ut_event_manager;

drop type ut_event_listener force;

drop type ut_event_item force;

drop type ut_key_value_pairs force;
Expand Down