Commit a4ec4773 authored by yangxiaodong's avatar yangxiaodong

update unit tests.

parent ac0fc62a
...@@ -61,47 +61,47 @@ namespace DotNetCore.CAP.Test ...@@ -61,47 +61,47 @@ namespace DotNetCore.CAP.Test
private class MyProducerService : ICapPublisher private class MyProducerService : ICapPublisher
{ {
public void Publish(string name, string content) public void Publish<T>(string name, T contentObj, string callbackName = null)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
public void Publish<T>(string name, T contentObj) public void Publish<T>(string name, T contentObj, IDbConnection dbConnection, string callbackName = null, IDbTransaction dbTransaction = null)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
public void Publish(string name, string content, IDbConnection dbConnection, IDbTransaction dbTransaction = null) public Task PublishAsync(string topic, string content)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
public void Publish<T>(string name, T contentObj, IDbConnection dbConnection, IDbTransaction dbTransaction = null) public Task PublishAsync<T>(string topic, T contentObj)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
public Task PublishAsync(string topic, string content) public Task PublishAsync(string topic, string content, IDbConnection dbConnection)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
public Task PublishAsync<T>(string topic, T contentObj) public Task PublishAsync(string topic, string content, IDbConnection dbConnection, IDbTransaction dbTransaction)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
public Task PublishAsync(string topic, string content, IDbConnection dbConnection) public Task PublishAsync<T>(string name, T contentObj, IDbConnection dbConnection, IDbTransaction dbTransaction = null)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
public Task PublishAsync(string topic, string content, IDbConnection dbConnection, IDbTransaction dbTransaction) public Task PublishAsync<T>(string name, T contentObj, string callbackName = null)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }
public Task PublishAsync<T>(string name, T contentObj, IDbConnection dbConnection, IDbTransaction dbTransaction = null) public Task PublishAsync<T>(string name, T contentObj, IDbConnection dbConnection, string callbackName = null, IDbTransaction dbTransaction = 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