You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I want to create object of ChangeFeedProcessorBuilder to unit test changefeed processor but can not initialize it due to protection level
var builder = new ChangeFeedProcessorBuilder(Constants.Cosmos.ProcessorName,null,null,null);
is inaccessible due to protection level
[assembly: InternalsVisibleTo("Microsoft.Azure.Cosmos.Tests" + AssemblyKeys.ProductPublicKey)]
[assembly: InternalsVisibleTo("Microsoft.Azure.Cosmos.Tests" + AssemblyKeys.TestPublicKey)]
I want to access it using Microsoft.Azure.Cosmos package in my custom Unit Test Project (Visual Studio 2019 and .Net core 3.1)
I can name it Microsoft.Azure.Cosmos.Tests too if required.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I want to create object of ChangeFeedProcessorBuilder to unit test changefeed processor but can not initialize it due to protection level
var builder = new ChangeFeedProcessorBuilder(Constants.Cosmos.ProcessorName,null,null,null);
is inaccessible due to protection level
[assembly: InternalsVisibleTo("Microsoft.Azure.Cosmos.Tests" + AssemblyKeys.ProductPublicKey)]
[assembly: InternalsVisibleTo("Microsoft.Azure.Cosmos.Tests" + AssemblyKeys.TestPublicKey)]
https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/Microsoft.Azure.Cosmos/src/ChangeFeedProcessor/ChangeFeedProcessorBuilder.cs
https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/ChangeFeed/ChangeFeedProcessorBuilderTests.cs
I want to access it using Microsoft.Azure.Cosmos package in my custom Unit Test Project (Visual Studio 2019 and .Net core 3.1)
I can name it Microsoft.Azure.Cosmos.Tests too if required.
Beta Was this translation helpful? Give feedback.
All reactions