本文整理了Java中junit.framework.TestCase.runBare()
方法的一些代码示例,展示了TestCase.runBare()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TestCase.runBare()
方法的具体详情如下:
包路径:junit.framework.TestCase
类名称:TestCase
方法名:runBare
[英]Runs the bare test sequence.
[中]运行裸测试序列。
代码示例来源:origin: junit-team/junit4
public void protect() throws Throwable {
test.runBare();
}
};
代码示例来源:origin: google/j2objc
public void protect() throws Throwable {
test.runBare();
}
};
代码示例来源:origin: konsoletyper/teavm
@Override
public void run() throws Throwable {
((TestCase) instance).runBare();
}
}
代码示例来源:origin: jankotek/mapdb
public void runBare() throws Throwable {
currentTestCase = this;
if (methodFilter == null
|| methodFilter.matcher(toString()).find())
super.runBare();
}
代码示例来源:origin: camunda/camunda-bpm-platform
public void protect() throws Throwable {
test.runBare();
}
};
代码示例来源:origin: org.apache.camel/camel-test
/**
* Runs the bare test sequence only if this platform is supported
* @exception Throwable if any exception is thrown
*/
@Override
public void runBare() throws Throwable {
if (canRunOnThisPlatform()) {
//start with a clean slate
DefaultCamelContext.setContextCounter(0);
TestSupportNodeIdFactory.resetCounters();
super.runBare();
}
}
代码示例来源:origin: dragome/dragome-sdk
public void protect() throws Throwable
{
test.runBare();
}
};
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.junit
public void protect() throws Throwable {
test.runBare();
}
};
代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded
public void protect() throws Throwable {
test.runBare();
}
};
代码示例来源:origin: org.junit/com.springsource.junit
public void protect() throws Throwable {
test.runBare();
}
};
代码示例来源:origin: com.google.android.tools/dx
public void protect() throws Throwable {
test.runBare();
}
};
代码示例来源:origin: org.junit/com.springsource.org.junit
public void protect() throws Throwable {
test.runBare();
}
};
代码示例来源:origin: com.pyx4me/cldcunit
public void protect() throws Throwable {
test.runBare();
}
};
代码示例来源:origin: com.oracle/truffle-tck
public void protect() throws Throwable {
test.runBare();
}
};
代码示例来源:origin: org.eclipse.hudson/hudson-test-framework
@Override
public void runBare() throws Throwable {
// override the thread name to make the thread dump more useful.
Thread t = Thread.currentThread();
String o = getClass().getName() + '.' + t.getName();
t.setName("Executing " + getName());
try {
super.runBare();
} finally {
t.setName(o);
}
}
代码示例来源:origin: org.flowable/flowable-cmmn-spring
@Override
public void runBare() throws Throwable {
testContextManager.prepareTestInstance(this); // this will initialize all dependencies
super.runBare();
}
代码示例来源:origin: org.jvnet.hudson.main/hudson-test-harness
@Override
public void runBare() throws Throwable {
// override the thread name to make the thread dump more useful.
Thread t = Thread.currentThread();
String o = getClass().getName()+'.'+t.getName();
t.setName("Executing "+getName());
try {
super.runBare();
} finally {
t.setName(o);
}
}
代码示例来源:origin: org.jvnet.hudson.main/hudson-test-framework
@Override
public void runBare() throws Throwable {
// override the thread name to make the thread dump more useful.
Thread t = Thread.currentThread();
String o = getClass().getName()+'.'+t.getName();
t.setName("Executing "+getName());
try {
super.runBare();
} finally {
t.setName(o);
}
}
代码示例来源:origin: jenkinsci/jenkins-test-harness
@Override
public void runBare() throws Throwable {
// override the thread name to make the thread dump more useful.
Thread t = Thread.currentThread();
String o = getClass().getName()+'.'+t.getName();
t.setName("Executing "+getName());
try {
super.runBare();
} finally {
t.setName(o);
}
}
代码示例来源:origin: gosu-lang/old-gosu-repo
public void reallyRunBare() throws Throwable {
initMetadata(getName());
super.runBare();
}
内容来源于网络,如有侵权,请联系作者删除!