Commit 86ae8bfb authored by Savorboard's avatar Savorboard

tweak unittests

parent c84bccff
using System; using System;
using System.Data; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using DotNetCore.CAP.Abstractions; using DotNetCore.CAP.Abstractions;
using DotNetCore.CAP.Models; using DotNetCore.CAP.Models;
...@@ -119,62 +119,15 @@ namespace DotNetCore.CAP.Test ...@@ -119,62 +119,15 @@ namespace DotNetCore.CAP.Test
private class MyProducerService : ICapPublisher private class MyProducerService : ICapPublisher
{ {
public void Publish<T>(string name, T contentObj, string callbackName = null) public ICapTransaction CapTransaction { get; }
{
throw new NotImplementedException();
}
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(); throw new NotImplementedException();
} }
public void Publish<T>(string name, T contentObj, object mongoSession, string callbackName = null) public void Publish<T>(string name, T contentObj, 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)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment