Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDirk Fauth2016-04-23 20:05:41 +0000
committerDirk Fauth2016-04-23 20:05:41 +0000
commitbbcc515b25107a9721a19afd00def53164def1a0 (patch)
treedda91ee1592da2e08fec78bbbb6a2e3ee557ff5f
parent06bd8da0754ae8800e5bcb2da9ce07483fe1255b (diff)
downloadorg.eclipse.nebula.widgets.nattable-bbcc515b25107a9721a19afd00def53164def1a0.tar.gz
org.eclipse.nebula.widgets.nattable-bbcc515b25107a9721a19afd00def53164def1a0.tar.xz
org.eclipse.nebula.widgets.nattable-bbcc515b25107a9721a19afd00def53164def1a0.zip
Update performance tests
Change-Id: Ifdc57c011525f8bb136f85e188eb7ad2357d5bf5 Signed-off-by: Dirk Fauth <dirk.fauth@googlemail.com>
-rw-r--r--org.eclipse.nebula.widgets.nattable.test.performance/.classpath2
-rw-r--r--org.eclipse.nebula.widgets.nattable.test.performance/.settings/org.eclipse.jdt.core.prefs6
-rw-r--r--org.eclipse.nebula.widgets.nattable.test.performance/META-INF/MANIFEST.MF2
-rw-r--r--org.eclipse.nebula.widgets.nattable.test.performance/src/org/eclipse/nebula/widgets/nattable/test/performance/AbstractLayerPerformanceTest.java3
4 files changed, 6 insertions, 7 deletions
diff --git a/org.eclipse.nebula.widgets.nattable.test.performance/.classpath b/org.eclipse.nebula.widgets.nattable.test.performance/.classpath
index 3bc24751..22f30643 100644
--- a/org.eclipse.nebula.widgets.nattable.test.performance/.classpath
+++ b/org.eclipse.nebula.widgets.nattable.test.performance/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
</classpath>
diff --git a/org.eclipse.nebula.widgets.nattable.test.performance/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.nebula.widgets.nattable.test.performance/.settings/org.eclipse.jdt.core.prefs
index 154d148f..76aa92ae 100644
--- a/org.eclipse.nebula.widgets.nattable.test.performance/.settings/org.eclipse.jdt.core.prefs
+++ b/org.eclipse.nebula.widgets.nattable.test.performance/.settings/org.eclipse.jdt.core.prefs
@@ -1,10 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
-org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
+org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.7
+org.eclipse.jdt.core.compiler.source=1.8
org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines=2147483647
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
diff --git a/org.eclipse.nebula.widgets.nattable.test.performance/META-INF/MANIFEST.MF b/org.eclipse.nebula.widgets.nattable.test.performance/META-INF/MANIFEST.MF
index a407e8e5..a64b906a 100644
--- a/org.eclipse.nebula.widgets.nattable.test.performance/META-INF/MANIFEST.MF
+++ b/org.eclipse.nebula.widgets.nattable.test.performance/META-INF/MANIFEST.MF
@@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: NatTable Performance Tests
Bundle-SymbolicName: org.eclipse.nebula.widgets.nattable.test.performance
Bundle-Version: 1.1.1.qualifier
-Bundle-RequiredExecutionEnvironment: JavaSE-1.7
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Import-Package: ca.odell.glazedlists,
org.eclipse.nebula.widgets.nattable,
org.eclipse.nebula.widgets.nattable.data,
diff --git a/org.eclipse.nebula.widgets.nattable.test.performance/src/org/eclipse/nebula/widgets/nattable/test/performance/AbstractLayerPerformanceTest.java b/org.eclipse.nebula.widgets.nattable.test.performance/src/org/eclipse/nebula/widgets/nattable/test/performance/AbstractLayerPerformanceTest.java
index 35a5b0b4..d717d91d 100644
--- a/org.eclipse.nebula.widgets.nattable.test.performance/src/org/eclipse/nebula/widgets/nattable/test/performance/AbstractLayerPerformanceTest.java
+++ b/org.eclipse.nebula.widgets.nattable.test.performance/src/org/eclipse/nebula/widgets/nattable/test/performance/AbstractLayerPerformanceTest.java
@@ -67,8 +67,7 @@ public abstract class AbstractLayerPerformanceTest {
long stopTimeInMillis = System.currentTimeMillis();
long actualTimeInMillis = stopTimeInMillis - startTimeInMillis;
- System.out
- .println("duration = " + actualTimeInMillis + " milliseconds");
+ System.out.println("duration = " + actualTimeInMillis + " milliseconds");
Assert.assertTrue("Expected to take less than " + AbstractLayerPerformanceTest.this.expectedTimeInMillis
+ " milliseconds but took " + actualTimeInMillis
+ " milliseconds", actualTimeInMillis < AbstractLayerPerformanceTest.this.expectedTimeInMillis);

Back to the top