public void PluginRuntimeHandler_GetNamespacesWithJsonObjects_WhenValidDll_ExpectNamespaces() { //------------Setup for test-------------------------- var source = CreatePluginSource(); //------------Execute Test--------------------------- var result = PluginServiceExecutionFactory.GetNamespacesWithJsonObjects(source); //------------Assert Results------------------------- Assert.IsTrue(result.Count > 0); }
public NamespaceList GetNamespacesWithJsonObjects(PluginSource pluginSource) { try { return(PluginServiceExecutionFactory.GetNamespacesWithJsonObjects(pluginSource)); } // ReSharper disable once RedundantCatchClause catch (BadImageFormatException) { throw; } }
public NamespaceList GetNamespacesWithJsonObjects(PluginSource pluginSource) { try { return(PluginServiceExecutionFactory.GetNamespacesWithJsonObjects(pluginSource)); } catch (BadImageFormatException) { throw; } }
public void PluginRuntimeHandler_GetNamespacesWithJsonObjects_WhenNullDll_ExpectException() { //------------Execute Test--------------------------- PluginServiceExecutionFactory.GetNamespacesWithJsonObjects(null); }