Skip to content

Commit

Permalink
[FOLD] update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sdkrystian committed Jul 29, 2024
1 parent 0456abe commit 69c2d00
Show file tree
Hide file tree
Showing 42 changed files with 343 additions and 283 deletions.
14 changes: 7 additions & 7 deletions test-files/golden-tests/alias-template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,33 @@
<namespace id="//////////////////////////8=">
<template>
<tparam name="T" class="type"/>
<struct name="A" id="5tUSuMtQqtYE49jBjSYSWp0DJAM=">
<struct name="A" id="KtZkMq/fLAbkUtqWQglhsvKmYxU=">
<file path="alias-template.cpp" line="2" class="def"/>
</struct>
</template>
<template>
<tparam name="T" class="type"/>
<tparam name="U" class="type"/>
<struct name="B" id="swBEqeWAJoaWVKty+1lCoYUK04A=">
<struct name="B" id="V2F3V3ndy3KN5ckfyM+G5qAoHXI=">
<file path="alias-template.cpp" line="5" class="def"/>
</struct>
</template>
<template>
<tparam name="T" class="type"/>
<alias name="C" id="f75RIL8qKOwbyH6ffvrv59F0nCA=">
<alias name="C" id="MWobN62AU+ILEYgRIM9hIFeLArk=">
<file path="alias-template.cpp" line="8" class="def"/>
<type id="5tUSuMtQqtYE49jBjSYSWp0DJAM=" name="A&lt;T&gt;"/>
<type id="KtZkMq/fLAbkUtqWQglhsvKmYxU=" name="A&lt;T&gt;"/>
</alias>
</template>
<template>
<tparam name="T" class="type"/>
<struct name="D" id="i5oK/nki0o3BH2ZAgkGyaGib07g=">
<struct name="D" id="60vLXzzXrcyt7wdpSIgi7C4xBLI=">
<file path="alias-template.cpp" line="11" class="def"/>
<template>
<tparam name="U" class="type"/>
<alias name="E" id="STM3CgeaOEakPrQJdlRWWM4MMFo=">
<alias name="E" id="zV9va2Cgg4EemkFBDzmsUsaWqtA=">
<file path="alias-template.cpp" line="14" class="def"/>
<type id="swBEqeWAJoaWVKty+1lCoYUK04A=" name="B&lt;T, U&gt;"/>
<type id="V2F3V3ndy3KN5ckfyM+G5qAoHXI=" name="B&lt;T, U&gt;"/>
</alias>
</template>
</struct>
Expand Down
8 changes: 4 additions & 4 deletions test-files/golden-tests/class-template-partial-spec.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@
<namespace id="//////////////////////////8=">
<template>
<tparam name="T" class="type"/>
<struct name="A" id="5tUSuMtQqtYE49jBjSYSWp0DJAM=">
<struct name="A" id="KtZkMq/fLAbkUtqWQglhsvKmYxU=">
<file path="class-template-partial-spec.cpp" line="2" class="def"/>
<template>
<tparam name="U" class="type"/>
<tparam name="V" class="type"/>
<struct name="B" id="oAtKB0INIy/QCSdQExvcQwsaZJA=">
<struct name="B" id="Ph5GAzDdD1dYWDQewyS+hNIC2tY=">
<file path="class-template-partial-spec.cpp" line="5" class="def"/>
</struct>
</template>
<template class="partial" id="oAtKB0INIy/QCSdQExvcQwsaZJA=">
<template class="partial" id="Ph5GAzDdD1dYWDQewyS+hNIC2tY=">
<tparam name="U" class="type"/>
<targ class="type" type="U*"/>
<targ class="type" type="T"/>
<struct name="B" id="Y/lm1lkT88vf1Ml123mbuN6Fp2Y=">
<file path="class-template-partial-spec.cpp" line="8" class="def"/>
</struct>
</template>
<template class="explicit" id="oAtKB0INIy/QCSdQExvcQwsaZJA=">
<template class="explicit" id="Ph5GAzDdD1dYWDQewyS+hNIC2tY=">
<targ class="type" type="T"/>
<targ class="type" type="long"/>
<struct name="B" id="RB9DBMAJDxjxuRQCinQOVPFSNek=">
Expand Down
18 changes: 9 additions & 9 deletions test-files/golden-tests/class-template-spec.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<namespace id="//////////////////////////8=">
<template>
<tparam name="T" class="type"/>
<struct name="A" id="5tUSuMtQqtYE49jBjSYSWp0DJAM=">
<struct name="A" id="KtZkMq/fLAbkUtqWQglhsvKmYxU=">
<file path="class-template-spec.cpp" line="2" class="def"/>
<function name="f" id="c4jAAYDw9qnOxUCpXquNT7fALUY=">
<file path="class-template-spec.cpp" line="4"/>
</function>
</struct>
</template>
<template class="explicit" id="5tUSuMtQqtYE49jBjSYSWp0DJAM=">
<template class="explicit" id="KtZkMq/fLAbkUtqWQglhsvKmYxU=">
<targ class="type" type="int"/>
<struct name="A" id="AKwlChAOi+0ttIAPsD7uitS+gk0=">
<file path="class-template-spec.cpp" line="8" class="def"/>
Expand All @@ -20,7 +20,7 @@
</function>
</struct>
</template>
<template class="explicit" id="5tUSuMtQqtYE49jBjSYSWp0DJAM=">
<template class="explicit" id="KtZkMq/fLAbkUtqWQglhsvKmYxU=">
<targ class="type" type="long"/>
<struct name="A" id="y/8TvVlacBAIG2ds2aYgZE+zGUU=">
<file path="class-template-spec.cpp" line="14" class="def"/>
Expand All @@ -31,14 +31,14 @@
</template>
<template>
<tparam name="T" class="type"/>
<struct name="B" id="Bu/3QcmNOdsc7RSM3OKHnuCxGPU=">
<struct name="B" id="xR8xgSzHWQ0yZk5it+GArXmYkQI=">
<file path="class-template-spec.cpp" line="20" class="def"/>
<function name="f" id="toIq7IwIU6fbbbkqhsEmDYWVF00=">
<file path="class-template-spec.cpp" line="22"/>
</function>
</struct>
</template>
<template class="partial" id="Bu/3QcmNOdsc7RSM3OKHnuCxGPU=">
<template class="partial" id="xR8xgSzHWQ0yZk5it+GArXmYkQI=">
<tparam name="T" class="type"/>
<targ class="type" type="T*"/>
<struct name="B" id="dydGCFMdrM4nOwuv3RCXqg2KCUA=">
Expand All @@ -48,7 +48,7 @@
</function>
</struct>
</template>
<template class="partial" id="Bu/3QcmNOdsc7RSM3OKHnuCxGPU=">
<template class="partial" id="xR8xgSzHWQ0yZk5it+GArXmYkQI=">
<tparam name="T" class="type"/>
<targ class="type" type="T&amp;"/>
<struct name="B" id="ZjUaxeOoGJ0Jol9Nmn7cGRE7RCo=">
Expand All @@ -61,14 +61,14 @@
<template>
<tparam name="T" class="type"/>
<tparam name="U" class="type"/>
<struct name="C" id="8nYw0KA23eAszqSOs0wOXAD1DYQ=">
<struct name="C" id="hmNC3m7HNCbZb9WRs7cRC5TnOFw=">
<file path="class-template-spec.cpp" line="38" class="def"/>
<function name="f" id="mhp5LhlIUPVO0i2zQmcJLvBQAlk=">
<file path="class-template-spec.cpp" line="40"/>
</function>
</struct>
</template>
<template class="explicit" id="8nYw0KA23eAszqSOs0wOXAD1DYQ=">
<template class="explicit" id="hmNC3m7HNCbZb9WRs7cRC5TnOFw=">
<targ class="type" type="int"/>
<targ class="type" type="int"/>
<struct name="C" id="qrcrkE8Br83XKNMh95Dvwpph/M8=">
Expand All @@ -78,7 +78,7 @@
</function>
</struct>
</template>
<template class="partial" id="8nYw0KA23eAszqSOs0wOXAD1DYQ=">
<template class="partial" id="hmNC3m7HNCbZb9WRs7cRC5TnOFw=">
<tparam name="T" class="type"/>
<targ class="type" type="T*"/>
<targ class="type" type="int"/>
Expand Down
Loading

0 comments on commit 69c2d00

Please sign in to comment.