This commit is contained in:
eeichinger
2008-10-22 18:13:49 +00:00
parent 836e21dfb8
commit 4d263e14d6
2 changed files with 5 additions and 8 deletions

View File

@@ -19,7 +19,6 @@
#endregion
using System;
using System.Web.UI.WebControls;
using NUnit.Framework;
namespace Spring.DataBinding
@@ -40,7 +39,7 @@ namespace Spring.DataBinding
[Test(Description="http://jira.springframework.org/browse/SPRNET-996")]
public void BindToNullable()
{
TextBox textBox = new TextBox();
System.Web.UI.WebControls.TextBox textBox = new System.Web.UI.WebControls.TextBox();
textBox.Text = string.Empty;
BindToNullable_TestEntity entity = new BindToNullable_TestEntity();
new SimpleExpressionBinding("Text", "SortOrder").BindSourceToTarget(textBox, entity, null);

View File

@@ -114,15 +114,15 @@
<Compile Include="TestSupport\VoidDelegate.cs" />
<Compile Include="Threading\HttpContextStorageTests.cs" />
<Compile Include="Threading\HybridContextStorageTests.cs" />
<Compile Include="Util\ControlInterceptionTests.cs">
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Util\WebDIPerformanceTests.cs" />
<Compile Include="Util\WebUtilsTests.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Web\Services\WebServiceExporterTests.cs" />
<Compile Include="Web\Support\AbstractHandlerFactoryTests.cs" />
<Compile Include="Web\Support\ControlInterceptionTests.cs">
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Web\Support\LocalResourceManagerTests.cs" />
<Compile Include="Web\Support\MimeMediaTypeTests.cs" />
<Compile Include="Web\Support\PageHandlerFactoryTests.cs" />
@@ -148,9 +148,6 @@
<None Include="Data\Spring\Web\Support\PageHandlerFactoryTests\Web.Config.net-2.0" />
<None Include="Spring.Web.Tests.build" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Util\ControlInterceptionTests.objects.xml" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Context\Support\HttpApplicationConfigurerTests.xml" />
<Content Include="Data\Spring\Context\Support\WebApplicationContextTests\Dummy.aspx" />
@@ -160,6 +157,7 @@
<Content Include="Data\Spring\Web\Support\PageHandlerFactoryTests\MaintainsSession2.aspx" />
<Content Include="Data\Spring\Web\Support\PageHandlerFactoryTests\DisablesSession.aspx" />
<Content Include="Data\Spring\Web\Support\PageHandlerFactoryTests\TransferAfterSetResultSave.aspx" />
<EmbeddedResource Include="Web\Support\ControlInterceptionTests.objects.xml" />
</ItemGroup>
<ItemGroup>
<Reference Include="antlr.runtime, Version=2.7.6.2, Culture=neutral, PublicKeyToken=65e474d141e25e07, processorArchitecture=MSIL">