You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by hu...@apache.org on 2005/10/08 02:46:25 UTC

svn commit: r307229 - in /struts/sandbox/trunk/overdrive/PhoneBook: Test/Forms/DirectoryTest.cs Test/Test.csproj Web/Controls/Finder.ascx.cs Web/Controls/Lister.ascx.cs Web/Forms/Directory.aspx.cs Web/Forms/Directory2.aspx

Author: husted
Date: Fri Oct  7 17:46:17 2005
New Revision: 307229

URL: http://svn.apache.org/viewcvs?rev=307229&view=rev
Log:
OVR-5
* Update for NUnitAsp 1.5.1
* Adjust namespace references

Modified:
    struts/sandbox/trunk/overdrive/PhoneBook/Test/Forms/DirectoryTest.cs
    struts/sandbox/trunk/overdrive/PhoneBook/Test/Test.csproj
    struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/Finder.ascx.cs
    struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/Lister.ascx.cs
    struts/sandbox/trunk/overdrive/PhoneBook/Web/Forms/Directory.aspx.cs
    struts/sandbox/trunk/overdrive/PhoneBook/Web/Forms/Directory2.aspx

Modified: struts/sandbox/trunk/overdrive/PhoneBook/Test/Forms/DirectoryTest.cs
URL: http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/PhoneBook/Test/Forms/DirectoryTest.cs?rev=307229&r1=307228&r2=307229&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/PhoneBook/Test/Forms/DirectoryTest.cs (original)
+++ struts/sandbox/trunk/overdrive/PhoneBook/Test/Forms/DirectoryTest.cs Fri Oct  7 17:46:17 2005
@@ -88,15 +88,15 @@
 		[Test]
 		public void FindControls()
 		{
-			WebAssert.Visible(pnlFind);
+			AssertVisibility(pnlFind,true);
 			foreach (DropDownListTester list in GetLists())
 			{
-				WebAssert.Visible(list);
+				AssertVisibility(list,true);
 			}
-			WebAssert.Visible(cmdListAll);
-			WebAssert.Visible(pnlList);
-			WebAssert.Visible(repList);
-			WebAssert.NotVisible(cmdAdd); // Visible if Editor
+			AssertVisibility(cmdListAll,true);
+			AssertVisibility(pnlList,true);
+			AssertVisibility(repList,true);
+			AssertVisibility(cmdAdd,true); // Visible if Editor
 		}
 
 		/// <summary>
@@ -108,7 +108,8 @@
 		{
 			foreach (DropDownListTester list in GetLists())
 			{
-				Assert.IsTrue(list.Items.Count > 0, list.HtmlId + ": Expected all filter lists to have items.");
+				bool ok = (list.Items.Count > 0);
+				AssertEquals(list.HtmlId + ": Expected all filter lists to have items",true,ok);
 			}
 		}
 

Modified: struts/sandbox/trunk/overdrive/PhoneBook/Test/Test.csproj
URL: http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/PhoneBook/Test/Test.csproj?rev=307229&r1=307228&r2=307229&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/PhoneBook/Test/Test.csproj (original)
+++ struts/sandbox/trunk/overdrive/PhoneBook/Test/Test.csproj Fri Oct  7 17:46:17 2005
@@ -91,11 +91,6 @@
                     Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"
                 />
                 <Reference
-                    Name = "NUnitAspTest"
-                    AssemblyName = "NUnitAspTest"
-                    HintPath = "..\..\local-cache\NUnitAsp\NUnitAspTest.dll"
-                />
-                <Reference
                     Name = "NUnitAsp"
                     AssemblyName = "NUnitAsp"
                     HintPath = "..\..\local-cache\NUnitAsp\NUnitAsp.dll"

Modified: struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/Finder.ascx.cs
URL: http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/Finder.ascx.cs?rev=307229&r1=307228&r2=307229&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/Finder.ascx.cs (original)
+++ struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/Finder.ascx.cs Fri Oct  7 17:46:17 2005
@@ -1,7 +1,7 @@
 using System;
 using System.Web.UI.WebControls;
 using Nexus.Core.Helpers;
-using Nexus.Web.Controls;
+using Nexus.Web;
 using PhoneBook.Core;
 using PhoneBook.Web.Forms;
 

Modified: struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/Lister.ascx.cs
URL: http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/Lister.ascx.cs?rev=307229&r1=307228&r2=307229&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/Lister.ascx.cs (original)
+++ struts/sandbox/trunk/overdrive/PhoneBook/Web/Controls/Lister.ascx.cs Fri Oct  7 17:46:17 2005
@@ -2,7 +2,7 @@
 using System.Collections;
 using System.Web.UI.WebControls;
 using Nexus.Core.Helpers;
-using Nexus.Web.Controls;
+using Nexus.Web;
 using PhoneBook.Core;
 
 namespace PhoneBook.Web.Controls

Modified: struts/sandbox/trunk/overdrive/PhoneBook/Web/Forms/Directory.aspx.cs
URL: http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/PhoneBook/Web/Forms/Directory.aspx.cs?rev=307229&r1=307228&r2=307229&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/PhoneBook/Web/Forms/Directory.aspx.cs (original)
+++ struts/sandbox/trunk/overdrive/PhoneBook/Web/Forms/Directory.aspx.cs Fri Oct  7 17:46:17 2005
@@ -3,7 +3,7 @@
 using System.Web.UI.WebControls;
 using Nexus.Core;
 using Nexus.Core.Helpers;
-using Nexus.Web.Controls;
+using Nexus.Web;
 using PhoneBook.Web.Controls;
 
 namespace PhoneBook.Web.Forms

Modified: struts/sandbox/trunk/overdrive/PhoneBook/Web/Forms/Directory2.aspx
URL: http://svn.apache.org/viewcvs/struts/sandbox/trunk/overdrive/PhoneBook/Web/Forms/Directory2.aspx?rev=307229&r1=307228&r2=307229&view=diff
==============================================================================
--- struts/sandbox/trunk/overdrive/PhoneBook/Web/Forms/Directory2.aspx (original)
+++ struts/sandbox/trunk/overdrive/PhoneBook/Web/Forms/Directory2.aspx Fri Oct  7 17:46:17 2005
@@ -31,8 +31,10 @@
 			<hr>
 			</asp:Panel>
 						
+			<!-- FINDER -->
 			<app:Finder id="finder" Runat="server"></app:Finder>
 			
+			<!-- LISTER -->
  			<app:Lister id="lister" runat="server"></app:Lister>
 			
 		</form>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org