Browse Source

update unit tests.

master
yangxiaodong 7 years ago
parent
commit
a4ec4773fa
1 changed files with 9 additions and 9 deletions
  1. +9
    -9
      test/DotNetCore.CAP.Test/CAP.BuilderTest.cs

+ 9
- 9
test/DotNetCore.CAP.Test/CAP.BuilderTest.cs View File

@@ -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();
} }


Loading…
Cancel
Save