示例#1
0
        public override Statement Apply(Statement @base, Description description)
        {
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final org.junit.runners.model.Statement externalRuleStatement = super.apply(super, description);
            Statement externalRuleStatement = base.Apply(@base, description);

            return(new StatementAnonymousInnerClass(this, externalRuleStatement));
        }
            public override void testStarted(org.junit.runner.Description description)
            {
                string name = description.getDisplayName();

                if (!name.StartsWith("initializationError"))
                {
                    Console.WriteLine(name);
                }
            }
示例#3
0
//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected:
//ORIGINAL LINE: public final org.junit.runners.model.Statement apply(final org.junit.runners.model.Statement super, org.junit.runner.Description description)
        public override Statement Apply(Statement @base, Description description)
        {
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final org.neo4j.test.rule.TestDirectory dir = org.neo4j.test.rule.TestDirectory.testDirectory(description.getTestClass());
            TestDirectory dir = TestDirectory.testDirectory(description.TestClass);

            return(dir.apply(new StatementAnonymousInnerClass(this, @base, dir)
                             , description));
        }
 public override Statement Apply(Statement @base, Description description)
 {
     return new StatementAnonymousInnerClassHelper(this, @base);
 }
 public override Statement Apply(Statement @base, Description description)
 {
     return(new StatementAnonymousInnerClass(this, @base));
 }
示例#6
0
 public override Statement Apply(Statement @base, Description description)
 {
     return(_testDirectory.apply(base.Apply(@base, description), description));
 }