static Test CreateTestSuite (MethodInfo method) { var suite = new DecompilerTestSuite (method); NUnitFramework.ApplyCommonAttributes (method, suite); PopulateTestSuite (method, suite); return suite; }
static Test CreateTestSuite(MethodInfo method) { var suite = new DecompilerTestSuite(method); NUnitFramework.ApplyCommonAttributes(method, suite); PopulateTestSuite(method, suite); return(suite); }
static void PopulateTestSuite (MethodInfo method, DecompilerTestSuite suite) { var attribute = GetTestAttribute (method); if (attribute.TestDebug) suite.Add (CreateTestCase (method, attribute, CompilationMode.Debug)); if (attribute.TestRelease) suite.Add (CreateTestCase (method, attribute, CompilationMode.Release)); }
static void PopulateTestSuite(MethodInfo method, DecompilerTestSuite suite) { var attribute = GetTestAttribute(method); if (attribute.TestDebug) { suite.Add(CreateTestCase(method, attribute, CompilationMode.Debug)); } if (attribute.TestRelease) { suite.Add(CreateTestCase(method, attribute, CompilationMode.Release)); } }