ATMLProject.model.TestProgramSet.DeleteTestSet C# (CSharp) Метод

DeleteTestSet() публичный статический Метод

public static DeleteTestSet ( String testSetName ) : void
testSetName String
Результат void
        public static void DeleteTestSet( String testSetName )
        {
            //--- Display a list of available test sets and open the one that is selected ---//
            string testSetPath = GetTestSetPath();
            testSetName = CleanTestSetName( testSetName );
            string fullPath = Path.Combine( testSetPath, testSetName );
            if (!Directory.Exists( fullPath ))
                throw new TestSetNotFoundException();
            Directory.Delete( fullPath, true );
        }