diff options
author | joost <joost@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2013-07-14 11:33:52 +0000 |
---|---|---|
committer | joost <joost@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2013-07-14 11:33:52 +0000 |
commit | 7e969e3056ad0347fcf2923a11f890eceec843fd (patch) | |
tree | c071a54c51564f1295e91b84473f1bb221dca3ee | |
parent | 154a0fe0a1634872a8b37be29c498eed2e00b0d1 (diff) | |
download | fpc-7e969e3056ad0347fcf2923a11f890eceec843fd.tar.gz |
* Adapted test for changes in r25094
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/joost@25095 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r-- | classattributes/tests/test/tclassattribute9.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/classattributes/tests/test/tclassattribute9.pp b/classattributes/tests/test/tclassattribute9.pp index e3d7953cf4..4ce8f81ac9 100644 --- a/classattributes/tests/test/tclassattribute9.pp +++ b/classattributes/tests/test/tclassattribute9.pp @@ -16,15 +16,15 @@ type end; var - rtd: PExtRTTIData; + ad: PAttributeData; AClassAttribute: TCustomAttribute; begin - rtd := GetExtRTTIData(TMyObject.ClassInfo); - if rtd^.AttributeData^.AttributeCount<>1 then + ad := GetAttributeData(TMyObject.ClassInfo); + if ad^.AttributeCount<>1 then halt(1); - AClassAttribute := GetClassAttribute(rtd,0) as TCustomAttribute; + AClassAttribute := GetAttribute(ad,0); if AClassAttribute = nil then halt(2); writeln('ok'); |