<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why Assertion-Class CL_ABAP_UNIT_ASSERT is final? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-assertion-class-cl-abap-unit-assert-is-final/m-p/8705482#M1671317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for that information!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing that is a pity for me is that code using the old class should be rafactored...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2012 15:05:07 GMT</pubDate>
    <dc:creator>wol</dc:creator>
    <dc:date>2012-05-09T15:05:07Z</dc:date>
    <item>
      <title>Why Assertion-Class CL_ABAP_UNIT_ASSERT is final?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-assertion-class-cl-abap-unit-assert-is-final/m-p/8705479#M1671314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NG,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with Release &lt;SPAN class="a"&gt;NetWeaver 7.0 EhP2 SAP introduced the ABAP Unit Assertion-Class CL_ABAP_UNIT_ASSERT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="a"&gt;Compared with the old Assertion-Class (CL_AUNIT_ASSERT), the new class is declared as FINAL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="a"&gt;What is the reason behind this change? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="a"&gt;It was really comfortable to inherit the CL_AUNIT_ASSERT class in my Test-Classes and to use the shorter-Form of the Assertion-Methods.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="a"&gt;Any Idea, why the class is now closed for Inheritation?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="a"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="a"&gt;Damir&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 09:49:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-assertion-class-cl-abap-unit-assert-is-final/m-p/8705479#M1671314</guid>
      <dc:creator>majcon</dc:creator>
      <dc:date>2012-05-09T09:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why Assertion-Class CL_ABAP_UNIT_ASSERT is final?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-assertion-class-cl-abap-unit-assert-is-final/m-p/8705480#M1671315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For me, it seems as if CL_ABAP_UNIT_ASSERT is a duplicate of CL_AUNIT_ASSERT (which exists longer). Why did SAP do that??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the documentation:&lt;/P&gt;&lt;P&gt;Until 7.01 only CL_AUNIT_ASSERT is mentioned. As of 7.02 the documentation tells you to use CL_ABAP_UNIT_ASSERT, however the documentation for "Local testclasses" seems to be forgotten (at least in german docu).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So thank you for that question. Does somebody know if CL_AUNIT_ASSERT is obsolete?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw: On Solution Manager 7.1 (which is based on Netweaver 7.02) both classes exist and none of them is final...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 12:36:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-assertion-class-cl-abap-unit-assert-is-final/m-p/8705480#M1671315</guid>
      <dc:creator>wol</dc:creator>
      <dc:date>2012-05-09T12:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why Assertion-Class CL_ABAP_UNIT_ASSERT is final?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-assertion-class-cl-abap-unit-assert-is-final/m-p/8705481#M1671316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the class cl_aunit_assert should not longer be used. Instead use the class cl_abap_unit_assert (offical SAP suggestion). &lt;/P&gt;&lt;P&gt;By the way, if you look into the class cl_aunit_assert there is a forwarding to the class cl_abap_unit_assert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Damir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 14:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-assertion-class-cl-abap-unit-assert-is-final/m-p/8705481#M1671316</guid>
      <dc:creator>majcon</dc:creator>
      <dc:date>2012-05-09T14:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why Assertion-Class CL_ABAP_UNIT_ASSERT is final?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-assertion-class-cl-abap-unit-assert-is-final/m-p/8705482#M1671317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for that information!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing that is a pity for me is that code using the old class should be rafactored...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 15:05:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-assertion-class-cl-abap-unit-assert-is-final/m-p/8705482#M1671317</guid>
      <dc:creator>wol</dc:creator>
      <dc:date>2012-05-09T15:05:07Z</dc:date>
    </item>
  </channel>
</rss>

