昨天经过Terrylee  的指出后,又找出了Microsoft Enterprise Library June 2005的源代码,仔细的看了看。
总觉得这个是个bug。
          我又找到了src\Data\Tests这个目录下的ConnectionStringFixture.cs测试文件。经过我的测试,我确定这是一个小bug.
          这面就是经测试经过:
          原来的ConnectionStringFixture.cs文件,没有做任何修改。
          源代码如下:

疑是Microsoft Enterprise Library June 2005的一个小bug  (续)using System;
疑是Microsoft Enterprise Library June 2005的一个小bug  (续)
using NUnit.Framework;
疑是Microsoft Enterprise Library June 2005的一个小bug  (续)
疑是Microsoft Enterprise Library June 2005的一个小bug  (续)
namespace Microsoft.Practices.EnterpriseLibrary.Data.Tests


 测试结果:
  疑是Microsoft Enterprise Library June 2005的一个小bug  (续)
  测试全部通过。

  
  新的ConnectionStringFixture.cs文件,做了两处修改。其他什么也没修改。
  原来的:private static readonly string userIdTokens = "user id=,u>
      测试有些没有通过。
  
      大家可以自己做个测试。
      所以我认为,这是Microsoft Enterprise Library June 2005的一个小bug,不在是疑似。
      不对的地方请指正。

相关文章:

  • 2021-05-17
  • 2021-08-25
  • 2021-12-07
  • 2021-10-31
  • 2021-06-11
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-15
  • 2021-06-30
  • 2021-12-10
  • 2022-12-23
  • 2021-06-21
相关资源
相似解决方案