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.mColumn = int32.Parse(cmdParts[4]).Get();
|
||||
|
||||
|
||||
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;
|
||||
else if(i == "Pr")
|
||||
testEntry.mProfile = true;
|
||||
else if(i == "Ig")
|
||||
testEntry.mIgnore = true;
|
||||
}
|
||||
else if(i.StartsWith("Name"))
|
||||
if (i == "Sf")
|
||||
testEntry.mShouldFail = true;
|
||||
else if (i == "Pr")
|
||||
testEntry.mProfile = true;
|
||||
else if (i == "Ig")
|
||||
testEntry.mIgnore = true;
|
||||
else if (i.StartsWith("Name"))
|
||||
{
|
||||
testEntry.mName.Clear();
|
||||
scope String(i.Substring("Name".Length)).Escape(testEntry.mName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue