You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(142) |
Jun
(27) |
Jul
(122) |
Aug
(36) |
Sep
(59) |
Oct
(86) |
Nov
(140) |
Dec
(80) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(52) |
Feb
(153) |
Mar
(118) |
Apr
(143) |
May
(123) |
Jun
(64) |
Jul
(282) |
Aug
(469) |
Sep
(56) |
Oct
(201) |
Nov
(182) |
Dec
(31) |
| 2005 |
Jan
(229) |
Feb
(316) |
Mar
(187) |
Apr
(130) |
May
(190) |
Jun
(154) |
Jul
(148) |
Aug
(133) |
Sep
(209) |
Oct
(234) |
Nov
(100) |
Dec
(40) |
| 2006 |
Jan
(1) |
Feb
(87) |
Mar
(73) |
Apr
(126) |
May
(58) |
Jun
(8) |
Jul
(12) |
Aug
(14) |
Sep
(22) |
Oct
(33) |
Nov
(4) |
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
1
(7) |
2
|
3
|
4
|
|
5
(7) |
6
(1) |
7
(5) |
8
(7) |
9
|
10
(4) |
11
|
|
12
|
13
|
14
|
15
(2) |
16
(4) |
17
|
18
|
|
19
|
20
|
21
(2) |
22
|
23
|
24
|
25
(32) |
|
26
(1) |
27
(1) |
28
|
29
|
30
|
31
|
|
|
From: David C. <dav...@us...> - 2006-03-27 03:01:37
|
Update of /cvsroot/ccnet/ccnet/project/CCTrayLib/Presentation In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5535/project/CCTrayLib/Presentation Modified Files: CCTrayMultiSettingsForm.cs Log Message: CCNET-665 : CCTray Exception Setting unable to handle multiple selections. Remove button now removes all selected projects. Exception no longer occurs because after a removal, no items are selected. Index: CCTrayMultiSettingsForm.cs =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/CCTrayLib/Presentation/CCTrayMultiSettingsForm.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** CCTrayMultiSettingsForm.cs 13 Sep 2005 15:57:26 -0000 1.7 --- CCTrayMultiSettingsForm.cs 27 Mar 2006 03:01:30 -0000 1.8 *************** *** 1,6 **** using System; using System.ComponentModel; - using System.Drawing; - using System.Resources; using System.Windows.Forms; using ThoughtWorks.CruiseControl.CCTrayLib.Configuration; --- 1,4 ---- *************** *** 127,131 **** private void InitializeComponent() { ! System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(CCTrayMultiSettingsForm)); this.chkShowBalloons = new System.Windows.Forms.CheckBox(); this.grpServers = new System.Windows.Forms.GroupBox(); --- 125,129 ---- private void InitializeComponent() { ! System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof (CCTrayMultiSettingsForm)); this.chkShowBalloons = new System.Windows.Forms.CheckBox(); this.grpServers = new System.Windows.Forms.GroupBox(); *************** *** 166,170 **** this.grpServers.SuspendLayout(); this.grpAudio.SuspendLayout(); ! ((System.ComponentModel.ISupportInitialize)(this.numPollPeriod)).BeginInit(); this.SuspendLayout(); // --- 164,168 ---- this.grpServers.SuspendLayout(); this.grpAudio.SuspendLayout(); ! ((System.ComponentModel.ISupportInitialize) (this.numPollPeriod)).BeginInit(); this.SuspendLayout(); // *************** *** 180,185 **** // grpServers // ! this.grpServers.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) ! | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.grpServers.Controls.Add(this.lvProjects); --- 178,183 ---- // grpServers // ! this.grpServers.Anchor = ((System.Windows.Forms.AnchorStyles) ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) ! | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.grpServers.Controls.Add(this.lvProjects); *************** *** 199,208 **** // lvProjects // ! this.lvProjects.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) ! | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); ! this.lvProjects.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { ! this.columnHeader1, ! this.columnHeader2}); this.lvProjects.FullRowSelect = true; this.lvProjects.HideSelection = false; --- 197,208 ---- // lvProjects // ! this.lvProjects.Anchor = ((System.Windows.Forms.AnchorStyles) ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) ! | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); ! this.lvProjects.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] ! { ! this.columnHeader1, ! this.columnHeader2 ! }); this.lvProjects.FullRowSelect = true; this.lvProjects.HideSelection = false; *************** *** 226,230 **** // label1 // ! this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label1.Location = new System.Drawing.Point(10, 25); --- 226,230 ---- // label1 // ! this.label1.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label1.Location = new System.Drawing.Point(10, 25); *************** *** 236,240 **** // btnAdd // ! this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnAdd.Location = new System.Drawing.Point(495, 60); --- 236,240 ---- // btnAdd // ! this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnAdd.Location = new System.Drawing.Point(495, 60); *************** *** 246,250 **** // btnMoveDown // ! this.btnMoveDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnMoveDown.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnMoveDown.Location = new System.Drawing.Point(495, 200); --- 246,250 ---- // btnMoveDown // ! this.btnMoveDown.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnMoveDown.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnMoveDown.Location = new System.Drawing.Point(495, 200); *************** *** 256,260 **** // btnMoveUp // ! this.btnMoveUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnMoveUp.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnMoveUp.Location = new System.Drawing.Point(495, 165); --- 256,260 ---- // btnMoveUp // ! this.btnMoveUp.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnMoveUp.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnMoveUp.Location = new System.Drawing.Point(495, 165); *************** *** 266,270 **** // btnRemove // ! this.btnRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnRemove.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnRemove.Location = new System.Drawing.Point(495, 95); --- 266,270 ---- // btnRemove // ! this.btnRemove.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnRemove.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnRemove.Location = new System.Drawing.Point(495, 95); *************** *** 297,301 **** // grpAudio // ! this.grpAudio.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.grpAudio.Controls.Add(this.btnStillFailingPlay); --- 297,301 ---- // grpAudio // ! this.grpAudio.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.grpAudio.Controls.Add(this.btnStillFailingPlay); *************** *** 325,329 **** // btnStillFailingPlay // ! this.btnStillFailingPlay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnStillFailingPlay.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnStillFailingPlay.Location = new System.Drawing.Point(495, 95); --- 325,329 ---- // btnStillFailingPlay // ! this.btnStillFailingPlay.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnStillFailingPlay.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnStillFailingPlay.Location = new System.Drawing.Point(495, 95); *************** *** 334,338 **** // btnStillFailingBrowse // ! this.btnStillFailingBrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnStillFailingBrowse.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnStillFailingBrowse.Location = new System.Drawing.Point(410, 95); --- 334,338 ---- // btnStillFailingBrowse // ! this.btnStillFailingBrowse.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnStillFailingBrowse.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnStillFailingBrowse.Location = new System.Drawing.Point(410, 95); *************** *** 343,347 **** // btnBrokenPlay // ! this.btnBrokenPlay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnBrokenPlay.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnBrokenPlay.Location = new System.Drawing.Point(495, 71); --- 343,347 ---- // btnBrokenPlay // ! this.btnBrokenPlay.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnBrokenPlay.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnBrokenPlay.Location = new System.Drawing.Point(495, 71); *************** *** 352,356 **** // btnBrokenBrowse // ! this.btnBrokenBrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnBrokenBrowse.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnBrokenBrowse.Location = new System.Drawing.Point(410, 71); --- 352,356 ---- // btnBrokenBrowse // ! this.btnBrokenBrowse.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnBrokenBrowse.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnBrokenBrowse.Location = new System.Drawing.Point(410, 71); *************** *** 361,365 **** // btnFixedPlay // ! this.btnFixedPlay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnFixedPlay.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnFixedPlay.Location = new System.Drawing.Point(495, 47); --- 361,365 ---- // btnFixedPlay // ! this.btnFixedPlay.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnFixedPlay.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnFixedPlay.Location = new System.Drawing.Point(495, 47); *************** *** 370,374 **** // btnFixedBrowse // ! this.btnFixedBrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnFixedBrowse.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnFixedBrowse.Location = new System.Drawing.Point(410, 47); --- 370,374 ---- // btnFixedBrowse // ! this.btnFixedBrowse.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnFixedBrowse.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnFixedBrowse.Location = new System.Drawing.Point(410, 47); *************** *** 379,383 **** // btnSuccessfulPlay // ! this.btnSuccessfulPlay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnSuccessfulPlay.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnSuccessfulPlay.Location = new System.Drawing.Point(495, 23); --- 379,383 ---- // btnSuccessfulPlay // ! this.btnSuccessfulPlay.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnSuccessfulPlay.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnSuccessfulPlay.Location = new System.Drawing.Point(495, 23); *************** *** 388,392 **** // btnSuccessfulBrowse // ! this.btnSuccessfulBrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnSuccessfulBrowse.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnSuccessfulBrowse.Location = new System.Drawing.Point(410, 23); --- 388,392 ---- // btnSuccessfulBrowse // ! this.btnSuccessfulBrowse.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnSuccessfulBrowse.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnSuccessfulBrowse.Location = new System.Drawing.Point(410, 23); *************** *** 397,401 **** // txtAudioFileSuccess // ! this.txtAudioFileSuccess.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtAudioFileSuccess.Location = new System.Drawing.Point(112, 24); --- 397,401 ---- // txtAudioFileSuccess // ! this.txtAudioFileSuccess.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtAudioFileSuccess.Location = new System.Drawing.Point(112, 24); *************** *** 447,451 **** // txtAudioFileFixed // ! this.txtAudioFileFixed.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtAudioFileFixed.Location = new System.Drawing.Point(112, 48); --- 447,451 ---- // txtAudioFileFixed // ! this.txtAudioFileFixed.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtAudioFileFixed.Location = new System.Drawing.Point(112, 48); *************** *** 457,461 **** // txtAudioFileBroken // ! this.txtAudioFileBroken.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtAudioFileBroken.Location = new System.Drawing.Point(112, 72); --- 457,461 ---- // txtAudioFileBroken // ! this.txtAudioFileBroken.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtAudioFileBroken.Location = new System.Drawing.Point(112, 72); *************** *** 467,471 **** // txtAudioFileFailing // ! this.txtAudioFileFailing.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtAudioFileFailing.Location = new System.Drawing.Point(112, 96); --- 467,471 ---- // txtAudioFileFailing // ! this.txtAudioFileFailing.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtAudioFileFailing.Location = new System.Drawing.Point(112, 96); *************** *** 546,555 **** this.Controls.Add(this.grpServers); this.Controls.Add(this.chkShowBalloons); ! this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "CCTrayMultiSettingsForm"; this.Text = "CruiseControl.NET Tray Settings"; this.grpServers.ResumeLayout(false); this.grpAudio.ResumeLayout(false); ! ((System.ComponentModel.ISupportInitialize)(this.numPollPeriod)).EndInit(); this.ResumeLayout(false); --- 546,555 ---- this.Controls.Add(this.grpServers); this.Controls.Add(this.chkShowBalloons); ! this.Icon = ((System.Drawing.Icon) (resources.GetObject("$this.Icon"))); this.Name = "CCTrayMultiSettingsForm"; this.Text = "CruiseControl.NET Tray Settings"; this.grpServers.ResumeLayout(false); this.grpAudio.ResumeLayout(false); ! ((System.ComponentModel.ISupportInitialize) (this.numPollPeriod)).EndInit(); this.ResumeLayout(false); *************** *** 592,596 **** private void btnRemove_Click(object sender, EventArgs e) { ! lvProjects.Items.RemoveAt(selectedIndex); } --- 592,601 ---- private void btnRemove_Click(object sender, EventArgs e) { ! lvProjects.BeginUpdate(); ! foreach (ListViewItem item in lvProjects.SelectedItems) ! { ! lvProjects.Items.Remove(item); ! } ! lvProjects.EndUpdate(); } *************** *** 638,643 **** configuration.TrayIconDoubleClickAction = (rdoStatusWindow.Checked ! ? TrayIconDoubleClickAction.ShowStatusWindow ! : TrayIconDoubleClickAction.NavigateToWebPageOfFirstProject); configuration.Audio.BrokenBuildSound = brokenAudio.Value; --- 643,648 ---- configuration.TrayIconDoubleClickAction = (rdoStatusWindow.Checked ! ? TrayIconDoubleClickAction.ShowStatusWindow ! : TrayIconDoubleClickAction.NavigateToWebPageOfFirstProject); configuration.Audio.BrokenBuildSound = brokenAudio.Value; |
|
From: David C. <dav...@us...> - 2006-03-26 23:12:23
|
Update of /cvsroot/ccnet/ccnet/project/UnitTests/Core/Tasks In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23301/project/UnitTests/Core/Tasks Modified Files: NAntTaskTest.cs Log Message: addresses order dependency in tests exposed by running fixture with Nunit-gui Index: NAntTaskTest.cs =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/UnitTests/Core/Tasks/NAntTaskTest.cs,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** NAntTaskTest.cs 15 Aug 2005 11:13:12 -0000 1.12 --- NAntTaskTest.cs 26 Mar 2006 23:12:17 -0000 1.13 *************** *** 20,23 **** --- 20,24 ---- public void SetUp() { + DefaultWorkingDirectory = @"c:\source"; CreateProcessExecutorMock(NAntTask.DefaultExecutable); builder = new NAntTask((ProcessExecutor) mockProcessExecutor.MockInstance); |
|
From: Owen R. <exo...@us...> - 2006-03-25 03:03:10
|
Update of /cvsroot/ccnet/ccnet/project/core/publishers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24960/project/core/publishers Modified Files: BuildLogTransformer.cs Removed Files: IBuildLogTransformer.cs Log Message: trying to reduce compilation warnings Index: BuildLogTransformer.cs =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/core/publishers/BuildLogTransformer.cs,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** BuildLogTransformer.cs 28 Sep 2004 17:20:48 -0000 1.16 --- BuildLogTransformer.cs 25 Mar 2006 03:03:06 -0000 1.17 *************** *** 1,10 **** - using System; using System.Collections; using System.Configuration; - using System.IO; using System.Text; - using System.Xml; using System.Xml.XPath; ! using System.Xml.Xsl; namespace ThoughtWorks.CruiseControl.Core.Publishers --- 1,7 ---- using System.Collections; using System.Configuration; using System.Text; using System.Xml.XPath; ! using ThoughtWorks.CruiseControl.Core.Util; namespace ThoughtWorks.CruiseControl.Core.Publishers *************** *** 14,18 **** /// Xsl stylesheets. /// </summary> ! public class BuildLogTransformer : IBuildLogTransformer { /// <summary> --- 11,15 ---- /// Xsl stylesheets. /// </summary> ! public class BuildLogTransformer { /// <summary> *************** *** 34,88 **** return builder.ToString(); foreach (string xslFile in xslFiles) { ! builder.Append(Transform(document, xslFile)); } return builder.ToString(); } - - /// <summary> - /// Transforms an Xml document using a specific Xsl file. - /// </summary> - /// <param name="document"></param> - /// <param name="xslFile"></param> - /// <returns></returns> - public string Transform(XPathDocument document, string xslFile) - { - try - { - XslTransform transform = new XslTransform(); - LoadStylesheet(transform, xslFile); - - StringWriter output = new StringWriter(); - transform.Transform(document, null, new XmlTextWriter(output)); - return output.ToString(); - } - catch (Exception ex) - { - throw new CruiseControlException("Unable to execute transform: " + xslFile, ex); - } - } - - /// <summary> - /// Attempts to load the specified stylesheet. Throws a <see cref="CruiseControlException"/> - /// if an error occurs. - /// </summary> - /// <param name="transform"></param> - /// <param name="xslFileName"></param> - private void LoadStylesheet(XslTransform transform, string xslFileName) - { - try - { - transform.Load(xslFileName); - } - catch (FileNotFoundException) - { - throw new CruiseControlException("XSL stylesheet file not found: " + xslFileName); - } - catch (XmlException ex) - { - throw new CruiseControlException("Bad XML in stylesheet: " + ex.Message); - } - } } } \ No newline at end of file --- 31,41 ---- return builder.ToString(); + XslTransformer transformer = new XslTransformer(); foreach (string xslFile in xslFiles) { ! builder.Append(transformer.TransformToXml(xslFile, document)); } return builder.ToString(); } } } \ No newline at end of file --- IBuildLogTransformer.cs DELETED --- |
|
From: Owen R. <exo...@us...> - 2006-03-25 03:03:10
|
Update of /cvsroot/ccnet/ccnet/project/core/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24960/project/core/util Modified Files: XslTransformer.cs Log Message: trying to reduce compilation warnings Index: XslTransformer.cs =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/core/util/XslTransformer.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** XslTransformer.cs 1 Mar 2006 07:17:17 -0000 1.7 --- XslTransformer.cs 25 Mar 2006 03:03:06 -0000 1.8 *************** *** 9,20 **** public class XslTransformer : ITransformer { ! public string Transform(string input, string transformerFileName, Hashtable xsltArgs) { using (StringReader inputReader = new StringReader(input)) { try { - XslTransform transform = new XslTransform(); - LoadStylesheet(transform, transformerFileName); StringWriter output = new StringWriter(); transform.Transform(new XPathDocument(inputReader), CreateXsltArgs(xsltArgs), output); --- 9,20 ---- public class XslTransformer : ITransformer { ! public string Transform(string input, string xslFilename, Hashtable xsltArgs) { + XslTransform transform = NewXslTransform(xslFilename); + using (StringReader inputReader = new StringReader(input)) { try { StringWriter output = new StringWriter(); transform.Transform(new XPathDocument(inputReader), CreateXsltArgs(xsltArgs), output); *************** *** 23,31 **** catch (XmlException ex) { ! throw new CruiseControlException("Unable to execute transform: " + transformerFileName, ex); } } } private XsltArgumentList CreateXsltArgs(Hashtable xsltArgs) { --- 23,53 ---- catch (XmlException ex) { ! throw new CruiseControlException("Unable to execute transform: " + xslFilename, ex); } } } + public string TransformToXml(string xslFilename, XPathDocument document) + { + XslTransform transform = NewXslTransform(xslFilename); + try + { + StringWriter output = new StringWriter(); + transform.Transform(document, null, new XmlTextWriter(output)); + return output.ToString(); + } + catch (XmlException ex) + { + throw new CruiseControlException("Unable to execute transform: " + xslFilename, ex); + } + } + + private XslTransform NewXslTransform(string transformerFileName) + { + XslTransform transform = new XslTransform(); + LoadStylesheet(transform, transformerFileName); + return transform; + } + private XsltArgumentList CreateXsltArgs(Hashtable xsltArgs) { |
|
From: Owen R. <exo...@us...> - 2006-03-25 03:03:10
|
Update of /cvsroot/ccnet/ccnet/project/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24960/project/core Modified Files: core.csproj Log Message: trying to reduce compilation warnings Index: core.csproj =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/core/core.csproj,v retrieving revision 1.174 retrieving revision 1.175 diff -C2 -d -r1.174 -r1.175 *** core.csproj 15 Feb 2006 17:28:27 -0000 1.174 --- core.csproj 25 Mar 2006 03:03:05 -0000 1.175 *************** *** 500,508 **** /> <File - RelPath = "publishers\IBuildLogTransformer.cs" - SubType = "Code" - BuildAction = "Compile" - /> - <File RelPath = "publishers\IMessageBuilder.cs" SubType = "Code" --- 500,503 ---- |
|
From: Owen R. <exo...@us...> - 2006-03-25 03:03:10
|
Update of /cvsroot/ccnet/ccnet/project/UnitTests/Core/Util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24960/project/UnitTests/Core/Util Modified Files: XslTransformerTest.cs Log Message: trying to reduce compilation warnings Index: XslTransformerTest.cs =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/UnitTests/Core/Util/XslTransformerTest.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** XslTransformerTest.cs 16 Nov 2005 19:55:23 -0000 1.5 --- XslTransformerTest.cs 25 Mar 2006 03:03:05 -0000 1.6 *************** *** 1,4 **** --- 1,5 ---- using System; using System.Collections; + using System.Text; using NUnit.Framework; using ThoughtWorks.CruiseControl.Core; |
|
From: Owen R. <exo...@us...> - 2006-03-25 03:03:10
|
Update of /cvsroot/ccnet/ccnet/project/WebDashboard/MVC/View In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24960/project/WebDashboard/MVC/View Modified Files: LazilyInitialisingVelocityTransformer.cs Log Message: trying to reduce compilation warnings Index: LazilyInitialisingVelocityTransformer.cs =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/WebDashboard/MVC/View/LazilyInitialisingVelocityTransformer.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** LazilyInitialisingVelocityTransformer.cs 12 Feb 2006 13:16:03 -0000 1.5 --- LazilyInitialisingVelocityTransformer.cs 25 Mar 2006 03:03:05 -0000 1.6 *************** *** 2,5 **** --- 2,6 ---- using System.Collections; using System.IO; + using System.Text; using NVelocity; using NVelocity.App; *************** *** 28,32 **** try { ! VelocityEngine.MergeTemplate(transformerFileName, new VelocityContext(transformable), writer); } catch (Exception baseException) --- 29,33 ---- try { ! VelocityEngine.MergeTemplate(transformerFileName, RuntimeConstants.ENCODING_DEFAULT, new VelocityContext(transformable), writer); } catch (Exception baseException) |
|
From: Owen R. <exo...@us...> - 2006-03-25 03:03:10
|
Update of /cvsroot/ccnet/ccnet/project/WebDashboard/Dashboard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24960/project/WebDashboard/Dashboard Modified Files: IBuildLogTransformer.cs Log Message: trying to reduce compilation warnings Index: IBuildLogTransformer.cs =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/WebDashboard/Dashboard/IBuildLogTransformer.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** IBuildLogTransformer.cs 16 Nov 2005 19:55:23 -0000 1.5 --- IBuildLogTransformer.cs 25 Mar 2006 03:03:05 -0000 1.6 *************** *** 8,10 **** string Transform(IBuildSpecifier build, string[] transformerFileNames, Hashtable xsltArgs); } ! } --- 8,10 ---- string Transform(IBuildSpecifier build, string[] transformerFileNames, Hashtable xsltArgs); } ! } \ No newline at end of file |
|
From: Owen R. <exo...@us...> - 2006-03-25 01:48:36
|
Update of /cvsroot/ccnet/ccnet/tools/nant/lib/net/2.0 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17298/tools/nant/lib/net/2.0 Modified Files: nunit.core.dll nunit.framework.dll nunit.util.dll Log Message: upgrading to the new version of nant to support .net 2.0 compilation Index: nunit.framework.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/lib/net/2.0/nunit.framework.dll,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsRQFbIU and /tmp/cvsCHby0G differ Index: nunit.util.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/lib/net/2.0/nunit.util.dll,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs9Yq8t0 and /tmp/cvsf29C6M differ Index: nunit.core.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/lib/net/2.0/nunit.core.dll,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs0XNn04 and /tmp/cvs0foMcS differ |
|
From: Owen R. <exo...@us...> - 2006-03-25 01:48:35
|
Update of /cvsroot/ccnet/ccnet/project/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17298/project/core Modified Files: ConsoleRunner.cs Log Message: upgrading to the new version of nant to support .net 2.0 compilation Index: ConsoleRunner.cs =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/core/ConsoleRunner.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ConsoleRunner.cs 25 Mar 2006 01:02:13 -0000 1.5 --- ConsoleRunner.cs 25 Mar 2006 01:48:28 -0000 1.6 *************** *** 22,26 **** Console.WriteLine("CruiseControl.NET Server {0} -- .NET Continuous Integration Server", Assembly.GetExecutingAssembly().GetName().Version); Console.WriteLine("Copyright (C) 2003-2006 ThoughtWorks Inc. All Rights Reserved."); ! Console.WriteLine(".NET Runtime Version: " + Environment.Version); Console.WriteLine("OS Version: " + Environment.OSVersion); Console.WriteLine(); --- 22,26 ---- Console.WriteLine("CruiseControl.NET Server {0} -- .NET Continuous Integration Server", Assembly.GetExecutingAssembly().GetName().Version); Console.WriteLine("Copyright (C) 2003-2006 ThoughtWorks Inc. All Rights Reserved."); ! Console.WriteLine(".NET Runtime Version: {0}\tImage Runtime Version: {1}", Environment.Version, Assembly.GetExecutingAssembly().ImageRuntimeVersion); Console.WriteLine("OS Version: " + Environment.OSVersion); Console.WriteLine(); |
Update of /cvsroot/ccnet/ccnet/tools/nant/lib/net/1.0 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17298/tools/nant/lib/net/1.0 Added Files: NDoc.Core.dll NDoc.Documenter.Msdn.dll NDoc.ExtendedUI.dll nunit.core.dll nunit.framework.dll nunit.util.dll Log Message: upgrading to the new version of nant to support .net 2.0 compilation --- NEW FILE: NDoc.Documenter.Msdn.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NDoc.Core.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nunit.core.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nunit.util.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NDoc.ExtendedUI.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nunit.framework.dll --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/ccnet/ccnet/tools/nant In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17298/tools/nant Modified Files: NAnt.CompressionTasks.dll NAnt.Core.dll NAnt.DotNetTasks.dll nant.exe nant.exe.config NAnt.MSNetTasks.dll NAnt.NUnit.dll NAnt.NUnit1Tasks.dll NAnt.NUnit2Tasks.dll NAnt.Resources.dll NAnt.SourceControlTasks.dll NAnt.VisualCppTasks.dll NAnt.VSNetTasks.dll NAnt.Win32Tasks.dll NDoc.Documenter.NAnt.dll Log Message: upgrading to the new version of nant to support .net 2.0 compilation Index: NAnt.DotNetTasks.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/NAnt.DotNetTasks.dll,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 Binary files /tmp/cvsoqqeHX and /tmp/cvscXns7J differ Index: NAnt.Resources.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/NAnt.Resources.dll,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsGhYugZ and /tmp/cvsrDKzJL differ Index: NDoc.Documenter.NAnt.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/NDoc.Documenter.NAnt.dll,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 Binary files /tmp/cvs5MurYX and /tmp/cvsqjgtvK differ Index: NAnt.CompressionTasks.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/NAnt.CompressionTasks.dll,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsjFUGt2 and /tmp/cvs33Oa5O differ Index: NAnt.MSNetTasks.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/NAnt.MSNetTasks.dll,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 Binary files /tmp/cvsd1iI96 and /tmp/cvsHvEBWT differ Index: nant.exe.config =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/nant.exe.config,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** nant.exe.config 6 Jun 2005 03:27:00 -0000 1.28 --- nant.exe.config 25 Mar 2006 01:48:29 -0000 1.29 *************** *** 19,23 **** <nant> <frameworks> ! <platform name="win32" default="net-1.1"> <task-assemblies> <!-- include NAnt task assemblies --> --- 19,23 ---- <nant> <frameworks> ! <platform name="win32" default="auto"> <task-assemblies> [...1066 lines suppressed...] <supportedRuntime version="v2.0.50215" /> <!-- .NET Framework 2.0 Beta 1 --> <supportedRuntime version="v2.0.40607" /> - <!-- .NET Framework 1.1 --> - <supportedRuntime version="v1.1.4322" /> <!-- .NET Framework 1.0 --> <supportedRuntime version="v1.0.3705" /> --- 1574,1585 ---- </runtime> <startup> + <!-- .NET Framework 1.1 --> + <supportedRuntime version="v1.1.4322" /> + <!-- .NET Framework 2.0 --> + <supportedRuntime version="v2.0.50727" /> <!-- .NET Framework 2.0 Beta 2 --> <supportedRuntime version="v2.0.50215" /> <!-- .NET Framework 2.0 Beta 1 --> <supportedRuntime version="v2.0.40607" /> <!-- .NET Framework 1.0 --> <supportedRuntime version="v1.0.3705" /> Index: NAnt.NUnit.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/NAnt.NUnit.dll,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 Binary files /tmp/cvsFpI450 and /tmp/cvsPdB31N differ Index: NAnt.VSNetTasks.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/NAnt.VSNetTasks.dll,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 Binary files /tmp/cvs2OZIQZ and /tmp/cvsRefZRM differ Index: NAnt.Win32Tasks.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/NAnt.Win32Tasks.dll,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 Binary files /tmp/cvs8kqgc2 and /tmp/cvsP4wKgP differ Index: NAnt.NUnit2Tasks.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/NAnt.NUnit2Tasks.dll,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 Binary files /tmp/cvswYblv5 and /tmp/cvsPrZICS differ Index: NAnt.Core.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/NAnt.Core.dll,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 Binary files /tmp/cvs0KKJFk and /tmp/cvsRZCJB8 differ Index: NAnt.NUnit1Tasks.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/NAnt.NUnit1Tasks.dll,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 Binary files /tmp/cvso7b1GE and /tmp/cvs1ihpft differ Index: nant.exe =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/nant.exe,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 Binary files /tmp/cvs5QroJG and /tmp/cvswlUNmv differ Index: NAnt.SourceControlTasks.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/NAnt.SourceControlTasks.dll,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 Binary files /tmp/cvsUPLOpL and /tmp/cvskMhlfA differ Index: NAnt.VisualCppTasks.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/NAnt.VisualCppTasks.dll,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 Binary files /tmp/cvswAxED0 and /tmp/cvsfLsp6P differ |
|
From: Owen R. <exo...@us...> - 2006-03-25 01:48:34
|
Update of /cvsroot/ccnet/ccnet/tools/nant/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17298/tools/nant/lib Modified Files: ICSharpCode.SharpCvsLib.Console.dll ICSharpCode.SharpCvsLib.dll ICSharpCode.SharpZipLib.dll Log Message: upgrading to the new version of nant to support .net 2.0 compilation Index: ICSharpCode.SharpCvsLib.Console.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/lib/ICSharpCode.SharpCvsLib.Console.dll,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvs5JpWg5 and /tmp/cvsZowbsP differ Index: ICSharpCode.SharpZipLib.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/lib/ICSharpCode.SharpZipLib.dll,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Binary files /tmp/cvsJZBOj4 and /tmp/cvsPJ8OyO differ Index: ICSharpCode.SharpCvsLib.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/lib/ICSharpCode.SharpCvsLib.dll,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 Binary files /tmp/cvsOOljCP and /tmp/cvsrROhKB differ |
|
From: Owen R. <exo...@us...> - 2006-03-25 01:48:34
|
Update of /cvsroot/ccnet/ccnet/tools/nant/lib/net/1.1 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17298/tools/nant/lib/net/1.1 Modified Files: nunit.core.dll nunit.framework.dll nunit.util.dll Log Message: upgrading to the new version of nant to support .net 2.0 compilation Index: nunit.framework.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/lib/net/1.1/nunit.framework.dll,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvseAEX6w and /tmp/cvsZmBIwi differ Index: nunit.util.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/lib/net/1.1/nunit.util.dll,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsL6CxKA and /tmp/cvsihEEdm differ Index: nunit.core.dll =================================================================== RCS file: /cvsroot/ccnet/ccnet/tools/nant/lib/net/1.1/nunit.core.dll,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsdd5WHz and /tmp/cvsTKAwgl differ |
Update of /cvsroot/ccnet/ccnet/tools/nant/lib/mono/2.0 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17298/tools/nant/lib/mono/2.0 Added Files: NDoc.Core.dll NDoc.Documenter.Msdn.dll NDoc.ExtendedUI.dll nunit.core.dll nunit.framework.dll nunit.util.dll Log Message: upgrading to the new version of nant to support .net 2.0 compilation --- NEW FILE: NDoc.Documenter.Msdn.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NDoc.Core.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nunit.core.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nunit.util.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NDoc.ExtendedUI.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nunit.framework.dll --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/ccnet/ccnet/tools/nant/lib/mono/1.0 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17298/tools/nant/lib/mono/1.0 Added Files: NDoc.Core.dll NDoc.Documenter.Msdn.dll NDoc.ExtendedUI.dll nunit.core.dll nunit.framework.dll nunit.util.dll Log Message: upgrading to the new version of nant to support .net 2.0 compilation --- NEW FILE: NDoc.Documenter.Msdn.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NDoc.Core.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nunit.core.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nunit.util.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NDoc.ExtendedUI.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nunit.framework.dll --- (This appears to be a binary file; contents omitted.) |
|
From: Owen R. <exo...@us...> - 2006-03-25 01:31:45
|
Update of /cvsroot/ccnet/ccnet/tools/nant/lib/net/1.0 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8976/1.0 Log Message: Directory /cvsroot/ccnet/ccnet/tools/nant/lib/net/1.0 added to the repository |
|
From: Owen R. <exo...@us...> - 2006-03-25 01:31:15
|
Update of /cvsroot/ccnet/ccnet/tools/nant/lib/mono/2.0 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8568/2.0 Log Message: Directory /cvsroot/ccnet/ccnet/tools/nant/lib/mono/2.0 added to the repository |
|
From: Owen R. <exo...@us...> - 2006-03-25 01:31:14
|
Update of /cvsroot/ccnet/ccnet/tools/nant/lib/mono/1.0 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8568/1.0 Log Message: Directory /cvsroot/ccnet/ccnet/tools/nant/lib/mono/1.0 added to the repository |
|
From: Owen R. <exo...@us...> - 2006-03-25 01:30:57
|
Update of /cvsroot/ccnet/ccnet/tools/nant/lib/mono In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8482/mono Log Message: Directory /cvsroot/ccnet/ccnet/tools/nant/lib/mono added to the repository |
|
From: Owen R. <exo...@us...> - 2006-03-25 01:25:30
|
Update of /cvsroot/ccnet/ccnet/project/CCTrayLib/Presentation In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5747/project/CCTrayLib/Presentation Modified Files: MainForm.cs Log Message: adding cctray version to title bar Index: MainForm.cs =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/CCTrayLib/Presentation/MainForm.cs,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** MainForm.cs 19 Dec 2005 15:07:33 -0000 1.16 --- MainForm.cs 25 Mar 2006 01:25:27 -0000 1.17 *************** *** 2,5 **** --- 2,6 ---- using System.Collections; using System.ComponentModel; + using System.Reflection; using System.Windows.Forms; using ThoughtWorks.CruiseControl.CCTrayLib.Configuration; *************** *** 381,385 **** this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; ! this.Text = "CruiseControl.NET"; this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); this.panel1.ResumeLayout(false); --- 382,386 ---- this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; ! this.Text = "CruiseControl.NET " + Assembly.GetExecutingAssembly().GetName().Version; this.Closing += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing); this.panel1.ResumeLayout(false); |
|
From: Owen R. <exo...@us...> - 2006-03-25 01:02:17
|
Update of /cvsroot/ccnet/ccnet/project/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25158/project/core Modified Files: ConsoleRunner.cs Log Message: including runtime and os version information in ccnet server startup Index: ConsoleRunner.cs =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/core/ConsoleRunner.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ConsoleRunner.cs 8 Mar 2006 23:17:03 -0000 1.4 --- ConsoleRunner.cs 25 Mar 2006 01:02:13 -0000 1.5 *************** *** 1,3 **** --- 1,4 ---- using System; + using System.Reflection; using ThoughtWorks.CruiseControl.Core.Util; using ThoughtWorks.CruiseControl.Remote; *************** *** 19,22 **** --- 20,29 ---- public void Run() { + Console.WriteLine("CruiseControl.NET Server {0} -- .NET Continuous Integration Server", Assembly.GetExecutingAssembly().GetName().Version); + Console.WriteLine("Copyright (C) 2003-2006 ThoughtWorks Inc. All Rights Reserved."); + Console.WriteLine(".NET Runtime Version: " + Environment.Version); + Console.WriteLine("OS Version: " + Environment.OSVersion); + Console.WriteLine(); + if (_parser.ShowHelp) { |
|
From: Owen R. <exo...@us...> - 2006-03-25 00:32:28
|
Update of /cvsroot/ccnet/ccnet/project/UnitTests/WebDashboard/Dashboard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6222/project/UnitTests/WebDashboard/Dashboard Modified Files: ProjectGridTest.cs Log Message: refactoring ProjectStatus -- introducing ProjectStatusFixture for creating ProjectStatus instances for test Index: ProjectGridTest.cs =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/UnitTests/WebDashboard/Dashboard/ProjectGridTest.cs,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** ProjectGridTest.cs 26 Feb 2006 04:03:39 -0000 1.11 --- ProjectGridTest.cs 25 Mar 2006 00:32:19 -0000 1.12 *************** *** 6,9 **** --- 6,10 ---- using ThoughtWorks.CruiseControl.Core.Util; using ThoughtWorks.CruiseControl.Remote; + using ThoughtWorks.CruiseControl.UnitTests.Core; using ThoughtWorks.CruiseControl.WebDashboard.Dashboard; using ThoughtWorks.CruiseControl.WebDashboard.Plugins.ProjectReport; *************** *** 65,70 **** { // Setup ! ProjectStatus projectStatus1 = new ProjectStatus(ProjectIntegratorState.Running, ! IntegrationStatus.Success, ProjectActivity.Sleeping, projectSpecifier.ProjectName, "url", DateTime.Today, "1", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { --- 66,70 ---- { // Setup ! ProjectStatus projectStatus1 = ProjectStatusFixture.New(projectSpecifier.ProjectName); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { *************** *** 86,91 **** { // Setup ! ProjectStatus projectStatus1 = new ProjectStatus(ProjectIntegratorState.Running, ! IntegrationStatus.Success, ProjectActivity.Sleeping, projectSpecifier.ProjectName, "url", DateTime.Today, null, null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { --- 86,90 ---- { // Setup ! ProjectStatus projectStatus1 = ProjectStatusFixture.New(projectSpecifier.ProjectName, null); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { *************** *** 107,115 **** { // Setup - ProjectStatus projectStatus1 = new ProjectStatus(ProjectIntegratorState.Running, - IntegrationStatus.Success, ProjectActivity.Sleeping, projectSpecifier.ProjectName, "url", DateTime.Today, "1", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { ! new ProjectStatusOnServer(projectStatus1, serverSpecifier) }; --- 106,112 ---- { // Setup ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { ! new ProjectStatusOnServer(ProjectStatusFixture.New(projectSpecifier.ProjectName, IntegrationStatus.Success), serverSpecifier) }; *************** *** 123,131 **** // Setup - projectStatus1 = new ProjectStatus(ProjectIntegratorState.Running, - IntegrationStatus.Failure, ProjectActivity.Sleeping, projectSpecifier.ProjectName, "url", DateTime.Today, "1", null, DateTime.Today); statusses = new ProjectStatusOnServer[] { ! new ProjectStatusOnServer(projectStatus1, serverSpecifier) }; SetupProjectLinkExpectation(); --- 120,126 ---- // Setup statusses = new ProjectStatusOnServer[] { ! new ProjectStatusOnServer(ProjectStatusFixture.New(projectSpecifier.ProjectName, IntegrationStatus.Failure), serverSpecifier) }; SetupProjectLinkExpectation(); *************** *** 139,147 **** // Setup - projectStatus1 = new ProjectStatus(ProjectIntegratorState.Running, - IntegrationStatus.Unknown, ProjectActivity.Sleeping, projectSpecifier.ProjectName, "url", DateTime.Today, "1", null, DateTime.Today); statusses = new ProjectStatusOnServer[] { ! new ProjectStatusOnServer(projectStatus1, serverSpecifier) }; SetupProjectLinkExpectation(); --- 134,140 ---- // Setup statusses = new ProjectStatusOnServer[] { ! new ProjectStatusOnServer(ProjectStatusFixture.New(projectSpecifier.ProjectName, IntegrationStatus.Unknown), serverSpecifier) }; SetupProjectLinkExpectation(); *************** *** 155,163 **** // Setup - projectStatus1 = new ProjectStatus(ProjectIntegratorState.Running, - IntegrationStatus.Exception, ProjectActivity.Sleeping, projectSpecifier.ProjectName, "url", DateTime.Today, "1", null, DateTime.Today); statusses = new ProjectStatusOnServer[] { ! new ProjectStatusOnServer(projectStatus1, serverSpecifier) }; SetupProjectLinkExpectation(); --- 148,154 ---- // Setup statusses = new ProjectStatusOnServer[] { ! new ProjectStatusOnServer(ProjectStatusFixture.New(projectSpecifier.ProjectName, IntegrationStatus.Exception), serverSpecifier) }; SetupProjectLinkExpectation(); *************** *** 178,186 **** // Setup DateTime date = DateTime.Today; - ProjectStatus projectStatus1 = new ProjectStatus(ProjectIntegratorState.Running, - IntegrationStatus.Success, ProjectActivity.Sleeping, projectSpecifier.ProjectName, "url", date, "1", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { ! new ProjectStatusOnServer(projectStatus1, serverSpecifier) }; SetupProjectLinkExpectation(); --- 169,175 ---- // Setup DateTime date = DateTime.Today; ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { ! new ProjectStatusOnServer(ProjectStatusFixture.New(projectSpecifier.ProjectName, IntegrationStatus.Success, date), serverSpecifier) }; SetupProjectLinkExpectation(); *************** *** 198,203 **** { // Setup ! ProjectStatus projectStatus1 = new ProjectStatus(ProjectIntegratorState.Running, ! IntegrationStatus.Success, ProjectActivity.Sleeping, projectSpecifier.ProjectName, "url", DateTime.Today, "my label", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { --- 187,192 ---- { // Setup ! ProjectStatus projectStatus1 = new ProjectStatus(projectSpecifier.ProjectName, ! ProjectActivity.Sleeping, IntegrationStatus.Success, ProjectIntegratorState.Running, "url", DateTime.Today, "my label", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { *************** *** 214,219 **** // Setup ! projectStatus1 = new ProjectStatus(ProjectIntegratorState.Stopped, ! IntegrationStatus.Success, ProjectActivity.Sleeping, projectSpecifier.ProjectName, "url", DateTime.Today, "my label", null, DateTime.Today); statusses = new ProjectStatusOnServer[] { --- 203,208 ---- // Setup ! projectStatus1 = new ProjectStatus(projectSpecifier.ProjectName, ! ProjectActivity.Sleeping, IntegrationStatus.Success, ProjectIntegratorState.Stopped, "url", DateTime.Today, "my label", null, DateTime.Today); statusses = new ProjectStatusOnServer[] { *************** *** 234,239 **** { // Setup ! ProjectStatus projectStatus1 = new ProjectStatus(ProjectIntegratorState.Running, ! IntegrationStatus.Success, ProjectActivity.Sleeping, projectSpecifier.ProjectName, "url", DateTime.Today, "my label", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { --- 223,228 ---- { // Setup ! ProjectStatus projectStatus1 = new ProjectStatus(projectSpecifier.ProjectName, ! ProjectActivity.Sleeping, IntegrationStatus.Success, ProjectIntegratorState.Running, "url", DateTime.Today, "my label", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { *************** *** 250,255 **** // Setup ! projectStatus1 = new ProjectStatus(ProjectIntegratorState.Stopped, ! IntegrationStatus.Success, ProjectActivity.CheckingModifications, projectSpecifier.ProjectName, "url", DateTime.Today, "my label", null, DateTime.Today); statusses = new ProjectStatusOnServer[] { --- 239,244 ---- // Setup ! projectStatus1 = new ProjectStatus(projectSpecifier.ProjectName, ! ProjectActivity.CheckingModifications, IntegrationStatus.Success, ProjectIntegratorState.Stopped, "url", DateTime.Today, "my label", null, DateTime.Today); statusses = new ProjectStatusOnServer[] { *************** *** 271,276 **** // Setup DateTime date = DateTime.Today; ! ProjectStatus projectStatus1 = new ProjectStatus(ProjectIntegratorState.Running, ! IntegrationStatus.Success, ProjectActivity.Sleeping, projectSpecifier.ProjectName, "url", date, "my label", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { --- 260,265 ---- // Setup DateTime date = DateTime.Today; ! ProjectStatus projectStatus1 = new ProjectStatus(projectSpecifier.ProjectName, ! ProjectActivity.Sleeping, IntegrationStatus.Success, ProjectIntegratorState.Running, "url", date, "my label", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { *************** *** 291,296 **** { // Setup ! ProjectStatus projectStatus1 = new ProjectStatus(ProjectIntegratorState.Running, ! IntegrationStatus.Success, ProjectActivity.Sleeping, projectSpecifier.ProjectName, "url", DateTime.Today, "1", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] --- 280,285 ---- { // Setup ! ProjectStatus projectStatus1 = new ProjectStatus(projectSpecifier.ProjectName, ! ProjectActivity.Sleeping, IntegrationStatus.Success, ProjectIntegratorState.Running, "url", DateTime.Today, "1", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] *************** *** 315,322 **** IProjectSpecifier projectB = new DefaultProjectSpecifier(serverSpecifier, "b"); ! ProjectStatus projectStatus1 = new ProjectStatus(ProjectIntegratorState.Running, ! IntegrationStatus.Success, ProjectActivity.Sleeping, "a", "url", DateTime.Today, "1", null, DateTime.Today); ! ProjectStatus projectStatus2 = new ProjectStatus(ProjectIntegratorState.Running, ! IntegrationStatus.Success, ProjectActivity.Sleeping, "b", "url", DateTime.Today, "1", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { --- 304,311 ---- IProjectSpecifier projectB = new DefaultProjectSpecifier(serverSpecifier, "b"); ! ProjectStatus projectStatus1 = new ProjectStatus("a", ! ProjectActivity.Sleeping, IntegrationStatus.Success, ProjectIntegratorState.Running, "url", DateTime.Today, "1", null, DateTime.Today); ! ProjectStatus projectStatus2 = new ProjectStatus("b", ! ProjectActivity.Sleeping, IntegrationStatus.Success, ProjectIntegratorState.Running, "url", DateTime.Today, "1", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { *************** *** 357,364 **** IProjectSpecifier projectB = new DefaultProjectSpecifier(serverSpecifier, "b"); ! ProjectStatus projectStatus1 = new ProjectStatus(ProjectIntegratorState.Running, ! IntegrationStatus.Success, ProjectActivity.Sleeping, "b", "url", DateTime.Today, "1", null, DateTime.Today); ! ProjectStatus projectStatus2 = new ProjectStatus(ProjectIntegratorState.Running, ! IntegrationStatus.Success, ProjectActivity.Sleeping, "a", "url", DateTime.Today.AddHours(1), "1", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { --- 346,353 ---- IProjectSpecifier projectB = new DefaultProjectSpecifier(serverSpecifier, "b"); ! ProjectStatus projectStatus1 = new ProjectStatus("b", ! ProjectActivity.Sleeping, IntegrationStatus.Success, ProjectIntegratorState.Running, "url", DateTime.Today, "1", null, DateTime.Today); ! ProjectStatus projectStatus2 = new ProjectStatus("a", ! ProjectActivity.Sleeping, IntegrationStatus.Success, ProjectIntegratorState.Running, "url", DateTime.Today.AddHours(1), "1", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { *************** *** 398,405 **** IProjectSpecifier projectA = new DefaultProjectSpecifier(serverSpecifier, "a"); IProjectSpecifier projectB = new DefaultProjectSpecifier(serverSpecifier, "b"); ! ProjectStatus projectStatus1 = new ProjectStatus(ProjectIntegratorState.Running, ! IntegrationStatus.Success, ProjectActivity.Sleeping, "a", "url", DateTime.Today, "1", null, DateTime.Today); ! ProjectStatus projectStatus2 = new ProjectStatus(ProjectIntegratorState.Running, ! IntegrationStatus.Failure, ProjectActivity.Sleeping, "b", "url", DateTime.Today.AddHours(1), "1", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { --- 387,394 ---- IProjectSpecifier projectA = new DefaultProjectSpecifier(serverSpecifier, "a"); IProjectSpecifier projectB = new DefaultProjectSpecifier(serverSpecifier, "b"); ! ProjectStatus projectStatus1 = new ProjectStatus("a", ! ProjectActivity.Sleeping, IntegrationStatus.Success, ProjectIntegratorState.Running, "url", DateTime.Today, "1", null, DateTime.Today); ! ProjectStatus projectStatus2 = new ProjectStatus("b", ! ProjectActivity.Sleeping, IntegrationStatus.Failure, ProjectIntegratorState.Running, "url", DateTime.Today.AddHours(1), "1", null, DateTime.Today); ProjectStatusOnServer[] statusses = new ProjectStatusOnServer[] { |
|
From: Owen R. <exo...@us...> - 2006-03-25 00:32:28
|
Update of /cvsroot/ccnet/ccnet/project/UnitTests/CCTrayLib/Monitoring In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6222/project/UnitTests/CCTrayLib/Monitoring Modified Files: ProjectMonitorTest.cs ProjectStatusMonitorTest.cs Log Message: refactoring ProjectStatus -- introducing ProjectStatusFixture for creating ProjectStatus instances for test Index: ProjectMonitorTest.cs =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/UnitTests/CCTrayLib/Monitoring/ProjectMonitorTest.cs,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** ProjectMonitorTest.cs 10 Mar 2006 15:52:00 -0000 1.11 --- ProjectMonitorTest.cs 25 Mar 2006 00:32:18 -0000 1.12 *************** *** 5,8 **** --- 5,9 ---- using ThoughtWorks.CruiseControl.CCTrayLib.Monitoring; using ThoughtWorks.CruiseControl.Remote; + using ThoughtWorks.CruiseControl.UnitTests.Core; namespace ThoughtWorks.CruiseControl.UnitTests.CCTrayLib.Monitoring *************** *** 162,178 **** private ProjectStatus CreateProjectStatus(IntegrationStatus integrationStatus, DateTime lastBuildDate) { ! ProjectStatus status = new ProjectStatus(); ! status.BuildStatus = integrationStatus; ! status.LastBuildDate = lastBuildDate; ! status.Activity = ProjectActivity.CheckingModifications; ! return status; } private ProjectStatus CreateProjectStatus(IntegrationStatus integrationStatus, ProjectActivity activity) { ! ProjectStatus status = new ProjectStatus(); ! status.BuildStatus = integrationStatus; ! status.Activity = activity; ! return status; } --- 163,172 ---- private ProjectStatus CreateProjectStatus(IntegrationStatus integrationStatus, DateTime lastBuildDate) { ! return ProjectStatusFixture.New(integrationStatus, lastBuildDate); } private ProjectStatus CreateProjectStatus(IntegrationStatus integrationStatus, ProjectActivity activity) { ! return ProjectStatusFixture.New(integrationStatus, activity); } *************** *** 239,245 **** public void SummaryStatusStringReturnsASummaryStatusStringWhenTheStateNotSuccess() { ! ProjectStatus status = new ProjectStatus(); ! status.BuildStatus = IntegrationStatus.Failure; ! status.Activity = ProjectActivity.Sleeping; mockProjectManager.ExpectAndReturn("ProjectStatus", status); mockProjectManager.ExpectAndReturn("ProjectName", "projName"); --- 233,237 ---- public void SummaryStatusStringReturnsASummaryStatusStringWhenTheStateNotSuccess() { ! ProjectStatus status = ProjectStatusFixture.New(IntegrationStatus.Failure, ProjectActivity.Sleeping); mockProjectManager.ExpectAndReturn("ProjectStatus", status); mockProjectManager.ExpectAndReturn("ProjectName", "projName"); *************** *** 253,259 **** public void SummaryStatusStringReturnsEmptyStringWhenTheStateIsSuccess() { ! ProjectStatus status = new ProjectStatus(); ! status.BuildStatus = IntegrationStatus.Success; ! status.Activity = ProjectActivity.Sleeping; mockProjectManager.ExpectAndReturn("ProjectStatus", status); --- 245,249 ---- public void SummaryStatusStringReturnsEmptyStringWhenTheStateIsSuccess() { ! ProjectStatus status = ProjectStatusFixture.New(IntegrationStatus.Success, ProjectActivity.Sleeping); mockProjectManager.ExpectAndReturn("ProjectStatus", status); *************** *** 274,280 **** private void AssertIntegrationStateReturned(IntegrationStatus integrationStatus) { ! ProjectStatus status = new ProjectStatus(); ! status.BuildStatus = integrationStatus; ! status.Activity = ProjectActivity.CheckingModifications; mockProjectManager.ExpectAndReturn("ProjectStatus", status); --- 264,268 ---- private void AssertIntegrationStateReturned(IntegrationStatus integrationStatus) { ! ProjectStatus status = ProjectStatusFixture.New(integrationStatus, ProjectActivity.CheckingModifications); mockProjectManager.ExpectAndReturn("ProjectStatus", status); Index: ProjectStatusMonitorTest.cs =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/UnitTests/CCTrayLib/Monitoring/ProjectStatusMonitorTest.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ProjectStatusMonitorTest.cs 17 Jul 2005 21:36:38 -0000 1.3 --- ProjectStatusMonitorTest.cs 25 Mar 2006 00:32:18 -0000 1.4 *************** *** 4,7 **** --- 4,8 ---- using ThoughtWorks.CruiseControl.CCTrayLib.Monitoring; using ThoughtWorks.CruiseControl.Remote; + using ThoughtWorks.CruiseControl.UnitTests.Core; namespace ThoughtWorks.CruiseControl.UnitTests.CCTrayLib.Monitoring *************** *** 65,69 **** private static ProjectStatus CreateProjectStatus(string projectName) { ! return new ProjectStatus(ProjectIntegratorState.Running, IntegrationStatus.Failure, ProjectActivity.Sleeping, projectName, "url", DateTime.Now, "label", null, DateTime.Now ); } --- 66,70 ---- private static ProjectStatus CreateProjectStatus(string projectName) { ! return ProjectStatusFixture.New(projectName); } |
|
From: Owen R. <exo...@us...> - 2006-03-25 00:32:27
|
Update of /cvsroot/ccnet/ccnet/project/UnitTests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6222/project/UnitTests Modified Files: UnitTests.csproj Log Message: refactoring ProjectStatus -- introducing ProjectStatusFixture for creating ProjectStatus instances for test Index: UnitTests.csproj =================================================================== RCS file: /cvsroot/ccnet/ccnet/project/UnitTests/UnitTests.csproj,v retrieving revision 1.169 retrieving revision 1.170 diff -C2 -d -r1.169 -r1.170 *** UnitTests.csproj 8 Mar 2006 23:17:03 -0000 1.169 --- UnitTests.csproj 25 Mar 2006 00:32:18 -0000 1.170 *************** *** 458,461 **** --- 458,466 ---- /> <File + RelPath = "Core\ProjectStatusFixture.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "Core\ProjectTest.cs" SubType = "Code" |