public void extractTest3() { string rawdata = @"11>windows\Search.cpp(2246): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int"; ItemEW target = new ItemEW(); target.updateRaw(rawdata); Assert.IsTrue(target.ErrorsCount == 1); Assert.IsTrue(target.WarningsCount < 1); }
public void extractTest2() { string rawdata = @"9>C:\VC\atlmfc\include\atlhost.h(422): warning C4505: 'ATL::CAxHostWindow::AddRef' : unreferenced local function has been removed"; ItemEW target = new ItemEW(); target.updateRaw(rawdata); Assert.IsTrue(target.ErrorsCount < 1); Assert.IsTrue(target.WarningsCount == 1); }