mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-22 17:48:01 +02:00
Fixed attribute processing
This commit is contained in:
parent
1f539595e0
commit
e263f3a37f
1 changed files with 8 additions and 12 deletions
|
@ -388,20 +388,16 @@ namespace IDE
|
||||||
testEntry.mLine = int32.Parse(cmdParts[3]).Get();
|
testEntry.mLine = int32.Parse(cmdParts[3]).Get();
|
||||||
testEntry.mColumn = int32.Parse(cmdParts[4]).Get();
|
testEntry.mColumn = int32.Parse(cmdParts[4]).Get();
|
||||||
|
|
||||||
|
|
||||||
List<StringView> attributes = scope .(attribs.Split('\a'));
|
List<StringView> attributes = scope .(attribs.Split('\a'));
|
||||||
for(var i in attributes)
|
for (var i in attributes)
|
||||||
{
|
{
|
||||||
if(i.StartsWith('\v'))
|
if (i == "Sf")
|
||||||
{
|
testEntry.mShouldFail = true;
|
||||||
if(i == "Sf")
|
else if (i == "Pr")
|
||||||
testEntry.mShouldFail = true;
|
testEntry.mProfile = true;
|
||||||
else if(i == "Pr")
|
else if (i == "Ig")
|
||||||
testEntry.mProfile = true;
|
testEntry.mIgnore = true;
|
||||||
else if(i == "Ig")
|
else if (i.StartsWith("Name"))
|
||||||
testEntry.mIgnore = true;
|
|
||||||
}
|
|
||||||
else if(i.StartsWith("Name"))
|
|
||||||
{
|
{
|
||||||
testEntry.mName.Clear();
|
testEntry.mName.Clear();
|
||||||
scope String(i.Substring("Name".Length)).Escape(testEntry.mName);
|
scope String(i.Substring("Name".Length)).Escape(testEntry.mName);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue