'Unknown' build status causes an application crash.
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
What steps will reproduce the problem?
1. CCNet Dashboard has a project with a Last Build Status of 'Unknown'
2. Run BVC against the dashboard.
3. Watch BVC crash.
What is the expected output? What do you see instead?
Expect to see a fall-through color indicating some alternative state.
Instead, the app crashes.
Here is a sample test to reproduce (the test assumes that we want the
background to be white for an 'Unknown' status)...
{{{
In BuildStatusToColorConverter_Test of BigVisibleCruise.Tests
}}}
{{{
[Test]
public void a_build_status_of_unknown_is_white()
{
string startingValue = "Unknown";
IValueConverter converter = new BuildStatusToColorConverter();
object convertedValue = converter.Convert(startingValue, null,
null, null);
Assert.That(Color.Equals(convertedValue.ToString(),
Colors.White.ToString()));
}
}}}
Original issue reported on code.google.com by benca...@gmail.com
on 21 Nov 2007 at 4:39
Google Code Exporter commented
Original comment by benca...@gmail.com
on 21 Nov 2007 at 4:49
- Changed state: Fixed