public void OnActiveProjectCfgChangeTest() { try { IServiceProvider serviceProvider = this.PrepareServiceProvider(); UpdateSolutionListener target = new UpdateSolutionListener(serviceProvider); int expected = VSConstants.E_NOTIMPL; int actual = target.OnActiveProjectCfgChange(null); Assert.AreEqual(expected, actual); } catch (Exception ex) { // Use try catch to test a workaround on CI build (AppVeyor) Console.WriteLine(ex.Message); } }
public void OnActiveProjectCfgChangeTest() { IServiceProvider serviceProvider = this.PrepareServiceProvider(); UpdateSolutionListener target = new UpdateSolutionListener(serviceProvider); int expected = VSConstants.E_NOTIMPL; int actual = target.OnActiveProjectCfgChange(null); Assert.AreEqual(expected, actual); }