Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 95792 Details for
Bug 116487
create performance test harness
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
TaskListViewPerformanceTest
clipboard.txt (text/plain), 2.20 KB, created by
Jingwen 'Owen' Ou
on 2008-04-12 04:27:55 EDT
(
hide
)
Description:
TaskListViewPerformanceTest
Filename:
MIME Type:
Creator:
Jingwen 'Owen' Ou
Created:
2008-04-12 04:27:55 EDT
Size:
2.20 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.mylyn.tasks.tests >Index: src/org/eclipse/mylyn/tasks/tests/performance/TaskListViewPerformanceTest.java >=================================================================== >RCS file: src/org/eclipse/mylyn/tasks/tests/performance/TaskListViewPerformanceTest.java >diff -N src/org/eclipse/mylyn/tasks/tests/performance/TaskListViewPerformanceTest.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/mylyn/tasks/tests/performance/TaskListViewPerformanceTest.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,52 @@ >+/******************************************************************************* >+ * Copyright (c) 2004, 2007 Mylyn project committers and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ *******************************************************************************/ >+ >+package org.eclipse.mylyn.tasks.tests.performance; >+ >+import org.eclipse.mylyn.internal.tasks.ui.views.TaskListView; >+import org.eclipse.mylyn.internal.tasks.ui.views.TaskListViewCommands; >+import org.eclipse.test.performance.PerformanceTestCase; >+import org.eclipse.ui.PlatformUI; >+ >+/** >+ * @author Jingwen Ou >+ */ >+ >+public class TaskListViewPerformanceTest extends PerformanceTestCase { >+ >+ private TaskListView taskListView; >+ >+ private TaskListViewCommands taskListViewCommands; >+ >+ @Override >+ protected void setUp() throws Exception { >+ super.setUp(); >+ taskListView = (TaskListView) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView( >+ TaskListView.ID); >+ taskListViewCommands = new TaskListViewCommands(taskListView); >+ } >+ >+ @Override >+ protected void tearDown() throws Exception { >+ super.tearDown(); >+ taskListViewCommands.dispose(); >+ taskListView.dispose(); >+ } >+ >+ public void testActivateHandlers() { >+ >+ for (int i = 0; i < 6400; i++) { >+ startMeasuring(); >+ taskListViewCommands.activateHandlers(); >+ stopMeasuring(); >+ } >+ >+ commitMeasurements(); >+ assertPerformance(); >+ } >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 116487
:
83034
|
83035
|
92635
|
92636
|
92637
|
92638
|
92639
|
92640
|
92641
|
92642
|
92643
|
92644
|
95149
|
95791
| 95792 |
96692
|
96728
|
97960
|
146251