Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGrant Gayed2006-05-29 20:40:18 +0000
committerGrant Gayed2006-05-29 20:40:18 +0000
commitff5fea86eb6ddd017d27bf1aef15c58f784f4788 (patch)
treebb0bc7e0ec4aa842121a68c05fa29c454fa6f2d8 /tests
parenta164b88e8f08342233043a8adcdeb26bc4c9842b (diff)
downloadeclipse.platform.swt-ff5fea86eb6ddd017d27bf1aef15c58f784f4788.tar.gz
eclipse.platform.swt-ff5fea86eb6ddd017d27bf1aef15c58f784f4788.tar.xz
eclipse.platform.swt-ff5fea86eb6ddd017d27bf1aef15c58f784f4788.zip
explain performance degradationv3232k
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/performance/Test_situational.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/performance/Test_situational.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/performance/Test_situational.java
index 451030fecd..d7e2568df7 100644
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/performance/Test_situational.java
+++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/performance/Test_situational.java
@@ -128,9 +128,18 @@ public void test_createWidgets() {
}
public void test_layout() {
- PerformanceMeter meter = createMeter("layout composites");
+ PerformanceMeter meter = createMeter("Layout Composites");
int samples;
+ if (isWindows) {
+ Performance performance = Performance.getDefault();
+ performance.setComment(
+ meter,
+ Performance.EXPLAINS_DEGRADATION_COMMENT,
+ "Degradation is a result of fixing bug 18607, which enables correct XP-themed border drawing. " +
+ "The report for this performance degradation is bug 144314.");
+ }
+
for(samples = 0; samples < 10; samples++) {
Shell shell = new Shell(display);
shell.setLayout(new GridLayout());

Back to the top