當前位置: 首頁>>代碼示例>>C#>>正文


C# GuardClauseAssertion.VerifyConstructors方法代碼示例

本文整理匯總了C#中Ploeh.AutoFixture.Idioms.GuardClauseAssertion.VerifyConstructors方法的典型用法代碼示例。如果您正苦於以下問題:C# GuardClauseAssertion.VerifyConstructors方法的具體用法?C# GuardClauseAssertion.VerifyConstructors怎麽用?C# GuardClauseAssertion.VerifyConstructors使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Ploeh.AutoFixture.Idioms.GuardClauseAssertion的用法示例。


在下文中一共展示了GuardClauseAssertion.VerifyConstructors方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: Sut_GuardClauses

        public void Sut_GuardClauses(
          GuardClauseAssertion	assertion)
        {
            //arrange

            //act
            assertion.VerifyConstructors<ObserveCanExecuteStrategy<object>>();

            //assert
        }
開發者ID:Galad,項目名稱:Hanno,代碼行數:10,代碼來源:ObserveCanExecuteStrategyTests.cs

示例2: Sut_VerifyGuardClauses

        public void Sut_VerifyGuardClauses(Fixture fixture)
        {
            var assertion = new GuardClauseAssertion(
                fixture,
                new SkipSpecifiedParametersBehaviorExpectation(
                new CompositeBehaviorExpectation(
                    new EmptyGuidBehaviorExpectation(),
                    new NullReferenceBehaviorExpectation()),
                "value")
                );
            assertion.VerifyConstructors<CacheEntry<string>>();
        }
開發者ID:Galad,項目名稱:Hanno,代碼行數:12,代碼來源:CacheEntryTests.cs

示例3: Sut_VerifyGuardClauses

        public void Sut_VerifyGuardClauses(GuardClauseAssertion assertion)
        {
            assertion.VerifyConstructors<DeserializerHttpRequestResultReader>();
        }
開發者ID:Galad,項目名稱:Hanno,代碼行數:4,代碼來源:DeserializerHttpRequestResultReaderTests.cs

示例4: Sut_VerifyGuardClauses

        public void Sut_VerifyGuardClauses(GuardClauseAssertion assertion)
        {
            assertion.VerifyConstructors<MemoryCacheEntryRepository>();
        }
開發者ID:Galad,項目名稱:Hanno,代碼行數:4,代碼來源:MemoryCacheEntryRepositoryTests.cs

示例5: Sut_VerifyConstructors

        public void Sut_VerifyConstructors(GuardClauseAssertion assertion)
        {
            assertion.VerifyConstructors<DefaultHttpRequestResolver>();
        }
開發者ID:Galad,項目名稱:Hanno,代碼行數:4,代碼來源:DefaultHttpRequestResolverTests.cs

示例6: Sut_ConstructorGuardClauses

        public void Sut_ConstructorGuardClauses(
          GuardClauseAssertion assertion)
        {
            assertion.VerifyConstructors<ObservablePropertyBeforeSetterInterceptor<object>>();
        }
開發者ID:Galad,項目名稱:Hanno,代碼行數:5,代碼來源:ObservablePropertyBeforeSetterInterceptorTests.cs

示例7: Sut_VerifyConstructor

        public void Sut_VerifyConstructor(GuardClauseAssertion assertion)
        {
            assertion.VerifyConstructors<EnumerableAsyncCommand<IAsyncCommand>>();
        }
開發者ID:Galad,項目名稱:Hanno,代碼行數:4,代碼來源:EnumerableAsyncCommandTests.cs

示例8: Constructor_GuardClauses

        public void Constructor_GuardClauses(
            GuardClauseAssertion assertions)
        {
            assertions.VerifyConstructors<CompositeCommandHandler<TestCommand>>();
        }
開發者ID:Galad,項目名稱:Hanno,代碼行數:5,代碼來源:CompositeCommandHandlerTests.cs

示例9: Sut_VerifyConstructorGuardClauses

        public void Sut_VerifyConstructorGuardClauses(GuardClauseAssertion assertion)
        {
            assertion.VerifyConstructors<CompositeParallelInitializable>();
        }
開發者ID:Galad,項目名稱:Hanno,代碼行數:4,代碼來源:CompositeParallelInitializableTests.cs

示例10: Sut_VerifyConstructor

        public void Sut_VerifyConstructor(GuardClauseAssertion assertion)
        {
            assertion.VerifyConstructors<EnumerableArrayResultAsyncQuery<IAsyncQuery<object>, string>>();
        }
開發者ID:Galad,項目名稱:Hanno,代碼行數:4,代碼來源:EnumerableArrayResultAsyncQueryTests.cs

示例11: Sut_ConstructorGuardClause

        public void Sut_ConstructorGuardClause(GuardClauseAssertion assertion)
        {
            assertion.VerifyConstructors<AsyncCommandQueryBus>();
        }
開發者ID:Galad,項目名稱:Hanno,代碼行數:4,代碼來源:AsyncCommandQueryBusTests.cs

示例12: Sut_TestGuardClauses

        public void Sut_TestGuardClauses(
            GuardClauseAssertion assertion)
        {
            assertion.VerifyConstructors<CacheService>();
        }
開發者ID:Galad,項目名稱:Hanno,代碼行數:5,代碼來源:CacheServiceTests.cs

示例13: Sut_TestGuardClauses

        public void Sut_TestGuardClauses(
          GuardClauseAssertion assertion)
        {
            assertion.VerifyConstructors<CacheAsyncQueryBus>();
        }
開發者ID:Galad,項目名稱:Hanno,代碼行數:5,代碼來源:CacheAsyncQueryBusTests.cs

示例14: Sut_TestConstructorGuadClauses

        public void Sut_TestConstructorGuadClauses(
            GuardClauseAssertion assertion)
        {
            assertion.VerifyConstructors<AddMvvmVisitorsViewModelFactory>();
        }
開發者ID:Galad,項目名稱:Hanno,代碼行數:5,代碼來源:AddMvvmCommandVisitorsViewModelFactoryTests.cs

示例15: Sut_ConstructorGuardClause

        public void Sut_ConstructorGuardClause(GuardClauseAssertion assertion)
        {
            assertion.VerifyConstructors<FuncNow>();
        }
開發者ID:Galad,項目名稱:Hanno,代碼行數:4,代碼來源:NowTests.cs


注:本文中的Ploeh.AutoFixture.Idioms.GuardClauseAssertion.VerifyConstructors方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。