public void ConstructorTest() { string configFile = appHelperFileName; AppHelperFactory target = new AppHelperFactory(configFile); //Assert.Inconclusive("TODO: Implement code to verify target"); }
public void GetAppHelperNamesTest() { string configFile = appHelperFileName; // TODO: Initialize to an appropriate value AppHelperFactory target = new AppHelperFactory(configFile); System.Collections.Generic.List<string> expected = new List<string>(); expected.Add("IMDB"); // expected.Add("Amazon"); // expected.Add("metacritic-games"); // expected.Add("nforce-games"); System.Collections.Generic.List<string> actual; actual = target.GetAppHelperNames(); Assert.AreEqual(expected.Count, actual.Count); foreach (string str in expected) { Assert.IsTrue(actual.Contains(str)); } //Assert.AreEqual(expected, actual, "Media.BC.AppHelperFactory.GetAppHelperNames did not return the expected value."); //Assert.Inconclusive("Verify the correctness of this test method."); }
public void GetAppHelperTest() { string configFile = appHelperFileName; // TODO: Initialize to an appropriate value AppHelperFactory target = new AppHelperFactory(configFile); string name = "IMDB"; // TODO: Initialize to an appropriate value //AppHelper expected = null; IAppHelper actual; actual = target.GetAppHelper(name); Assert.IsTrue(actual is AppHelper); //Assert.AreEqual(expected, actual, "Media.BC.AppHelperFactory.GetAppHelper did not return the expected value."); //Assert.Inconclusive("Verify the correctness of this test method."); }