summaryrefslogtreecommitdiffstats
path: root/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/performance/Test_org_eclipse_swt_graphics_Image.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/performance/Test_org_eclipse_swt_graphics_Image.java')
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/performance/Test_org_eclipse_swt_graphics_Image.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/performance/Test_org_eclipse_swt_graphics_Image.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/performance/Test_org_eclipse_swt_graphics_Image.java
index e6553d347f..6dd2a769a2 100644
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/performance/Test_org_eclipse_swt_graphics_Image.java
+++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/performance/Test_org_eclipse_swt_graphics_Image.java
@@ -42,7 +42,7 @@ protected void setUp() throws Exception {
}
public void test_ConstructorLorg_eclipse_swt_graphics_DeviceII() {
- final int COUNT = 60000;
+ final int COUNT = 30000;
PerformanceMeter meter = createMeter("Image constr.(Device,II)");
meter.start();
@@ -121,7 +121,7 @@ public void test_ConstructorLorg_eclipse_swt_graphics_DeviceLorg_eclipse_swt_gra
}
public void test_ConstructorLorg_eclipse_swt_graphics_DeviceLorg_eclipse_swt_graphics_Rectangle() {
- final int COUNT = 60000;
+ final int COUNT = 30000;
Rectangle rectangle = new Rectangle(0, 0, 100, 100);
@@ -174,7 +174,6 @@ public void test_ConstructorLorg_eclipse_swt_graphics_DeviceLorg_eclipse_swt_gra
}
public void test_ConstructorLorg_eclipse_swt_graphics_DeviceLorg_eclipse_swt_graphics_ImageDataLorg_eclipse_swt_graphics_ImageData() {
- if (true) return;
final int COUNT = 4000; // 5000 causes an error
Image[] images = new Image[COUNT];
@@ -212,7 +211,7 @@ public void test_ConstructorLorg_eclipse_swt_graphics_DeviceLjava_io_InputStream
}
public void test_ConstructorLorg_eclipse_swt_graphics_DeviceLjava_lang_String() {
- final int COUNT = 2000;
+ final int COUNT = 1000;
int numFileNames = imageFilenames.length;
int numFormats = imageFormats.length;