proj.LoadXml (documentString);
}
+ // A reference to an item list at position 1 is not allowed in this condition "@(A)".
[Test]
- [ExpectedException (typeof (InvalidProjectFileException),
- "A reference to an item list at position 1 is not allowed in this condition \"@(A)\". ")]
+ [ExpectedException (typeof (InvalidProjectFileException))]
[Category ("NotWorking")]
public void TestIncorrectCondition2 ()
{
proj.LoadXml (documentString);
}
+ // Found an unexpected character '%' at position 0 in condition \%(A)\.
[Test]
- [ExpectedException (typeof (InvalidProjectFileException),
- "Found an unexpected character '%' at position 0 in condition \"%(A)\". ")]
+ [ExpectedException (typeof (InvalidProjectFileException))]
[Category ("NotWorking")]
public void TestIncorrectCondition3 ()
{
proj.LoadXml (documentString);
}
+ // Found an unexpected character '%' at position 0 in condition "%(A)\.
[Test]
- [ExpectedException (typeof (InvalidProjectFileException),
- "Found an unexpected character '%' at position 0 in condition \"%(A)\". ")]
+ [ExpectedException (typeof (InvalidProjectFileException))]
[Category ("NotWorking")]
public void TestIncorrectCondition4 ()
{
CheckItems (proj, "Item7", "A6", "A", "B", "C");
}
+ // The expression "@(Item1, '@(A,'')')" cannot be used in this context.
+ // Item lists cannot be concatenated with other strings where an item list is expected.
+ // Use a semicolon to separate multiple item lists.
[Test]
- [ExpectedException (typeof (InvalidProjectFileException),
- "The expression \"@(Item1, '@(A,'')')\" cannot be used in this context. " +
- "Item lists cannot be concatenated with other strings where an item list is expected. " +
- "Use a semicolon to separate multiple item lists. ")]
+ [ExpectedException (typeof (InvalidProjectFileException))]
[Category ("NotWorking")]
public void TestItems7 ()
{
proj.LoadXml (documentString);
}
+ // The expression "@(Item1, '@(A->'')')" cannot be used in this context.
+ // Item lists cannot be concatenated with other strings where an item list is expected.
+ // Use a semicolon to separate multiple item lists.
[Test]
- [ExpectedException (typeof (InvalidProjectFileException),
- "The expression \"@(Item1, '@(A->'')')\" cannot be used in this context. " +
- "Item lists cannot be concatenated with other strings where an item list is expected. " +
- "Use a semicolon to separate multiple item lists. ")]
+ [ExpectedException (typeof (InvalidProjectFileException))]
[Category ("NotWorking")]
public void TestItems8 ()
{
proj.LoadXml (documentString);
}
+ // The expression "@(Item1, '@(A->'','')')" cannot be used in this context.
+ // Item lists cannot be concatenated with other strings where an item list is expected.
+ // Use a semicolon to separate multiple item lists.
[Test]
- [ExpectedException (typeof (InvalidProjectFileException),
- "The expression \"@(Item1, '@(A->'','')')\" cannot be used in this context. " +
- "Item lists cannot be concatenated with other strings where an item list is expected. " +
- "Use a semicolon to separate multiple item lists. ")]
+ [ExpectedException (typeof (InvalidProjectFileException))]
[Category ("NotWorking")]
public void TestItems9 ()
{