mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
supply message
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ public class LightAdvHighlightingPerformanceTest extends LightDaemonAnalyzerTest
|
||||
CodeInsightTestFixtureImpl.ensureIndexesUpToDate(getProject());
|
||||
|
||||
final List<HighlightInfo> infos = new ArrayList<HighlightInfo>();
|
||||
PlatformTestUtil.startPerformanceTest(maxMillis, new ThrowableRunnable() {
|
||||
PlatformTestUtil.startPerformanceTest(getTestName(false), maxMillis, new ThrowableRunnable() {
|
||||
@Override
|
||||
public void run() throws Exception {
|
||||
infos.clear();
|
||||
|
||||
@@ -19,7 +19,7 @@ public class RecursiveVisitorTest extends LightDaemonAnalyzerTestCase{
|
||||
final PsiElement expression =
|
||||
JavaPsiFacade.getInstance(getProject()).getElementFactory().createStatementFromText(text.toString(), null);
|
||||
final int[] n = {0};
|
||||
PlatformTestUtil.startPerformanceTest(20, new ThrowableRunnable() {
|
||||
PlatformTestUtil.startPerformanceTest(getTestName(false), 20, new ThrowableRunnable() {
|
||||
@Override
|
||||
public void run() throws Exception {
|
||||
n[0] = 0;
|
||||
@@ -46,7 +46,7 @@ public class RecursiveVisitorTest extends LightDaemonAnalyzerTestCase{
|
||||
final PsiElement expression =
|
||||
JavaPsiFacade.getInstance(getProject()).getElementFactory().createStatementFromText(text.toString(), null);
|
||||
final int[] n = {0};
|
||||
PlatformTestUtil.startPerformanceTest(100, new ThrowableRunnable() {
|
||||
PlatformTestUtil.startPerformanceTest(getTestName(false), 100, new ThrowableRunnable() {
|
||||
@Override
|
||||
public void run() throws Exception {
|
||||
n[0] = 0;
|
||||
|
||||
@@ -385,7 +385,7 @@ public class VirtualFilePointerTest extends IdeaTestCase {
|
||||
}
|
||||
|
||||
public void testContainerDeletePerformance() throws Exception {
|
||||
PlatformTestUtil.startPerformanceTest(3000, new ThrowableRunnable() {
|
||||
PlatformTestUtil.startPerformanceTest("VF Pointer create/delete",3000, new ThrowableRunnable() {
|
||||
@Override
|
||||
public void run() throws Exception {
|
||||
Disposable parent = Disposer.newDisposable();
|
||||
|
||||
@@ -63,7 +63,7 @@ public class DictionaryTest extends TestCase {
|
||||
|
||||
public void loadDictionaryTest(@NotNull final String name, int wordCount) throws IOException {
|
||||
final Transformation transform = new Transformation();
|
||||
PlatformTestUtil.startPerformanceTest(times.get(name), new ThrowableRunnable() {
|
||||
PlatformTestUtil.startPerformanceTest("load dictionary", times.get(name), new ThrowableRunnable() {
|
||||
@Override
|
||||
public void run() throws Exception {
|
||||
dictionary = CompressedDictionary
|
||||
@@ -72,7 +72,7 @@ public class DictionaryTest extends TestCase {
|
||||
}).cpuBound().assertTiming();
|
||||
|
||||
final Set<String> wordsToStoreAndCheck = createWordSets(name, 50000, 1).getFirst();
|
||||
PlatformTestUtil.startPerformanceTest(2000, new ThrowableRunnable() {
|
||||
PlatformTestUtil.startPerformanceTest("words contain",2000, new ThrowableRunnable() {
|
||||
@Override
|
||||
public void run() throws Exception {
|
||||
for (String s : wordsToStoreAndCheck) {
|
||||
|
||||
Reference in New Issue
Block a user