summaryrefslogtreecommitdiff
path: root/java/java-tests/testSrc/com/intellij/psi/StubAstSwitchTest.groovy
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2013-02-08 15:14:04 -0800
committerJean-Baptiste Queru <jbq@google.com>2013-02-08 15:14:04 -0800
commit9edc8f6b58f71ec510ba36b838f115718d9a174d (patch)
tree06f6df92024fa534ff27e1c0b5fc8b2002848093 /java/java-tests/testSrc/com/intellij/psi/StubAstSwitchTest.groovy
parentb56ea2a18f232d79481e778085fd64e8ae486fc3 (diff)
downloadidea-9edc8f6b58f71ec510ba36b838f115718d9a174d.tar.gz
Snapshot of commit 84dc01e773388c2c72a1fc437f313dd5747e7809
from branch master of git://git.jetbrains.org/idea/community.git
Diffstat (limited to 'java/java-tests/testSrc/com/intellij/psi/StubAstSwitchTest.groovy')
-rw-r--r--java/java-tests/testSrc/com/intellij/psi/StubAstSwitchTest.groovy4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/java-tests/testSrc/com/intellij/psi/StubAstSwitchTest.groovy b/java/java-tests/testSrc/com/intellij/psi/StubAstSwitchTest.groovy
index 2d0830edcbd5..b9a5732b83c6 100644
--- a/java/java-tests/testSrc/com/intellij/psi/StubAstSwitchTest.groovy
+++ b/java/java-tests/testSrc/com/intellij/psi/StubAstSwitchTest.groovy
@@ -61,10 +61,10 @@ class StubAstSwitchTest extends LightCodeInsightFixtureTestCase {
}
public void "test traversing PSI and switching concurrently"() {
- int count = 1000
+ int count = 100
List<PsiClass> classList = (0..<count).collect {
myFixture.addClass("class Foo$it { " +
- (0..<10).collect { "void foo$it(int i, boolean b, Object o) {}" }.join("\n") +
+ (0..<100).collect { "void foo$it(int i, boolean b, Object o) {}" }.join("\n") +
" }")
}
CountDownLatch latch = new CountDownLatch(count)