コード例 #1
0
ファイル: Failure.cs プロジェクト: NALSS/SmartDashboard.NET
 public Failure(Description description, Exception thrownException)
 {
   base.\u002Ector();
   Failure failure = this;
   this.fThrownException = thrownException;
   this.fDescription = description;
 }
コード例 #2
0
 public EachTestNotifier(RunNotifier notifier, Description description)
 {
   base.\u002Ector();
   EachTestNotifier eachTestNotifier = this;
   this.fNotifier = notifier;
   this.fDescription = description;
 }
コード例 #3
0
 public MethodRoadie(object test, TestMethod method, RunNotifier notifier, Description description)
 {
   base.\u002Ector();
   MethodRoadie methodRoadie = this;
   this.fTest = test;
   this.fNotifier = notifier;
   this.fDescription = description;
   this.fTestMethod = method;
 }
コード例 #4
0
 public ClassRoadie(RunNotifier notifier, TestClass testClass, Description description, Runnable runnable)
 {
   base.\u002Ector();
   ClassRoadie classRoadie = this;
   this.fNotifier = notifier;
   this.fTestClass = testClass;
   this.fDescription = description;
   this.fRunnable = runnable;
 }
コード例 #5
0
 public virtual List asTestList(Description description)
 {
   if (description.isTest())
   {
     Test[] testArray = new Test[1];
     int index = 0;
     Test test = this.asTest(description);
     testArray[index] = test;
     return Arrays.asList((object[]) testArray);
   }
   else
   {
     ArrayList arrayList = new ArrayList();
     Iterator iterator = description.getChildren().iterator();
     while (iterator.hasNext())
     {
       Description description1 = (Description) iterator.next();
       ((List) arrayList).add((object) this.asTest(description1));
     }
     return (List) arrayList;
   }
 }
コード例 #6
0
 public override void testIgnored(Description description)
 {
   this.fWriter.append('I');
 }
コード例 #7
0
 public override void testStarted(Description description)
 {
   this.fWriter.append('.');
 }
コード例 #8
0
 public virtual void addChild(Description description)
 {
   this.getChildren().add((object) description);
 }
コード例 #9
0
 public virtual Test asTest(Description description)
 {
   if (description.isSuite())
   {
     return this.createTest(description);
   }
   else
   {
     if (!this.containsKey((object) description))
       this.put((object) description, (object) this.createTest(description));
     return (Test) this.get((object) description);
   }
 }
コード例 #10
0
 internal JUnit4TestCaseFacade([In] Description obj0)
 {
   base.\u002Ector();
   JUnit4TestCaseFacade junit4TestCaseFacade = this;
   this.fDescription = obj0;
 }
コード例 #11
0
ファイル: Sorter.cs プロジェクト: NALSS/SmartDashboard.NET
 public virtual int compare(Description o1, Description o2)
 {
   return this.fComparator.compare((object) o1, (object) o2);
 }
コード例 #12
0
 public virtual void testStarted(Description description)
 {
 }
コード例 #13
0
ファイル: Request.cs プロジェクト: NALSS/SmartDashboard.NET
 public virtual Request filterWith(Description desiredDescription)
 {
   return this.filterWith(org.junit.runner.manipulation.Filter.matchMethodDescription(desiredDescription));
 }
コード例 #14
0
ファイル: Filter.cs プロジェクト: NALSS/SmartDashboard.NET
 public abstract bool shouldRun(Description d);
コード例 #15
0
ファイル: Filter.cs プロジェクト: NALSS/SmartDashboard.NET
 public static Filter matchMethodDescription(Description desiredDescription)
 {
   return (Filter) new Filter\u00242(desiredDescription);
 }
コード例 #16
0
 public virtual void testIgnored(Description description)
 {
 }
コード例 #17
0
 public virtual void testFinished(Description description)
 {
 }