소스 검색

tweak unittests

master
Savorboard 6 년 전
부모
커밋
86ae8bfbdc
1개의 변경된 파일5개의 추가작업 그리고 52개의 파일을 삭제
  1. +5
    -52
      test/DotNetCore.CAP.Test/CAP.BuilderTest.cs

+ 5
- 52
test/DotNetCore.CAP.Test/CAP.BuilderTest.cs 파일 보기

@@ -1,5 +1,5 @@
using System;
using System.Data;
using System.Threading;
using System.Threading.Tasks;
using DotNetCore.CAP.Abstractions;
using DotNetCore.CAP.Models;
@@ -119,62 +119,15 @@ namespace DotNetCore.CAP.Test

private class MyProducerService : ICapPublisher
{
public void Publish<T>(string name, T contentObj, string callbackName = null)
{
throw new NotImplementedException();
}
public ICapTransaction CapTransaction { get; }

public void Publish<T>(string name, T contentObj, IDbTransaction dbTransaction, string callbackName = null)
public Task PublishAsync<T>(string name, T contentObj, string callbackName = null,
CancellationToken cancellationToken = default(CancellationToken))
{
throw new NotImplementedException();
}

public void Publish<T>(string name, T contentObj, object mongoSession, string callbackName = null)
{
throw new NotImplementedException();
}

public Task PublishAsync(string topic, string content)
{
throw new NotImplementedException();
}

public Task PublishAsync<T>(string topic, T contentObj)
{
throw new NotImplementedException();
}

public Task PublishAsync(string topic, string content, IDbConnection dbConnection)
{
throw new NotImplementedException();
}

public Task PublishAsync(string topic, string content, IDbConnection dbConnection, IDbTransaction dbTransaction)
{
throw new NotImplementedException();
}

public Task PublishAsync<T>(string name, T contentObj, IDbConnection dbConnection, IDbTransaction dbTransaction = null)
{
throw new NotImplementedException();
}

public Task PublishAsync<T>(string name, T contentObj, string callbackName = null)
{
throw new NotImplementedException();
}

public Task PublishAsync<T>(string name, T contentObj, IDbTransaction dbTransaction, string callbackName = null)
{
throw new NotImplementedException();
}

public void PublishWithMongo<T>(string name, T contentObj, IMongoTransaction mongoTransaction = null, string callbackName = null)
{
throw new NotImplementedException();
}

public Task PublishWithMongoAsync<T>(string name, T contentObj, IMongoTransaction mongoTransaction = null, string callbackName = null)
public void Publish<T>(string name, T contentObj, string callbackName = null)
{
throw new NotImplementedException();
}


불러오는 중...
취소
저장