Esempio n. 1
0
        public RemoveUponClose(FileInfo file, TestRuleMarkFailure failureMarker)
        {
            this.file = file;
            this.FailureMarker = failureMarker;

            StringBuilder b = new StringBuilder();
            foreach (StackTrace e in Thread.CurrentThread.StackTrace)
            {
              b.Append('\t').Append(e.ToString()).Append('\n');
            }
            CreationStack = b.ToString();
        }
Esempio n. 2
0
        public RemoveUponClose(FileInfo file, TestRuleMarkFailure failureMarker)
        {
            this.file          = file;
            this.FailureMarker = failureMarker;

            StringBuilder b = new StringBuilder();

            foreach (StackTrace e in Thread.CurrentThread.StackTrace)
            {
                b.Append('\t').Append(e.ToString()).Append('\n');
            }
            CreationStack = b.ToString();
        }
 public StatementAnonymousInnerClassHelper(TestRuleMarkFailure outerInstance, Statement s)
 {
     this.OuterInstance = outerInstance;
       this.s = s;
 }
Esempio n. 4
0
 public IDisposableDirectory(BaseDirectoryWrapper dir, TestRuleMarkFailure failureMarker)
 {
     this.Dir           = dir;
     this.FailureMarker = failureMarker;
 }
Esempio n. 5
0
 public StatementAnonymousInnerClassHelper(TestRuleMarkFailure outerInstance, Statement s)
 {
     this.OuterInstance = outerInstance;
     this.s             = s;
 }
Esempio n. 6
0
 public IDisposableDirectory(BaseDirectoryWrapper dir, TestRuleMarkFailure failureMarker)
 {
     this.Dir = dir;
     this.FailureMarker = failureMarker;
 }