Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcvs2git2007-06-28 14:20:31 -0400
committercvs2git2007-06-28 14:20:31 -0400
commit201185d5309bf5300b1041bee7650a248d5e81df (patch)
tree9ae8c846ffaa1e2d109acd7b521e2c6609b02bca
parentcc44763014b23d02f0f0d4da387d496ad15159f1 (diff)
downloadorg.eclipse.mylyn.tasks-201185d5309bf5300b1041bee7650a248d5e81df.tar.gz
org.eclipse.mylyn.tasks-201185d5309bf5300b1041bee7650a248d5e81df.tar.xz
org.eclipse.mylyn.tasks-201185d5309bf5300b1041bee7650a248d5e81df.zip
This commit was manufactured by cvs2svn to create tag 'R_2_0_0'.R_2_0_0
Sprout from master 2007-06-28 18:20:30 UTC mkersten 'Version update' Delete: org.eclipse.mylyn.bugzilla.tests/.classpath org.eclipse.mylyn.bugzilla.tests/.cvsignore org.eclipse.mylyn.bugzilla.tests/.project org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.jdt.core.prefs org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.jdt.ui.prefs org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.ltk.core.refactoring.prefs org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.mylar.tasklist.prefs org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.mylyn.tasklist.prefs org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.mylyn.tasks.ui.prefs org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.pde.prefs org.eclipse.mylyn.bugzilla.tests/META-INF/MANIFEST.MF org.eclipse.mylyn.bugzilla.tests/about.html org.eclipse.mylyn.bugzilla.tests/build.properties org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AbstractBugzillaTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaTests.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaConfigurationTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaProductParserTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaSearchDialogTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaSearchEngineTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskHyperlinkDetectorTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskListManagerTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTestPlugin.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTestUtil.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/DuplicateDetetionTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/EncodingTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/NewBugWizardTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryEditorWizardTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryReportFactoryTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryTaskHandleTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskEditorTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskListNotificationManagerTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskListStandaloneTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskReportGeneratorTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/headless/BugzillaQueryTest.java org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/headless/BugzillaTaskHistoryTest.java org.eclipse.mylyn.bugzilla.tests/test-attach-1181009324093.txt org.eclipse.mylyn.bugzilla.tests/test-attach-1182233735875.txt org.eclipse.mylyn.bugzilla.tests/testdata/configuration/rdfconfig218.txt org.eclipse.mylyn.bugzilla.tests/testdata/contexts/.cvsignore org.eclipse.mylyn.bugzilla.tests/testdata/contexts/empty.txt org.eclipse.mylyn.bugzilla.tests/testdata/pages/bug-1-full.html org.eclipse.mylyn.bugzilla.tests/testdata/pages/bug-not-found-eclipse.html org.eclipse.mylyn.bugzilla.tests/testdata/pages/bug-not-found-hipikat.html org.eclipse.mylyn.bugzilla.tests/testdata/pages/cdt-page.html org.eclipse.mylyn.bugzilla.tests/testdata/pages/enter-bug220.html org.eclipse.mylyn.bugzilla.tests/testdata/pages/enter-bug2201.html org.eclipse.mylyn.bugzilla.tests/testdata/pages/equinox-page.html org.eclipse.mylyn.bugzilla.tests/testdata/pages/gmt-page.html org.eclipse.mylyn.bugzilla.tests/testdata/pages/hipikat-copy-bug-1-full.html org.eclipse.mylyn.bugzilla.tests/testdata/pages/platform-page.html org.eclipse.mylyn.bugzilla.tests/testdata/pages/product-page-1-product-hipikat.html org.eclipse.mylyn.bugzilla.tests/testdata/pages/test-report-220.html org.eclipse.mylyn.bugzilla.tests/testdata/pages/test-report-2201.html org.eclipse.mylyn.bugzilla.tests/testdata/pages/test-report-222attachment.html org.eclipse.mylyn.bugzilla.tests/testdata/pages/ve-page.html org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/1.html org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/2.html org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/40152.html org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/4548.html org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/4862.html org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/67395.html org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/76146.html org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/76388.html org.eclipse.mylyn.tasks.tests/.classpath org.eclipse.mylyn.tasks.tests/.cvsignore org.eclipse.mylyn.tasks.tests/.project org.eclipse.mylyn.tasks.tests/.settings/org.eclipse.jdt.core.prefs org.eclipse.mylyn.tasks.tests/.settings/org.eclipse.jdt.ui.prefs org.eclipse.mylyn.tasks.tests/.settings/org.eclipse.ltk.core.refactoring.prefs org.eclipse.mylyn.tasks.tests/.settings/org.eclipse.mylar.tasklist.prefs org.eclipse.mylyn.tasks.tests/.settings/org.eclipse.mylyn.tasklist.prefs org.eclipse.mylyn.tasks.tests/.settings/org.eclipse.mylyn.tasks.ui.prefs org.eclipse.mylyn.tasks.tests/.settings/org.eclipse.pde.prefs org.eclipse.mylyn.tasks.tests/META-INF/MANIFEST.MF org.eclipse.mylyn.tasks.tests/about.html org.eclipse.mylyn.tasks.tests/build.properties org.eclipse.mylyn.tasks.tests/plugin.xml org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/AllTasksTests.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/AttachmentJobTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/BackgroundSaveTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/CommentQuoterTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/CopyDetailsActionTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/OfflineCachingStorageTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/OfflineStorageTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/ProjectRepositoryAssociationTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositorySettingsPageTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositoryTaskSynchronizationTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RetrieveTitleFromUrlTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TableSorterTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskActivityTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataExportTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataImportTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataManagerTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskHistoryTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskKeyComparatorTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskList06DataMigrationTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListBackupManagerTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListContentProviderTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListDnDTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListManagerTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListUiTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskPlanningEditorTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositoriesExternalizerTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositoryManagerTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositorySorterTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositoryTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskTestUtil.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TasksTestsPlugin.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/UrlConnectionUtilTest.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockAttachmentHandler.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockAttributeFactory.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockRepositoryConnector.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockRepositoryQuery.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockRepositoryTask.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockStatusHandler.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockTaskConnectorUi.java org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockTaskListFactory.java org.eclipse.mylyn.tasks.tests/testdata/legacy/tasklist_0_4_8.xml org.eclipse.mylyn.tasks.tests/testdata/taskdataimporttest/context-history.xml org.eclipse.mylyn.tasks.tests/testdata/taskdataimporttest/local-69.xml org.eclipse.mylyn.tasks.tests/testdata/taskdataimporttest/local-70.xml org.eclipse.mylyn.tasks.tests/testdata/taskdataimporttest/mylardata-2006-02-16.zip org.eclipse.mylyn.tasks.tests/testdata/taskdataimporttest/mylardata-2007-01-19.zip org.eclipse.mylyn.tasks.tests/testdata/taskdataimporttest/repositories.xml org.eclipse.mylyn.tasks.tests/testdata/taskdataimporttest/tasklist.xml org.eclipse.mylyn.tasks.tests/testdata/tasklistdatamigrationtest/empty.txt org.eclipse.mylyn.trac.tests/.classpath org.eclipse.mylyn.trac.tests/.cvsignore org.eclipse.mylyn.trac.tests/.project org.eclipse.mylyn.trac.tests/.settings/org.eclipse.jdt.core.prefs org.eclipse.mylyn.trac.tests/.settings/org.eclipse.jdt.ui.prefs org.eclipse.mylyn.trac.tests/.settings/org.eclipse.ltk.core.refactoring.prefs org.eclipse.mylyn.trac.tests/.settings/org.eclipse.mylar.tasklist.prefs org.eclipse.mylyn.trac.tests/.settings/org.eclipse.mylyn.tasklist.prefs org.eclipse.mylyn.trac.tests/.settings/org.eclipse.mylyn.tasks.ui.prefs org.eclipse.mylyn.trac.tests/.settings/org.eclipse.pde.prefs org.eclipse.mylyn.trac.tests/META-INF/MANIFEST.MF org.eclipse.mylyn.trac.tests/about.html org.eclipse.mylyn.trac.tests/build.properties org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtilTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientRepositoryTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientSearchTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AllTracTests.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/RepositorySearchQueryTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TestProxy.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracAttachmentHandlerTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracClientFactoryTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracClientManagerTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracClientProxyTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracQueryTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryConnectorTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryQueryTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositorySettingsPageTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracSearchTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTaskDataHandlerTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTaskTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTestConstants.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTestPlugin.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTicketTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracWebClientSearchTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracWebClientTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcClientSearchTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcClientTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcTest.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TestCleanupUtil.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TestFixture.java org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/XmlRpcServer.java
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/.classpath11
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/.cvsignore2
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/.project28
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.jdt.core.prefs316
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.jdt.ui.prefs6
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.ltk.core.refactoring.prefs3
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.mylar.tasklist.prefs4
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.mylyn.tasklist.prefs4
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.mylyn.tasks.ui.prefs4
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.pde.prefs12
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/META-INF/MANIFEST.MF30
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/about.html27
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/build.properties17
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AbstractBugzillaTest.java157
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaTests.java57
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaConfigurationTest.java231
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaProductParserTest.java101
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java659
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaSearchDialogTest.java68
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaSearchEngineTest.java125
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskHyperlinkDetectorTest.java135
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskListManagerTest.java232
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskTest.java81
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTestPlugin.java96
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTestUtil.java51
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/DuplicateDetetionTest.java271
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/EncodingTest.java86
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/NewBugWizardTest.java79
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryEditorWizardTest.java180
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryReportFactoryTest.java452
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryTaskHandleTest.java74
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskEditorTest.java79
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskListNotificationManagerTest.java134
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskListStandaloneTest.java208
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskReportGeneratorTest.java186
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/headless/BugzillaQueryTest.java175
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/headless/BugzillaTaskHistoryTest.java161
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/test-attach-1181009324093.txt1
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/test-attach-1182233735875.txt1
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/configuration/rdfconfig218.txt461
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/contexts/.cvsignore1
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/contexts/empty.txt0
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/pages/bug-1-full.html719
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/pages/bug-not-found-eclipse.html158
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/pages/bug-not-found-hipikat.html142
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/pages/cdt-page.html184
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/pages/enter-bug220.html441
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/pages/enter-bug2201.html493
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/pages/equinox-page.html177
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/pages/gmt-page.html175
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/pages/hipikat-copy-bug-1-full.html157
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/pages/platform-page.html299
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/pages/product-page-1-product-hipikat.html256
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/pages/test-report-220.html667
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/pages/test-report-2201.html859
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/pages/test-report-222attachment.html859
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/pages/ve-page.html178
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/1.html377
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/2.html406
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/40152.html1228
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/4548.html377
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/4862.html401
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/67395.html390
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/76146.html406
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/76388.html426
-rw-r--r--org.eclipse.mylyn.tasks.tests/.classpath15
-rw-r--r--org.eclipse.mylyn.tasks.tests/.cvsignore1
-rw-r--r--org.eclipse.mylyn.tasks.tests/.project28
-rw-r--r--org.eclipse.mylyn.tasks.tests/.settings/org.eclipse.jdt.core.prefs316
-rw-r--r--org.eclipse.mylyn.tasks.tests/.settings/org.eclipse.jdt.ui.prefs6
-rw-r--r--org.eclipse.mylyn.tasks.tests/.settings/org.eclipse.ltk.core.refactoring.prefs3
-rw-r--r--org.eclipse.mylyn.tasks.tests/.settings/org.eclipse.mylar.tasklist.prefs4
-rw-r--r--org.eclipse.mylyn.tasks.tests/.settings/org.eclipse.mylyn.tasklist.prefs4
-rw-r--r--org.eclipse.mylyn.tasks.tests/.settings/org.eclipse.mylyn.tasks.ui.prefs4
-rw-r--r--org.eclipse.mylyn.tasks.tests/.settings/org.eclipse.pde.prefs12
-rw-r--r--org.eclipse.mylyn.tasks.tests/META-INF/MANIFEST.MF29
-rw-r--r--org.eclipse.mylyn.tasks.tests/about.html27
-rw-r--r--org.eclipse.mylyn.tasks.tests/build.properties18
-rw-r--r--org.eclipse.mylyn.tasks.tests/plugin.xml21
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/AllTasksTests.java59
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/AttachmentJobTest.java115
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/BackgroundSaveTest.java63
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/CommentQuoterTest.java70
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/CopyDetailsActionTest.java27
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/OfflineCachingStorageTest.java151
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/OfflineStorageTest.java309
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/ProjectRepositoryAssociationTest.java70
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositorySettingsPageTest.java178
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RepositoryTaskSynchronizationTest.java454
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/RetrieveTitleFromUrlTest.java40
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TableSorterTest.java34
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskActivityTest.java773
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataExportTest.java160
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataImportTest.java127
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataManagerTest.java257
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskHistoryTest.java242
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskKeyComparatorTest.java61
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskList06DataMigrationTest.java323
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListBackupManagerTest.java97
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListContentProviderTest.java63
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListDnDTest.java74
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListManagerTest.java918
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListTest.java27
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskListUiTest.java393
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskPlanningEditorTest.java113
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositoriesExternalizerTest.java108
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositoryManagerTest.java223
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositorySorterTest.java72
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskRepositoryTest.java29
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskTest.java59
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskTestUtil.java51
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TasksTestsPlugin.java46
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/UrlConnectionUtilTest.java74
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockAttachmentHandler.java81
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockAttributeFactory.java51
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockRepositoryConnector.java170
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockRepositoryQuery.java35
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockRepositoryTask.java62
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockStatusHandler.java32
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockTaskConnectorUi.java49
-rw-r--r--org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/connector/MockTaskListFactory.java80
-rw-r--r--org.eclipse.mylyn.tasks.tests/testdata/legacy/tasklist_0_4_8.xml1
-rw-r--r--org.eclipse.mylyn.tasks.tests/testdata/taskdataimporttest/context-history.xml1
-rw-r--r--org.eclipse.mylyn.tasks.tests/testdata/taskdataimporttest/local-69.xml1
-rw-r--r--org.eclipse.mylyn.tasks.tests/testdata/taskdataimporttest/local-70.xml1
-rw-r--r--org.eclipse.mylyn.tasks.tests/testdata/taskdataimporttest/mylardata-2006-02-16.zipbin2670 -> 0 bytes
-rw-r--r--org.eclipse.mylyn.tasks.tests/testdata/taskdataimporttest/mylardata-2007-01-19.zipbin3275 -> 0 bytes
-rw-r--r--org.eclipse.mylyn.tasks.tests/testdata/taskdataimporttest/repositories.xml4
-rw-r--r--org.eclipse.mylyn.tasks.tests/testdata/taskdataimporttest/tasklist.xml1
-rw-r--r--org.eclipse.mylyn.tasks.tests/testdata/tasklistdatamigrationtest/empty.txt0
-rw-r--r--org.eclipse.mylyn.trac.tests/.classpath7
-rw-r--r--org.eclipse.mylyn.trac.tests/.cvsignore3
-rw-r--r--org.eclipse.mylyn.trac.tests/.project28
-rw-r--r--org.eclipse.mylyn.trac.tests/.settings/org.eclipse.jdt.core.prefs316
-rw-r--r--org.eclipse.mylyn.trac.tests/.settings/org.eclipse.jdt.ui.prefs6
-rw-r--r--org.eclipse.mylyn.trac.tests/.settings/org.eclipse.ltk.core.refactoring.prefs3
-rw-r--r--org.eclipse.mylyn.trac.tests/.settings/org.eclipse.mylar.tasklist.prefs4
-rw-r--r--org.eclipse.mylyn.trac.tests/.settings/org.eclipse.mylyn.tasklist.prefs4
-rw-r--r--org.eclipse.mylyn.trac.tests/.settings/org.eclipse.mylyn.tasks.ui.prefs4
-rw-r--r--org.eclipse.mylyn.trac.tests/.settings/org.eclipse.pde.prefs12
-rw-r--r--org.eclipse.mylyn.trac.tests/META-INF/MANIFEST.MF23
-rw-r--r--org.eclipse.mylyn.trac.tests/about.html27
-rw-r--r--org.eclipse.mylyn.trac.tests/build.properties11
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/internal/trac/ui/TracHyperlinkUtilTest.java204
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientRepositoryTest.java113
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientSearchTest.java233
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AbstractTracClientTest.java100
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/AllTracTests.java53
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/RepositorySearchQueryTest.java90
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TestProxy.java234
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracAttachmentHandlerTest.java210
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracClientFactoryTest.java96
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracClientManagerTest.java79
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracClientProxyTest.java75
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracQueryTest.java37
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryConnectorTest.java348
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryQueryTest.java80
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositorySettingsPageTest.java108
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracSearchTest.java136
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTaskDataHandlerTest.java167
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTaskTest.java44
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTestConstants.java33
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTestPlugin.java54
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracTicketTest.java70
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracWebClientSearchTest.java51
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracWebClientTest.java84
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcClientSearchTest.java56
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcClientTest.java85
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracXmlRpcTest.java507
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TestCleanupUtil.java58
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/TestFixture.java97
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/support/XmlRpcServer.java370
172 files changed, 0 insertions, 26018 deletions
diff --git a/org.eclipse.mylyn.bugzilla.tests/.classpath b/org.eclipse.mylyn.bugzilla.tests/.classpath
deleted file mode 100644
index 85a4bb4b4..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/.classpath
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
- <accessrules>
- <accessrule kind="nonaccessible" pattern="com/sun/**"/>
- </accessrules>
- </classpathentry>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/org.eclipse.mylyn.bugzilla.tests/.cvsignore b/org.eclipse.mylyn.bugzilla.tests/.cvsignore
deleted file mode 100644
index 0a2b58025..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-bin
-credentials.properties
diff --git a/org.eclipse.mylyn.bugzilla.tests/.project b/org.eclipse.mylyn.bugzilla.tests/.project
deleted file mode 100644
index 003d9ae61..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.mylyn.bugzilla.test</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.jdt.core.prefs b/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 888de1277..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,316 +0,0 @@
-#Sun Jun 24 11:52:58 EDT 2007
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
-org.eclipse.jdt.core.compiler.problem.deprecation=warning
-org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
-org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
-org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
-org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
-org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
-org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
-org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
-org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
-org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
-org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
-org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.problem.nullReference=error
-org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
-org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
-org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
-org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning
-org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
-org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
-org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
-org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
-org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
-org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
-org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
-org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning
-org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
-org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.unusedImport=warning
-org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
-org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
-org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
-org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
-org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
-org.eclipse.jdt.core.compiler.source=1.5
-org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_assignment=0
-org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
-org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
-org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
-org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
-org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=80
-org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
-org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_after_package=1
-org.eclipse.jdt.core.formatter.blank_lines_before_field=1
-org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
-org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
-org.eclipse.jdt.core.formatter.blank_lines_before_method=1
-org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
-org.eclipse.jdt.core.formatter.blank_lines_before_package=0
-org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
-org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
-org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
-org.eclipse.jdt.core.formatter.comment.format_block_comments=false
-org.eclipse.jdt.core.formatter.comment.format_comments=true
-org.eclipse.jdt.core.formatter.comment.format_header=false
-org.eclipse.jdt.core.formatter.comment.format_html=true
-org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
-org.eclipse.jdt.core.formatter.comment.format_line_comments=false
-org.eclipse.jdt.core.formatter.comment.format_source_code=true
-org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
-org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
-org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
-org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
-org.eclipse.jdt.core.formatter.comment.line_length=120
-org.eclipse.jdt.core.formatter.compact_else_if=true
-org.eclipse.jdt.core.formatter.continuation_indentation=2
-org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
-org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
-org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_empty_lines=false
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
-org.eclipse.jdt.core.formatter.indentation.size=4
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
-org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.lineSplit=120
-org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=true
-org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=true
-org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
-org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
-org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
-org.eclipse.jdt.core.formatter.tabulation.char=tab
-org.eclipse.jdt.core.formatter.tabulation.size=4
-org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
-org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 276c2e6d8..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,6 +0,0 @@
-#Mon Feb 05 18:45:19 PST 2007
-eclipse.preferences.version=1
-formatter_profile=_Mylar based on Eclipse [built-in]
-formatter_settings_version=11
-internal.default.compliance=default
-org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\r\n * @return the ${bare_field_name}\r\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\r\n * @param ${param} the ${bare_field_name} to set\r\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\r\n * \r\n */</template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author ${user}\r\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment"></template><template autoinsert\="false" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">/*******************************************************************************\r\n * Copyright (c) 2004 - 2006 University Of British Columbia and others.\r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the terms of the Eclipse Public License v1.0\r\n * which accompanies this distribution, and is available at\r\n * http\://www.eclipse.org/legal/epl-v10.html\r\n *\r\n * Contributors\:\r\n * University Of British Columbia - initial API and implementation\r\n *******************************************************************************/\r\n\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\r\n${exception_var}.printStackTrace();</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ignore\r\n${body_statement}</template><template autoinsert\="false" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\r\n// ignore</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
diff --git a/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.ltk.core.refactoring.prefs b/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.ltk.core.refactoring.prefs
deleted file mode 100644
index 7ab03bdac..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.ltk.core.refactoring.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Fri Jun 02 15:30:09 PDT 2006
-eclipse.preferences.version=1
-org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=true
diff --git a/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.mylar.tasklist.prefs b/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.mylar.tasklist.prefs
deleted file mode 100644
index a6cf96a98..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.mylar.tasklist.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-#Fri Oct 20 16:54:30 PDT 2006
-eclipse.preferences.version=1
-project.repository.kind=bugzilla
-project.repository.url=https\://bugs.eclipse.org/bugs
diff --git a/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.mylyn.tasklist.prefs b/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.mylyn.tasklist.prefs
deleted file mode 100644
index 0a2cc0b30..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.mylyn.tasklist.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-#Mon Jun 18 17:14:59 PDT 2007
-eclipse.preferences.version=1
-project.repository.kind=bugzilla
-project.repository.url=https\://bugs.eclipse.org/bugs
diff --git a/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.mylyn.tasks.ui.prefs b/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.mylyn.tasks.ui.prefs
deleted file mode 100644
index d8c6d26af..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.mylyn.tasks.ui.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-#Mon Jun 25 03:02:37 GMT 2007
-eclipse.preferences.version=1
-project.repository.kind=bugzilla
-project.repository.url=https\://bugs.eclipse.org/bugs
diff --git a/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.pde.prefs b/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index 769b229ff..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Thu Nov 03 15:45:55 PST 2005
-compilers.p.deprecated=2
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=2
-compilers.p.unknown-attribute=0
-compilers.p.unknown-class=0
-compilers.p.unknown-element=0
-compilers.p.unknown-resource=0
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.use-project=true
-eclipse.preferences.version=1
diff --git a/org.eclipse.mylyn.bugzilla.tests/META-INF/MANIFEST.MF b/org.eclipse.mylyn.bugzilla.tests/META-INF/MANIFEST.MF
deleted file mode 100644
index f97945062..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,30 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Bugzilla Tests Plug-in
-Bundle-SymbolicName: org.eclipse.mylyn.bugzilla.tests
-Bundle-Version: 0.0.0
-Bundle-Activator: org.eclipse.mylyn.bugzilla.tests.BugzillaTestPlugin
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.junit,
- org.eclipse.jface.text,
- org.eclipse.ui.ide,
- org.eclipse.ui.views,
- org.eclipse.ui.editors,
- org.eclipse.ui.workbench.texteditor,
- org.eclipse.mylyn.bugzilla.core,
- org.eclipse.mylyn.bugzilla.ui,
- org.eclipse.mylyn.tasks.ui,
- org.eclipse.mylyn.context.tests,
- org.eclipse.mylyn.tasks.tests,
- org.eclipse.mylyn.context.core,
- org.eclipse.mylyn.tasks.core,
- org.eclipse.ui.forms,
- org.eclipse.mylyn,
- org.eclipse.search,
- org.eclipse.mylyn.web.core
-Eclipse-AutoStart: true
-Bundle-Vendor: Eclipse.org
-Bundle-ClassPath: bugzilla-test.jar
-Export-Package: org.eclipse.mylyn.bugzilla.tests
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
diff --git a/org.eclipse.mylyn.bugzilla.tests/about.html b/org.eclipse.mylyn.bugzilla.tests/about.html
deleted file mode 100644
index 0dd939c09..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/about.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 7, 2007</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.tests/build.properties b/org.eclipse.mylyn.bugzilla.tests/build.properties
deleted file mode 100644
index f10e5a80c..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/build.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-###############################################################################
-# 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
-###############################################################################
-bin.includes = bugzilla-test.jar,\
- META-INF/,\
- about.html
-jars.compile.order = bugzilla-test.jar
-source.bugzilla-test.jar = src/
-output.bugzilla-test.jar = bin/
-src.includes = src/,\
- about.html,\
- META-INF/
-jre.compilation.profile = J2SE-1.5
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AbstractBugzillaTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AbstractBugzillaTest.java
deleted file mode 100644
index 517bb6b48..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AbstractBugzillaTest.java
+++ /dev/null
@@ -1,157 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import java.util.Set;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.mylyn.context.tests.support.TestUtil;
-import org.eclipse.mylyn.context.tests.support.TestUtil.Credentials;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryConnector;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaTask;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.tasks.core.AbstractRepositoryConnector;
-import org.eclipse.mylyn.tasks.core.AbstractTask;
-import org.eclipse.mylyn.tasks.core.ITaskFactory;
-import org.eclipse.mylyn.tasks.core.RepositoryTaskData;
-import org.eclipse.mylyn.tasks.core.TaskList;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.core.TaskRepositoryManager;
-import org.eclipse.mylyn.tasks.core.AbstractTask.RepositoryTaskSyncState;
-import org.eclipse.mylyn.tasks.ui.TaskFactory;
-import org.eclipse.mylyn.tasks.ui.TasksUiPlugin;
-
-/**
- * @author Mik Kersten
- * @author Rob Elves
- * @author Nathan Hapke
- */
-public abstract class AbstractBugzillaTest extends TestCase {
-
- static final String DEFAULT_KIND = BugzillaCorePlugin.REPOSITORY_KIND;
-
- protected BugzillaRepositoryConnector connector;
-
- protected TaskRepositoryManager manager;
-
- protected TaskRepository repository;
-
- protected TaskList taskList;
-
- protected ITaskFactory taskFactory;
-
- public AbstractBugzillaTest() {
- super();
- }
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- TasksUiPlugin.getTaskDataManager().clear();
- manager = TasksUiPlugin.getRepositoryManager();
- TasksUiPlugin.getTaskListManager().getTaskList().reset();
- manager.clearRepositories(TasksUiPlugin.getDefault().getRepositoriesFilePath());
- }
-
- @Override
- protected void tearDown() throws Exception {
- super.tearDown();
- TasksUiPlugin.getTaskListManager().resetTaskList();
- manager.clearRepositories(TasksUiPlugin.getDefault().getRepositoriesFilePath());
- }
-
- protected void init222() {
- init(IBugzillaConstants.TEST_BUGZILLA_222_URL);
- }
-
- protected void init2201() {
- init(IBugzillaConstants.TEST_BUGZILLA_2201_URL);
- }
-
- protected void init220() {
- init(IBugzillaConstants.TEST_BUGZILLA_220_URL);
- }
-
- protected void init218() {
- init(IBugzillaConstants.TEST_BUGZILLA_218_URL);
- }
-
- @SuppressWarnings("deprecation")
- protected void init(String url) {
- repository = new TaskRepository(DEFAULT_KIND, url);
- Credentials credentials = TestUtil.readCredentials();
- repository.setAuthenticationCredentials(credentials.username, credentials.password);
-
- repository.setTimeZoneId("Canada/Eastern");
- assertNotNull(manager);
- manager.addRepository(repository, TasksUiPlugin.getDefault().getRepositoriesFilePath());
-
- taskList = TasksUiPlugin.getTaskListManager().getTaskList();
-
- AbstractRepositoryConnector abstractRepositoryClient = manager.getRepositoryConnector(DEFAULT_KIND);
-
- assertEquals(abstractRepositoryClient.getConnectorKind(), DEFAULT_KIND);
-
- connector = (BugzillaRepositoryConnector) abstractRepositoryClient;
-
- taskFactory = new TaskFactory(repository);
-// connector.setForceSynchExecForTesting(true);
- TasksUiPlugin.getSynchronizationManager().setForceSyncExec(true);
- }
-
- protected BugzillaTask generateLocalTaskAndDownload(String taskNumber) throws CoreException {
- BugzillaTask task = (BugzillaTask) connector.createTaskFromExistingId(repository, taskNumber,
- new NullProgressMonitor());
- TasksUiPlugin.getSynchronizationManager().setTaskRead(task, true);
- assertNotNull(task);
- TasksUiPlugin.getTaskListManager().getTaskList().moveToContainer(task,
- TasksUiPlugin.getTaskListManager().getTaskList().getDefaultCategory());
-
- return task;
- }
-
- protected void submit(AbstractTask task, RepositoryTaskData taskData) throws CoreException {
- connector.getTaskDataHandler().postTaskData(repository, taskData, new NullProgressMonitor());
- task.setSubmitting(true);
- }
-
- // protected BugzillaReportSubmitForm makeExistingBugPost(RepositoryTaskData
- // taskData)
- // throws UnsupportedEncodingException {
- // return BugzillaReportSubmitForm.makeExistingBugPost(taskData,
- // repository.getUrl(), repository.getUserName(),
- // repository.getPassword(), repository.getCharacterEncoding());
- // }
-
- protected void synchAndAssertState(Set<AbstractTask> tasks, RepositoryTaskSyncState state) {
- for (AbstractTask task : tasks) {
- TasksUiPlugin.getSynchronizationManager().synchronize(connector, task, true, null);
- assertEquals(task.getSynchronizationState(), state);
- }
- }
-
- // class MockBugzillaReportSubmitForm extends BugzillaReportSubmitForm {
- //
- // public MockBugzillaReportSubmitForm() {
- // super();
- // }
- //
- // @Override
- // public String submitReportToRepository(BugzillaClient client) throws
- // BugzillaException, LoginException,
- // PossibleBugzillaFailureException {
- // return "test-submit";
- // }
- //
- // }
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaTests.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaTests.java
deleted file mode 100644
index a5c869b95..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/AllBugzillaTests.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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.bugzilla.tests;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.mylyn.bugzilla.tests.headless.BugzillaQueryTest;
-import org.eclipse.mylyn.bugzilla.tests.headless.BugzillaTaskHistoryTest;
-
-/**
- * @author Mik Kersten
- */
-public class AllBugzillaTests {
-
- public static Test suite() {
- TestSuite suite = new TestSuite("Test for org.eclipse.mylyn.bugzilla.tests");
- // $JUnit-BEGIN$
- suite.addTestSuite(RepositoryTaskHandleTest.class);
- suite.addTestSuite(TaskListNotificationManagerTest.class);
- suite.addTestSuite(BugzillaTaskTest.class);
- suite.addTestSuite(TaskReportGeneratorTest.class);
- suite.addTestSuite(TaskListStandaloneTest.class);
- suite.addTestSuite(BugzillaTaskListManagerTest.class);
- suite.addTestSuite(TaskEditorTest.class);
- suite.addTestSuite(BugzillaQueryTest.class);
- suite.addTestSuite(RepositoryEditorWizardTest.class);
- suite.addTestSuite(RepositoryReportFactoryTest.class);
- suite.addTestSuite(BugzillaConfigurationTest.class);
- suite.addTestSuite(BugzillaTaskHyperlinkDetectorTest.class);
- suite.addTestSuite(BugzillaSearchEngineTest.class);
- // suite.addTestSuite(Bugzilla220ParserTest.class);
- suite.addTestSuite(BugzillaRepositoryConnectorTest.class);
- suite.addTestSuite(EncodingTest.class);
- // suite.addTestSuite(NewBugWizardTest.class);
- // suite.addTestSuite(RegularExpressionMatchTest.class);
- // suite.addTestSuite(BugzillaNewBugParserTestCDT.class);
- // suite.addTestSuite(BugzillaNewBugParserTestEquinox.class);
- // suite.addTestSuite(BugzillaNewBugParserTestGMT.class);
- // suite.addTestSuite(BugzillaNewBugParserTestPlatform.class);
- // suite.addTestSuite(BugzillaNewBugParserTestVE.class);
- // suite.addTestSuite(BugzillaParserTestNoBug.class);
- suite.addTestSuite(BugzillaProductParserTest.class);
- // TODO: enable
- // suite.addTest(new TestSuite(BugzillaParserTest.class));
- suite.addTestSuite(BugzillaSearchDialogTest.class);
- suite.addTestSuite(DuplicateDetetionTest.class);
- suite.addTestSuite(BugzillaTaskHistoryTest.class);
- // $JUnit-END$
- return suite;
- }
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaConfigurationTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaConfigurationTest.java
deleted file mode 100644
index 944396d14..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaConfigurationTest.java
+++ /dev/null
@@ -1,231 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import java.io.BufferedReader;
-import java.io.FileInputStream;
-import java.io.InputStreamReader;
-import java.io.StringReader;
-import java.net.URL;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.internal.bugzilla.core.RepositoryConfiguration;
-import org.eclipse.mylyn.internal.bugzilla.core.SaxConfigurationContentHandler;
-import org.eclipse.mylyn.internal.bugzilla.core.XmlCleaner;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.XMLReaderFactory;
-
-public class BugzillaConfigurationTest extends TestCase {
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- }
-
- @Override
- protected void tearDown() throws Exception {
- super.tearDown();
- }
-
- public void test222RDFProductConfig() throws Exception {
- BugzillaClient client = new BugzillaClient(new URL(IBugzillaConstants.TEST_BUGZILLA_222_URL), "", "", "", "",
- "UTF-8");
- RepositoryConfiguration config = client.getRepositoryConfiguration();
- assertNotNull(config);
- assertEquals("2.22.1", config.getInstallVersion());
- assertEquals(7, config.getStatusValues().size());
- assertEquals(8, config.getResolutions().size());
- assertEquals(4, config.getPlatforms().size());
- assertEquals(5, config.getOSs().size());
- assertEquals(5, config.getPriorities().size());
- assertEquals(7, config.getSeverities().size());
- assertEquals(3, config.getProducts().size());
- assertEquals(4, config.getOpenStatusValues().size());
- assertEquals(1, config.getComponents("TestProduct").size());
- assertEquals(1, config.getVersions("TestProduct").size());
- assertEquals(0, config.getTargetMilestones("TestProduct").size());
- }
-
- public void test2201RDFProductConfig() throws Exception {
- BugzillaClient client = new BugzillaClient(new URL(IBugzillaConstants.TEST_BUGZILLA_2201_URL), "", "", "", "",
- "UTF-8");
- RepositoryConfiguration config = client.getRepositoryConfiguration();
- assertNotNull(config);
- assertEquals("2.20.1", config.getInstallVersion());
- assertEquals(7, config.getStatusValues().size());
- assertEquals(8, config.getResolutions().size());
- assertEquals(4, config.getPlatforms().size());
- assertEquals(5, config.getOSs().size());
- assertEquals(5, config.getPriorities().size());
- assertEquals(7, config.getSeverities().size());
- assertEquals(1, config.getProducts().size());
- assertEquals(4, config.getOpenStatusValues().size());
- assertEquals(2, config.getComponents("TestProduct").size());
- assertEquals(1, config.getVersions("TestProduct").size());
- // assertEquals(1, config.getTargetMilestones("TestProduct").size());
- }
-
- public void test220RDFProductConfig() throws Exception {
- BugzillaClient client = new BugzillaClient(new URL(IBugzillaConstants.TEST_BUGZILLA_220_URL), "", "", "", "",
- "UTF-8");
- RepositoryConfiguration config = client.getRepositoryConfiguration();
- assertNotNull(config);
- assertEquals("2.20.3", config.getInstallVersion());
- assertEquals(7, config.getStatusValues().size());
- assertEquals(8, config.getResolutions().size());
- assertEquals(4, config.getPlatforms().size());
- assertEquals(5, config.getOSs().size());
- assertEquals(5, config.getPriorities().size());
- assertEquals(7, config.getSeverities().size());
- assertEquals(2, config.getProducts().size());
- assertEquals(4, config.getOpenStatusValues().size());
- assertEquals(2, config.getComponents("TestProduct").size());
- assertEquals(1, config.getVersions("TestProduct").size());
- // assertEquals(1, config.getTargetMilestones("TestProduct").size());
- }
-
- public void test218RDFProductConfig() throws Exception {
- BugzillaClient client = new BugzillaClient(new URL(IBugzillaConstants.TEST_BUGZILLA_218_URL), "", "", "", "",
- "UTF-8");
- RepositoryConfiguration config = client.getRepositoryConfiguration();
- assertNotNull(config);
- assertEquals("2.18.6", config.getInstallVersion());
- assertEquals(7, config.getStatusValues().size());
- assertEquals(8, config.getResolutions().size());
- assertEquals(8, config.getPlatforms().size());
- assertEquals(36, config.getOSs().size());
- assertEquals(5, config.getPriorities().size());
- assertEquals(7, config.getSeverities().size());
- assertEquals(1, config.getProducts().size());
- assertEquals(4, config.getOpenStatusValues().size());
- assertEquals(1, config.getComponents("TestProduct").size());
- assertEquals(1, config.getVersions("TestProduct").size());
- // assertEquals(1, config.getTargetMilestones("TestProduct").size());
- }
-
- public void testEclipseRDFProductConfig() throws Exception {
- BugzillaClient client = new BugzillaClient(new URL(IBugzillaConstants.ECLIPSE_BUGZILLA_URL), "", "", "", "",
- "UTF-8");
- RepositoryConfiguration config = client.getRepositoryConfiguration();
- assertNotNull(config);
- assertEquals("2.22.1", config.getInstallVersion());
- assertEquals(7, config.getStatusValues().size());
- assertEquals(8, config.getResolutions().size());
- assertEquals(6, config.getPlatforms().size());
- assertEquals(29, config.getOSs().size());
- assertEquals(5, config.getPriorities().size());
- assertEquals(7, config.getSeverities().size());
- assertTrue(config.getProducts().size() > 50);
- assertEquals(4, config.getOpenStatusValues().size());
- assertEquals(13, config.getComponents("Mylyn").size());
- assertEquals(24, config.getKeywords().size());
- // assertEquals(10, config.getComponents("Hyades").size());
- // assertEquals(1, config.getTargetMilestones("TestProduct").size());
- }
-
- public void testRepositoryConfigurationCachePersistance() throws Exception {
- RepositoryConfiguration configuration1 = new RepositoryConfiguration();
- configuration1.setRepositoryUrl("url1");
- configuration1.addProduct("Test Product 1");
- assertEquals(1, configuration1.getProducts().size());
-
- RepositoryConfiguration configuration2 = new RepositoryConfiguration();
- configuration1.setRepositoryUrl("url2");
- configuration2.addProduct("Test Product 2");
- assertEquals(1, configuration2.getProducts().size());
-
- BugzillaCorePlugin.addRepositoryConfiguration(configuration1);
- BugzillaCorePlugin.addRepositoryConfiguration(configuration2);
- BugzillaCorePlugin.writeRepositoryConfigFile();
- BugzillaCorePlugin.removeConfiguration(configuration1);
- BugzillaCorePlugin.removeConfiguration(configuration2);
- assertNull(BugzillaCorePlugin.getRepositoryConfiguration(configuration1.getRepositoryUrl()));
- assertNull(BugzillaCorePlugin.getRepositoryConfiguration(configuration2.getRepositoryUrl()));
- BugzillaCorePlugin.readRepositoryConfigurationFile();
- assertNotNull(BugzillaCorePlugin.getRepositoryConfiguration(configuration1.getRepositoryUrl()));
- assertNotNull(BugzillaCorePlugin.getRepositoryConfiguration(configuration2.getRepositoryUrl()));
- RepositoryConfiguration testLoadedConfig = BugzillaCorePlugin.getRepositoryConfiguration(configuration1.getRepositoryUrl());
- assertEquals(1, testLoadedConfig.getProducts().size());
- assertEquals(configuration1.getProducts().get(0), testLoadedConfig.getProducts().get(0));
- }
-
-// @SuppressWarnings("deprecation")
-// public void testHtmlCleaner() throws IOException, BugzillaException, GeneralSecurityException {
-// StringBuffer incoming = new StringBuffer();
-// incoming.append("<RDF xmlns=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#");
-// incoming.append("xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#");
-// incoming.append("xmlns:bz=\"http://www.bugzilla.org/rdf#\">");
-// incoming.append("<li>");
-// incoming.append("<bz:product
-// incoming.append("</bz:product>");
-// incoming.append("</li>");
-// incoming.append("</RDF>");
-//
-// StringBuffer result = XmlCleaner.clean(new StringReader(incoming.toString()));
-// System.err.println(result);
-// }
-
- /**
- * Can use this to test config data submitted by users. Be sure not to commit user's config file though. The file
- * included (rdfconfig218.txt) is from mylar.eclipse.org/bugs218
- */
- public void testRepositoryConfigurationFromFile() throws Exception {
-
- URL entryURL = BugzillaTestPlugin.getDefault().getBundle().getEntry("testdata/configuration/rdfconfig218.txt");
- assertNotNull(entryURL);
- URL fileURL = FileLocator.toFileURL(entryURL);
- assertNotNull(fileURL);
-
- BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(fileURL.getFile())));
-
- if (true) {
- StringBuffer result = XmlCleaner.clean(in);
- StringReader strReader = new StringReader(result.toString());
- in = new BufferedReader(strReader);
- }
-
- SaxConfigurationContentHandler contentHandler = new SaxConfigurationContentHandler();
- final XMLReader reader = XMLReaderFactory.createXMLReader();
- reader.setContentHandler(contentHandler);
- reader.setErrorHandler(new ErrorHandler() {
-
- public void error(SAXParseException exception) throws SAXException {
- throw exception;
- }
-
- public void fatalError(SAXParseException exception) throws SAXException {
- throw exception;
- }
-
- public void warning(SAXParseException exception) throws SAXException {
- throw exception;
- }
- });
- reader.parse(new InputSource(in));
-
- RepositoryConfiguration config = contentHandler.getConfiguration();
- assertNotNull(config);
-
- assertTrue(config.getProducts().contains(
- "Test-Long-Named-Product-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"));
-
- // Add your additional checking for valid data here if necessary
-
- }
-
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaProductParserTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaProductParserTest.java
deleted file mode 100644
index 291523b72..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaProductParserTest.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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.bugzilla.tests;
-
-import java.util.Iterator;
-import java.util.List;
-
-import junit.framework.TestCase;
-
-import org.eclipse.mylyn.context.tests.support.TestUtil;
-import org.eclipse.mylyn.context.tests.support.TestUtil.Credentials;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-
-/**
- * Tests for parsing Product Page for new Bugzilla reports
- *
- * @author Mik Kersten
- * @author Rob Elves
- */
-public class BugzillaProductParserTest extends TestCase {
-
- private TaskRepository repository;
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- // repository = new TaskRepository(BugzillaPlugin.REPOSITORY_KIND,
- // new URL(IBugzillaConstants.ECLIPSE_BUGZILLA_URL));
- // MylarTaskListPlugin.getRepositoryManager().addRepository(repository);
- }
-
- @Override
- protected void tearDown() throws Exception {
- super.tearDown();
- // MylarTaskListPlugin.getRepositoryManager().removeRepository(repository);
- }
-
- public BugzillaProductParserTest(String arg0) {
- super(arg0);
- }
-
- private TaskRepository setRepository(String url) {
- repository = new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND, url);
- Credentials credentials = TestUtil.readCredentials();
- repository.setAuthenticationCredentials(credentials.username, credentials.password);
- return repository;
- }
-
- public void test222Products() throws Exception {
- setRepository(IBugzillaConstants.TEST_BUGZILLA_222_URL);
- List<String> productList = BugzillaCorePlugin.getRepositoryConfiguration(repository, false).getProducts();
- Iterator<String> itr = productList.iterator();
- assertTrue(itr.hasNext());
- assertEquals("Read Only Test Cases", itr.next());
- }
-
- public void test2201Products() throws Exception {
- setRepository(IBugzillaConstants.TEST_BUGZILLA_2201_URL);
- List<String> productList = BugzillaCorePlugin.getRepositoryConfiguration(repository, false).getProducts();
- Iterator<String> itr = productList.iterator();
- assertTrue(itr.hasNext());
- assertEquals("TestProduct", "TestProduct", itr.next());
-
- }
-
- public void test220Products() throws Exception {
- setRepository(IBugzillaConstants.TEST_BUGZILLA_220_URL);
- List<String> productList = BugzillaCorePlugin.getRepositoryConfiguration(repository, false).getProducts();
- assertEquals(2, productList.size());
- assertTrue(productList.contains("TestProduct"));
- assertTrue(productList.contains("Widget"));
-
- }
-
- public void test218Products() throws Exception {
- setRepository(IBugzillaConstants.TEST_BUGZILLA_218_URL);
- List<String> productList = BugzillaCorePlugin.getRepositoryConfiguration(repository, false).getProducts();
- assertEquals(1, productList.size());
- assertTrue(productList.contains("TestProduct"));
- }
-
-// No longer supporting 216
-// public void test216Products() throws Exception {
-//
-// repository = new TaskRepository(BugzillaPlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_216_URL,
-// IBugzillaConstants.BugzillaServerVersion.SERVER_216.toString());
-//
-// List<String> productList = BugzillaRepositoryUtil.getProductList(repository);
-// Iterator<String> itr = productList.iterator();
-// assertTrue(itr.hasNext());
-// assertEquals("TestProduct", "TestProduct", itr.next());
-// }
-
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java
deleted file mode 100644
index 5a4d7f2fb..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java
+++ /dev/null
@@ -1,659 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import java.io.BufferedWriter;
-import java.io.File;
-import java.io.FileWriter;
-import java.util.Date;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.Set;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.mylyn.context.core.ContextCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaReportElement;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryQuery;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaTask;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.internal.bugzilla.core.RepositoryConfiguration;
-import org.eclipse.mylyn.internal.tasks.core.LocalAttachment;
-import org.eclipse.mylyn.tasks.core.AbstractTask;
-import org.eclipse.mylyn.tasks.core.RepositoryAttachment;
-import org.eclipse.mylyn.tasks.core.RepositoryTaskAttribute;
-import org.eclipse.mylyn.tasks.core.RepositoryTaskData;
-import org.eclipse.mylyn.tasks.core.AbstractTask.RepositoryTaskSyncState;
-import org.eclipse.mylyn.tasks.ui.TasksUiPlugin;
-import org.eclipse.mylyn.tasks.ui.search.RepositorySearchResult;
-import org.eclipse.mylyn.tasks.ui.search.SearchHitCollector;
-
-/**
- * @author Mik Kersten
- * @author Rob Elves
- * @author Nathan Hapke
- */
-public class BugzillaRepositoryConnectorTest extends AbstractBugzillaTest {
-
- public void testFocedQuerySynchronization() throws CoreException {
- init222();
- TasksUiPlugin.getSynchronizationManager().setForceSyncExec(true);
- TasksUiPlugin.getTaskDataManager().clear();
- assertEquals(0, taskList.getAllTasks().size());
- BugzillaRepositoryQuery bugQuery = new BugzillaRepositoryQuery(
- IBugzillaConstants.TEST_BUGZILLA_222_URL,
- "http://mylyn.eclipse.org/bugs222/buglist.cgi?short_desc_type=allwordssubstr&short_desc=&product=Read+Only+Test+Cases&long_desc_type=allwordssubstr&long_desc=&bug_status=NEW&order=Importance",
- "testFocedQuerySynchronization");
-
- taskList.addQuery(bugQuery);
-
- TasksUiPlugin.getSynchronizationManager().synchronize(connector, bugQuery, null, false);
-
- assertEquals(1, bugQuery.getChildren().size());
- AbstractTask hit = (AbstractTask) bugQuery.getChildren().toArray()[0];
- assertTrue(TasksUiPlugin.getTaskDataManager().getNewTaskData(hit.getRepositoryUrl(), hit.getTaskId()) != null);
- TasksUiPlugin.getTaskDataManager().remove(hit.getRepositoryUrl(), hit.getTaskId());
-
- TasksUiPlugin.getSynchronizationManager().synchronize(connector, bugQuery, null, true);
- assertEquals(1, bugQuery.getChildren().size());
- hit = (AbstractTask) bugQuery.getChildren().toArray()[0];
- assertTrue(TasksUiPlugin.getTaskDataManager().getNewTaskData(hit.getRepositoryUrl(), hit.getTaskId()) != null);
-
- }
-
- public void testCreateTaskFromExistingId() throws Exception {
- init222();
- try {
- connector.createTaskFromExistingId(repository, "9999", new NullProgressMonitor());
- fail();
- } catch (CoreException ce) {
-
- }
-
- BugzillaTask task = generateLocalTaskAndDownload("1");
- assertNotNull(task);
- assertNotNull(TasksUiPlugin.getTaskDataManager().getNewTaskData(task.getRepositoryUrl(), task.getTaskId()));
- assertEquals(RepositoryTaskSyncState.SYNCHRONIZED, task.getSynchronizationState());
-
- BugzillaTask retrievedTask = (BugzillaTask) taskList.getTask(task.getHandleIdentifier());
- assertNotNull(retrievedTask);
- assertEquals(task.getHandleIdentifier(), retrievedTask.getHandleIdentifier());
- }
-
- public void testAnonymousRepositoryAccess() throws Exception {
- init218();
- assertNotNull(repository);
- repository.setAuthenticationCredentials("", "");
- // test anonymous task retrieval
- BugzillaTask task = this.generateLocalTaskAndDownload("2");
- assertNotNull(task);
-
- // // test anonymous query (note that this demonstrates query via
- // eclipse search (ui)
- // SearchHitCollector collector = new SearchHitCollector(taskList);
- // collector.setProgressMonitor(new NullProgressMonitor());
- // BugzillaSearchOperation operation = new BugzillaSearchOperation(
- // repository,
- // "http://mylyn.eclipse.org/bugs218/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=search-match-test&product=TestProduct&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&deadlinefrom=&deadlineto=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=",
- // null, collector, "-1");
- //
- String queryUrl = "http://mylyn.eclipse.org/bugs218/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=search-match-test&product=TestProduct&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&deadlinefrom=&deadlineto=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=";
- BugzillaRepositoryQuery bugzillaQuery = new BugzillaRepositoryQuery(repository.getUrl(), queryUrl, "search");
-
- SearchHitCollector collector = new SearchHitCollector(taskList, repository, bugzillaQuery, taskFactory);
- RepositorySearchResult result = (RepositorySearchResult) collector.getSearchResult();
-
- // operation.run(new NullProgressMonitor());
- // BugzillaSearchQuery searchQuery = new BugzillaSearchQuery(collector);
- collector.run(new NullProgressMonitor());
- assertEquals(2, result.getElements().length);
-
- for (AbstractTask hit : collector.getTasks()) {
- assertTrue(hit.getSummary().contains("search-match-test"));
- }
-
- // test anonymous update of configuration
- RepositoryConfiguration config = BugzillaCorePlugin.getRepositoryConfiguration(repository, false);
- assertNotNull(config);
- assertTrue(config.getComponents().size() > 0);
- }
-
- public void testUpdate() throws Exception {
- init222();
- String taskNumber = "3";
- TasksUiPlugin.getTaskDataManager().clear();
- assertEquals(0, TasksUiPlugin.getTaskListManager().getTaskList().getAllTasks().size());
- BugzillaTask task = this.generateLocalTaskAndDownload(taskNumber);
- assertEquals("search-match-test 2", task.getSummary());
- assertEquals("TestProduct", task.getProduct());
- assertEquals("P1", task.getPriority());
- assertEquals("blocker", task.getSeverity());
- assertEquals("nhapke@cs.ubc.ca", task.getOwner());
- // assertEquals("2007-04-18 14:21:40",
- // task.getCompletionDate().toString());
- assertFalse(task.isCompleted());
- assertEquals("http://mylyn.eclipse.org/bugs222/show_bug.cgi?id=3", task.getUrl());
- }
-
- public void testUpdateWithSubTasks() throws Exception {
- init222();
- String taskNumber = "23";
- TasksUiPlugin.getTaskDataManager().clear();
- assertEquals(0, TasksUiPlugin.getTaskListManager().getTaskList().getAllTasks().size());
- BugzillaTask task = this.generateLocalTaskAndDownload(taskNumber);
- assertNotNull(task.getChildren());
- assertEquals(2, task.getChildren().size());
- }
-
- public void testContextAttachFailure() throws Exception {
- init218();
- BugzillaTask task = this.generateLocalTaskAndDownload("3");
- assertNotNull(task);
- assertNotNull(TasksUiPlugin.getTaskDataManager().getNewTaskData(task.getRepositoryUrl(), task.getTaskId()));
- TasksUiPlugin.getTaskListManager().activateTask(task);
- File sourceContextFile = ContextCorePlugin.getContextManager().getFileForContext(task.getHandleIdentifier());
- assertEquals(RepositoryTaskSyncState.SYNCHRONIZED, task.getSynchronizationState());
- sourceContextFile.createNewFile();
- sourceContextFile.deleteOnExit();
- repository.setAuthenticationCredentials("wrong", "wrong");
- try {
- connector.getAttachmentHandler().attachContext(repository, task, "", new NullProgressMonitor());
- } catch (CoreException e) {
- assertEquals(RepositoryTaskSyncState.SYNCHRONIZED, task.getSynchronizationState());
- return;
- }
- fail("Should have failed due to invalid userid and password.");
- }
-
- public void testSynchronize() throws CoreException {
- init222();
-
- TasksUiPlugin.getTaskDataManager().clear();
-
- // Get the task
- BugzillaTask task = generateLocalTaskAndDownload("3");
-
- RepositoryTaskData taskData = TasksUiPlugin.getTaskDataManager().getEditableCopy(task.getRepositoryUrl(),
- task.getTaskId());
- assertNotNull(taskData);
-
- TasksUiPlugin.getTaskListManager().getTaskList().moveToContainer(task,
- TasksUiPlugin.getTaskListManager().getTaskList().getDefaultCategory());
- int numComments = taskData.getComments().size();
-
- // Modify it
- String newCommentText = "BugzillaRepositoryClientTest.testSynchronize(): " + (new Date()).toString();
- taskData.setNewComment(newCommentText);
- Set<RepositoryTaskAttribute> changed = new HashSet<RepositoryTaskAttribute>();
- changed.add(taskData.getAttribute(RepositoryTaskAttribute.COMMENT_NEW));
- TasksUiPlugin.getTaskDataManager().saveEdits(task.getRepositoryUrl(), task.getTaskId(), changed);
-
- // Submit changes
- submit(task, taskData);
-
- TasksUiPlugin.getSynchronizationManager().synchronize(connector, task, true, null);
- // After submit task should be in SYNCHRONIZED state
- assertEquals(RepositoryTaskSyncState.SYNCHRONIZED, task.getSynchronizationState());
- RepositoryTaskData taskData2 = TasksUiPlugin.getTaskDataManager().getNewTaskData(task.getRepositoryUrl(),
- task.getTaskId());
- assertFalse(taskData2.getLastModified().equals(taskData.getLastModified()));
- // Still not read
- assertFalse(taskData2.getLastModified().equals(task.getLastReadTimeStamp()));
- TasksUiPlugin.getSynchronizationManager().setTaskRead(task, true);
- assertEquals(taskData2.getLastModified(), task.getLastReadTimeStamp());
- assertTrue(taskData2.getComments().size() > numComments);
-
- // Has no outgoing changes or conflicts yet needs synch
- // because task doesn't have bug report (new query hit)
- // Result: retrieved with no incoming status
- // task.setSyncState(RepositoryTaskSyncState.SYNCHRONIZED);
- TasksUiPlugin.getTaskDataManager().remove(task.getRepositoryUrl(), task.getTaskId());
- TasksUiPlugin.getSynchronizationManager().synchronize(connector, task, false, null);
- assertEquals(RepositoryTaskSyncState.SYNCHRONIZED, task.getSynchronizationState());
- RepositoryTaskData bugReport2 = null;
- bugReport2 = TasksUiPlugin.getTaskDataManager().getNewTaskData(task.getRepositoryUrl(), task.getTaskId());
- assertNotNull(bugReport2);
- assertEquals(task.getTaskId(), bugReport2.getId());
-
- assertEquals(newCommentText, bugReport2.getComments().get(numComments).getText());
- // TODO: Test that comment was appended
- // ArrayList<Comment> comments = task.getTaskData().getComments();
- // assertNotNull(comments);
- // assertTrue(comments.size() > 0);
- // Comment lastComment = comments.get(comments.size() - 1);
- // assertEquals(newCommentText, lastComment.getText());
-
- }
-
- public void testUniqueQueryHitObjects() {
- init222();
- BugzillaRepositoryQuery query1 = new BugzillaRepositoryQuery(IBugzillaConstants.TEST_BUGZILLA_222_URL,
- "queryurl", "description1");
- BugzillaTask query1Hit = new BugzillaTask(IBugzillaConstants.TEST_BUGZILLA_222_URL, "1", "description1");
- taskList.addQuery(query1);
- taskList.addTask(query1Hit, query1);
-
- BugzillaRepositoryQuery query2 = new BugzillaRepositoryQuery(IBugzillaConstants.TEST_BUGZILLA_222_URL,
- "queryurl2", "description2");
- BugzillaTask query2Hit = new BugzillaTask(IBugzillaConstants.TEST_BUGZILLA_222_URL, "1", "description2");
- taskList.addQuery(query2);
- taskList.addTask(query2Hit, query1);
-
- assertEquals(2, taskList.getQueries().size());
- assertEquals(1, taskList.getAllTasks().size());
- for (AbstractTask hit : query1.getChildren()) {
- for (AbstractTask hit2 : query2.getChildren()) {
- assertTrue(hit.getClass().equals(hit2.getClass()));
- }
- }
-
- taskList.deleteQuery(query1);
- taskList.deleteQuery(query2);
- assertEquals(1, taskList.getAllTasks().size());
- }
-
- public void testAttachToExistingReport() throws Exception {
- init222();
- String taskNumber = "33";
- BugzillaTask task = generateLocalTaskAndDownload(taskNumber);
- RepositoryTaskData taskData = TasksUiPlugin.getTaskDataManager().getNewTaskData(task.getRepositoryUrl(),
- task.getTaskId());
-
- assertNotNull(task);
- assertNotNull(taskData);
- TasksUiPlugin.getSynchronizationManager().setTaskRead(task, true);
- assertEquals(RepositoryTaskSyncState.SYNCHRONIZED, task.getSynchronizationState());
- assertEquals(taskNumber, taskData.getId());
- int numAttached = taskData.getAttachments().size();
- String fileName = "test-attach-" + System.currentTimeMillis() + ".txt";
-
- assertNotNull(repository.getUserName());
- assertNotNull(repository.getPassword());
-
- /* Initialize a local attachment */
- LocalAttachment attachment = new LocalAttachment();
- attachment.setDescription("Test attachment " + new Date());
- attachment.setContentType("text/plain");
- attachment.setPatch(false);
- attachment.setReport(taskData);
- attachment.setComment("Automated JUnit attachment test"); // optional
-
- /* Test attempt to upload a non-existent file */
- attachment.setFilePath("/this/is/not/a/real-file");
- attachment.setFile(new File(attachment.getFilePath()));
- attachment.setFilename("real-file");
- // IAttachmentHandler attachmentHandler =
- // connector.getAttachmentHandler();
- BugzillaClient client = connector.getClientManager().getClient(repository);
- try {
- client.postAttachment(attachment.getReport().getId(), attachment.getComment(), attachment);
- fail();
- } catch (Exception e) {
- }
- // attachmentHandler.uploadAttachment(repository, task, comment,
- // summary, file, contentType, isPatch, proxySettings)
- // assertFalse(attachmentHandler.uploadAttachment(attachment,
- // repository.getUserName(), repository.getPassword(),
- // Proxy.NO_PROXY));
- assertEquals(RepositoryTaskSyncState.SYNCHRONIZED, task.getSynchronizationState());
- task = (BugzillaTask) connector.createTaskFromExistingId(repository, taskNumber, new NullProgressMonitor());
- TasksUiPlugin.getSynchronizationManager().synchronize(connector, task, true, null);
-
- assertEquals(numAttached, taskData.getAttachments().size());
-
- /* Test attempt to upload an empty file */
- File attachFile = new File(fileName);
- attachment.setFilePath(attachFile.getAbsolutePath());
- BufferedWriter write = new BufferedWriter(new FileWriter(attachFile));
- attachFile = new File(attachment.getFilePath());
- attachment.setFile(attachFile);
- attachment.setFilename(attachFile.getName());
- // assertFalse(attachmentHandler.uploadAttachment(attachment,
- // repository.getUserName(), repository.getPassword(),
- // Proxy.NO_PROXY));
- try {
- client.postAttachment(attachment.getReport().getId(), attachment.getComment(), attachment);
- fail();
- } catch (Exception e) {
- }
- task = (BugzillaTask) connector.createTaskFromExistingId(repository, taskNumber, new NullProgressMonitor());
- TasksUiPlugin.getSynchronizationManager().synchronize(connector, task, true, null);
- taskData = TasksUiPlugin.getTaskDataManager().getNewTaskData(task.getRepositoryUrl(), task.getTaskId());
- assertEquals(numAttached, taskData.getAttachments().size());
-
- /* Test uploading a proper file */
- write.write("test file");
- write.close();
- attachment.setFilePath(attachFile.getAbsolutePath());
- // assertTrue(attachmentHandler.uploadAttachment(attachment,
- // repository.getUserName(), repository.getPassword(),
- // Proxy.NO_PROXY));
- File fileToAttach = new File(attachment.getFilePath());
- assertTrue(fileToAttach.exists());
- attachment.setFile(fileToAttach);
- attachment.setFilename(fileToAttach.getName());
- client.postAttachment(attachment.getReport().getId(), attachment.getComment(), attachment);
-
- task = (BugzillaTask) connector.createTaskFromExistingId(repository, taskNumber, new NullProgressMonitor());
- TasksUiPlugin.getSynchronizationManager().synchronize(connector, task, true, null);
- taskData = TasksUiPlugin.getTaskDataManager().getNewTaskData(task.getRepositoryUrl(), task.getTaskId());
- assertEquals(numAttached + 1, taskData.getAttachments().size());
-
- // use assertion to track clean-up
- assertTrue(attachFile.delete());
- }
-
- public void testSynchChangedReports() throws Exception {
-
- init222();
- String taskID = "4";
- BugzillaTask task4 = generateLocalTaskAndDownload(taskID);
- RepositoryTaskData taskData4 = TasksUiPlugin.getTaskDataManager().getEditableCopy(task4.getRepositoryUrl(),
- task4.getTaskId());
- assertNotNull(task4);
- assertNotNull(taskData4);
- assertEquals(RepositoryTaskSyncState.SYNCHRONIZED, task4.getSynchronizationState());
- assertEquals(taskID, taskData4.getId());
-
- BugzillaTask task5 = generateLocalTaskAndDownload("5");
- RepositoryTaskData taskData5 = TasksUiPlugin.getTaskDataManager().getEditableCopy(task5.getRepositoryUrl(),
- task5.getTaskId());
- assertNotNull(task5);
- assertNotNull(taskData5);
- assertEquals(RepositoryTaskSyncState.SYNCHRONIZED, task5.getSynchronizationState());
- assertEquals("5", taskData5.getId());
-
- Set<AbstractTask> tasks = new HashSet<AbstractTask>();
- tasks.add(task4);
- tasks.add(task5);
-
- // Precondition for test passing is that task5's modification data is
- // AFTER
- // task4's
-
- TasksUiPlugin.getRepositoryManager().setSynchronizationTime(repository, task5.getLastReadTimeStamp(),
- TasksUiPlugin.getDefault().getRepositoriesFilePath());
-
- boolean changed = connector.markStaleTasks(repository, tasks, new NullProgressMonitor());
- assertTrue(changed);
- // Always last known changed returned
- assertFalse(task4.isStale());
- assertTrue(task5.isStale());
-
- String priority4 = null;
- if (task4.getPriority().equals("P1")) {
- priority4 = "P2";
- taskData4.setAttributeValue(BugzillaReportElement.PRIORITY.getKeyString(), priority4);
- } else {
- priority4 = "P1";
- taskData4.setAttributeValue(BugzillaReportElement.PRIORITY.getKeyString(), priority4);
- }
-
- String priority5 = null;
- if (task5.getPriority().equals("P1")) {
- priority5 = "P2";
- taskData5.setAttributeValue(BugzillaReportElement.PRIORITY.getKeyString(), priority5);
- } else {
- priority5 = "P1";
- taskData5.setAttributeValue(BugzillaReportElement.PRIORITY.getKeyString(), priority5);
- }
-
- assertNotNull(repository.getUserName());
- assertNotNull(repository.getPassword());
-
- submit(task4, taskData4);
- submit(task5, taskData5);
-
- changed = connector.markStaleTasks(repository, tasks, new NullProgressMonitor());
-
- assertTrue(task4.isStale());
- assertTrue(task5.isStale());
-
- TasksUiPlugin.getSynchronizationManager().synchronize(connector, tasks, true, null);
-
- for (AbstractTask task : tasks) {
- if (task.getTaskId() == "4") {
- assertEquals(priority4, task4.getPriority());
- }
- if (task.getTaskId() == "5") {
- assertEquals(priority5, task5.getPriority());
- }
- }
- }
-
- public void testIncomingWhenOfflineDeleted() throws Exception {
-
- init222();
- BugzillaTask task7 = generateLocalTaskAndDownload("7");
- RepositoryTaskData recentTaskData = TasksUiPlugin.getTaskDataManager().getNewTaskData(task7.getRepositoryUrl(),
- task7.getTaskId());
- assertNotNull(recentTaskData);
- TasksUiPlugin.getSynchronizationManager().setTaskRead(task7, true);
- assertEquals(RepositoryTaskSyncState.SYNCHRONIZED, task7.getSynchronizationState());
- assertEquals("7", recentTaskData.getId());
-
- Set<AbstractTask> tasks = new HashSet<AbstractTask>();
- tasks.add(task7);
-
- TasksUiPlugin.getRepositoryManager().setSynchronizationTime(repository, task7.getLastReadTimeStamp(),
- TasksUiPlugin.getDefault().getRepositoriesFilePath());
-
- assertNotNull(TasksUiPlugin.getTaskDataManager().getNewTaskData(IBugzillaConstants.TEST_BUGZILLA_222_URL, "7"));
- TasksUiPlugin.getTaskDataManager().remove(task7.getRepositoryUrl(), task7.getTaskId());
-
- assertNull(TasksUiPlugin.getTaskDataManager().getNewTaskData(IBugzillaConstants.TEST_BUGZILLA_222_URL, "7"));
-
- assertEquals(RepositoryTaskSyncState.SYNCHRONIZED, task7.getSynchronizationState());
- assertNotNull(task7.getLastReadTimeStamp());
- // Task no longer stored offline
- // make an external change
- assertNotNull(repository.getUserName());
- assertNotNull(repository.getPassword());
-
- String priority = null;
- if (task7.getPriority().equals("P1")) {
- priority = "P2";
- recentTaskData.setAttributeValue(BugzillaReportElement.PRIORITY.getKeyString(), priority);
- } else {
- priority = "P1";
- recentTaskData.setAttributeValue(BugzillaReportElement.PRIORITY.getKeyString(), priority);
- }
- // REMOVE ALL TASK DATA
- TasksUiPlugin.getTaskDataManager().clear();
- connector.getTaskDataHandler().postTaskData(repository, recentTaskData, new NullProgressMonitor());
- TasksUiPlugin.getSynchronizationManager().synchronizeChanged(connector, repository);
- assertEquals(RepositoryTaskSyncState.INCOMING, task7.getSynchronizationState());
- }
-
- public void testTimeTracker222() throws Exception {
- init222();
- timeTracker(15, true);
- }
-
- // We'll skip these two for now and just test 222 and 218 since
- // they are the most common. If problems arise we can re-enable.
- // public void testTimeTracker2201() throws Exception {
- // init2201();
- // timeTracker(22, true);
- // }
- //
- // public void testTimeTracker220() throws Exception {
- // init220();
- // timeTracker(8, true);
- // }
-
- public void testTimeTracker218() throws Exception {
- init218();
- timeTracker(20, false);
- }
-
- /**
- * @param enableDeadline
- * bugzilla 218 doesn't support deadlines
- */
- protected void timeTracker(int taskid, boolean enableDeadline) throws Exception {
- BugzillaTask bugtask = generateLocalTaskAndDownload("" + taskid);
- RepositoryTaskData bugtaskdata = TasksUiPlugin.getTaskDataManager().getNewTaskData(bugtask.getRepositoryUrl(),
- bugtask.getTaskId());
- assertNotNull(bugtaskdata);
- assertEquals(taskid + "", bugtaskdata.getId());
- assertEquals(RepositoryTaskSyncState.SYNCHRONIZED, bugtask.getSynchronizationState());
-
- Set<AbstractTask> tasks = new HashSet<AbstractTask>();
- tasks.add(bugtask);
-
- // synchAndAssertState(tasks, RepositoryTaskSyncState.SYNCHRONIZED);
-
- TasksUiPlugin.getRepositoryManager().setSynchronizationTime(repository, bugtask.getLastReadTimeStamp(),
- TasksUiPlugin.getDefault().getRepositoriesFilePath());
- // connector.synchronizeChanged(repository);
-
- // Set<AbstractTask> changedTasks =
- // connector.getOfflineTaskHandler().getChangedSinceLastSync(repository,
- // tasks);
- // assertEquals(1, changedTasks.size());
-
- assertNotNull(repository.getUserName());
- assertNotNull(repository.getPassword());
-
- float estimatedTime, remainingTime, actualTime, addTime;
- String deadline = null;
-
- estimatedTime = Float.parseFloat(bugtaskdata.getAttributeValue(BugzillaReportElement.ESTIMATED_TIME.getKeyString()));
- remainingTime = Float.parseFloat(bugtaskdata.getAttributeValue(BugzillaReportElement.REMAINING_TIME.getKeyString()));
- actualTime = Float.parseFloat(bugtaskdata.getAttributeValue(BugzillaReportElement.ACTUAL_TIME.getKeyString()));
- if (enableDeadline)
- deadline = bugtaskdata.getAttributeValue(BugzillaReportElement.DEADLINE.getKeyString());
-
- estimatedTime += 2;
- remainingTime += 1.5;
- addTime = 0.75f;
- if (enableDeadline)
- deadline = generateNewDay();
-
- bugtaskdata.setAttributeValue(BugzillaReportElement.ESTIMATED_TIME.getKeyString(), "" + estimatedTime);
- bugtaskdata.setAttributeValue(BugzillaReportElement.REMAINING_TIME.getKeyString(), "" + remainingTime);
- bugtaskdata.setAttributeValue(BugzillaReportElement.WORK_TIME.getKeyString(), "" + addTime);
- if (enableDeadline)
- bugtaskdata.setAttributeValue(BugzillaReportElement.DEADLINE.getKeyString(), deadline);
-
-// for (AbstractTask task : tasks) {
-// RepositoryTaskData taskData = TasksUiPlugin.getTaskDataManager().getNewTaskData(
-// task.getHandleIdentifier());
- bugtaskdata.setAttributeValue(BugzillaReportElement.ADD_COMMENT.getKeyString(), "New Estimate: "
- + estimatedTime + "\nNew Remaining: " + remainingTime + "\nAdd: " + addTime);
- submit(bugtask, bugtaskdata);
-// }
-
- synchAndAssertState(tasks, RepositoryTaskSyncState.SYNCHRONIZED);
-
- bugtaskdata = TasksUiPlugin.getTaskDataManager()
- .getNewTaskData(bugtask.getRepositoryUrl(), bugtask.getTaskId());
-
- assertEquals(estimatedTime,
- Float.parseFloat(bugtaskdata.getAttributeValue(BugzillaReportElement.ESTIMATED_TIME.getKeyString())));
- assertEquals(remainingTime,
- Float.parseFloat(bugtaskdata.getAttributeValue(BugzillaReportElement.REMAINING_TIME.getKeyString())));
- assertEquals(actualTime + addTime,
- Float.parseFloat(bugtaskdata.getAttributeValue(BugzillaReportElement.ACTUAL_TIME.getKeyString())));
- if (enableDeadline)
- assertEquals(deadline, bugtaskdata.getAttributeValue(BugzillaReportElement.DEADLINE.getKeyString()));
-
- }
-
- private String generateNewDay() {
- int year = 2006;
- int month = (int) (Math.random() * 12 + 1);
- int day = (int) (Math.random() * 28 + 1);
- return "" + year + "-" + ((month <= 9) ? "0" : "") + month + "-" + ((day <= 9) ? "0" : "") + day;
- }
-
- /**
- * Ensure obsoletes and patches are marked as such by the parser.
- */
- public void testAttachmentAttributes() throws Exception {
- init222();
- int bugId = 19;
- String taskNumber = "" + bugId;
- BugzillaTask task = generateLocalTaskAndDownload(taskNumber);
-
- // TasksUiPlugin.getSynchronizationManager().synchronize(connector,
- // task, true, null);
-
- assertNotNull(task);
-
- boolean isPatch[] = { false, true, false, false, false, false, false, true, false, false };
- boolean isObsolete[] = { false, true, false, true, false, false, false, false, false, false };
-
- RepositoryTaskData taskData = TasksUiPlugin.getTaskDataManager().getNewTaskData(task.getRepositoryUrl(),
- task.getTaskId());
-
- Iterator<RepositoryAttachment> iter = taskData.getAttachments().iterator();
-
- int index = 0;
- while (iter.hasNext()) {
- assertTrue(validateAttachmentAttributes(iter.next(), isPatch[index], isObsolete[index]));
- index++;
- }
- }
-
- private boolean validateAttachmentAttributes(RepositoryAttachment att, boolean isPatch, boolean isObsolete) {
- return (att.isPatch() == isPatch) && (att.isObsolete() == isObsolete);
- }
-
-// public void testSimpleLoad() throws Exception {
-// repository = new TaskRepository(DEFAULT_KIND,
-// IBugzillaConstants.ECLIPSE_BUGZILLA_URL);
-// //Credentials credentials = MylarTestUtils.readCredentials();
-// //repository.setAuthenticationCredentials(credentials.username,
-// credentials.password);
-//
-// //repository.setTimeZoneId("Canada/Eastern");
-// assertNotNull(manager);
-// manager.addRepository(repository,
-// TasksUiPlugin.getDefault().getRepositoriesFilePath());
-//
-// taskList = TasksUiPlugin.getTaskListManager().getTaskList();
-//
-// AbstractRepositoryConnector abstractRepositoryConnector =
-// manager.getRepositoryConnector(DEFAULT_KIND);
-//
-// assertEquals(abstractRepositoryConnector.getRepositoryType(), DEFAULT_KIND);
-//
-// connector = (BugzillaRepositoryConnector) abstractRepositoryConnector;
-//
-// long start = System.currentTimeMillis();
-// BugzillaTask task = null;
-// for(int x = 1; x < 5; x++) {
-// if(task != null)
-// taskList.deleteTask(task);
-//
-// task = this.generateLocalTaskAndDownload("154100");
-// assertNotNull(task);
-// }
-// System.err.println("Total: "+((System.currentTimeMillis() - start)/1000));
-// }
-
- // class MockBugzillaReportSubmitForm extends BugzillaReportSubmitForm {
- //
- // public MockBugzillaReportSubmitForm(String encoding_utf_8) {
- // super(encoding_utf_8);
- // }
- //
- // @Override
- // public String submitReportToRepository() throws BugzillaException,
- // LoginException,
- // PossibleBugzillaFailureException {
- // return "test-submit";
- // }
- //
- // }
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaSearchDialogTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaSearchDialogTest.java
deleted file mode 100644
index b7c742a27..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaSearchDialogTest.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import junit.framework.TestCase;
-
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.internal.bugzilla.ui.search.BugzillaSearchPage;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.core.TaskRepositoryManager;
-import org.eclipse.mylyn.tasks.ui.TasksUiPlugin;
-import org.eclipse.swt.widgets.Shell;
-
-/**
- * Test the bugzilla search dialog.
- *
- * @author Jeff Pound
- */
-public class BugzillaSearchDialogTest extends TestCase {
-
- private TaskRepositoryManager manager;
-
- @Override
- public void setUp() throws Exception {
- super.setUp();
- manager = TasksUiPlugin.getRepositoryManager();
- assertNotNull(manager);
- manager.clearRepositories(TasksUiPlugin.getDefault().getRepositoriesFilePath());
- }
-
- @Override
- protected void tearDown() throws Exception {
- super.tearDown();
- if (manager != null) {
- manager.clearRepositories(TasksUiPlugin.getDefault().getRepositoriesFilePath());
- }
- }
-
- /**
- * Test that the search dialog is initialized properly with the given repository.
- *
- * @throws Exception
- */
- public void testSearchDialogInit() throws Exception {
- TaskRepository repo = new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND,
- IBugzillaConstants.TEST_BUGZILLA_222_URL,
- IBugzillaConstants.BugzillaServerVersion.SERVER_222.toString());
- manager.addRepository(repo, TasksUiPlugin.getDefault().getRepositoriesFilePath());
- BugzillaSearchPage page = new BugzillaSearchPage(repo);
- Shell shell = BugzillaTestPlugin.getDefault().getWorkbench().getDisplay().getShells()[0];
- page.createControl(shell);
- page.setVisible(true);
-
- /*
- * This assertion will fail with a 0 product count if the options are
- * not retrieved properly, throw an exception if the page is not
- * initialized properly, or pass otherwise.
- */
- assertFalse(page.getProductCount() == 0);
- }
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaSearchEngineTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaSearchEngineTest.java
deleted file mode 100644
index 3b384757f..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaSearchEngineTest.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import java.util.Set;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryQuery;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.tasks.core.AbstractRepositoryConnector;
-import org.eclipse.mylyn.tasks.core.AbstractTask;
-import org.eclipse.mylyn.tasks.core.QueryHitCollector;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.ui.TaskFactory;
-import org.eclipse.mylyn.tasks.ui.TasksUiPlugin;
-
-/**
- * @author Rob Elves
- */
-public class BugzillaSearchEngineTest extends TestCase {
-
- private static final String QUERY_NAME = "Query Page Name";
-
- private static final String BUG_DESC_SUBSTRING_SEARCH = "/buglist.cgi?short_desc_type=allwordssubstr&short_desc=";// search-match-test&amp";
-
- private static final String SEARCH_DESCRIPTION = "search-match-test";
-
- private static final int NUM_EXPECTED_HITS = 2;
-
- private static final int NUM_REPOSITORIES = 0;
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- TasksUiPlugin.getRepositoryManager().clearRepositories(TasksUiPlugin.getDefault().getRepositoriesFilePath());
- assertEquals(NUM_REPOSITORIES, TasksUiPlugin.getRepositoryManager().getRepositories(
- BugzillaCorePlugin.REPOSITORY_KIND).size());
- }
-
- @Override
- protected void tearDown() throws Exception {
- TasksUiPlugin.getRepositoryManager().clearRepositories(TasksUiPlugin.getDefault().getRepositoriesFilePath());
- super.tearDown();
- }
-
-// public void testSearching216() throws Exception {
-// TaskRepository repository = new
-// TaskRepository(BugzillaPlugin.REPOSITORY_KIND,
-// IBugzillaConstants.TEST_BUGZILLA_216_URL,
-// IBugzillaConstants.BugzillaServerVersion.SERVER_216.toString());
-// MylarTaskListPlugin.getRepositoryManager().addRepository(repository);
-// List<AbstractQueryHit> hits =
-// runQuery(IBugzillaConstants.TEST_BUGZILLA_216_URL, SEARCH_DESCRIPTION);
-// assertEquals(NUM_EXPECTED_HITS, hits.size());
-// }
-
- public void testSearching218() throws Exception {
- TaskRepository repository = new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND,
- IBugzillaConstants.TEST_BUGZILLA_218_URL,
- IBugzillaConstants.BugzillaServerVersion.SERVER_218.toString());
- TasksUiPlugin.getRepositoryManager().addRepository(repository,
- TasksUiPlugin.getDefault().getRepositoriesFilePath());
- assertEquals(NUM_EXPECTED_HITS, runQuery(IBugzillaConstants.TEST_BUGZILLA_218_URL, SEARCH_DESCRIPTION).size());
- }
-
- public void testSearching220() throws Exception {
- TaskRepository repository = new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND,
- IBugzillaConstants.TEST_BUGZILLA_220_URL,
- IBugzillaConstants.BugzillaServerVersion.SERVER_220.toString());
- TasksUiPlugin.getRepositoryManager().addRepository(repository,
- TasksUiPlugin.getDefault().getRepositoriesFilePath());
- assertEquals(NUM_EXPECTED_HITS, runQuery(IBugzillaConstants.TEST_BUGZILLA_220_URL, SEARCH_DESCRIPTION).size());
- }
-
- public void testSearching2201() throws Exception {
- TaskRepository repository = new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND,
- IBugzillaConstants.TEST_BUGZILLA_2201_URL,
- IBugzillaConstants.BugzillaServerVersion.SERVER_220.toString());
- TasksUiPlugin.getRepositoryManager().addRepository(repository,
- TasksUiPlugin.getDefault().getRepositoriesFilePath());
- assertEquals(NUM_EXPECTED_HITS, runQuery(IBugzillaConstants.TEST_BUGZILLA_2201_URL, SEARCH_DESCRIPTION).size());
- }
-
- public void testSearching222() throws Exception {
- TaskRepository repository = new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND,
- IBugzillaConstants.TEST_BUGZILLA_222_URL,
- IBugzillaConstants.BugzillaServerVersion.SERVER_222.toString());
- TasksUiPlugin.getRepositoryManager().addRepository(repository,
- TasksUiPlugin.getDefault().getRepositoriesFilePath());
- Set<AbstractTask> hits = runQuery(IBugzillaConstants.TEST_BUGZILLA_222_URL, SEARCH_DESCRIPTION);
- assertEquals(NUM_EXPECTED_HITS, hits.size());
- }
-
- @SuppressWarnings("deprecation")
- private Set<AbstractTask> runQuery(String repositoryURL, String SearchString) throws Exception {
- TaskRepository repository = TasksUiPlugin.getRepositoryManager().getRepository(
- BugzillaCorePlugin.REPOSITORY_KIND, repositoryURL);
- assertNotNull(repository);
-
- final BugzillaRepositoryQuery repositoryQuery = new BugzillaRepositoryQuery(repository.getUrl(),
- repository.getUrl() + BUG_DESC_SUBSTRING_SEARCH + SearchString, QUERY_NAME);
-
- AbstractRepositoryConnector connector = TasksUiPlugin.getRepositoryManager().getRepositoryConnector(
- BugzillaCorePlugin.REPOSITORY_KIND);
-// TaskList taskList = TasksUiPlugin.getTaskListManager().getTaskList();
- QueryHitCollector collector = new QueryHitCollector(new TaskFactory(repository));
-
- connector.performQuery(repositoryQuery, repository, new NullProgressMonitor(), collector);
-
- // results.addAll(connector.performQuery(repositoryQuery, new
- // NullProgressMonitor(), new MultiStatus(TasksUiPlugin.PLUGIN_ID,
- // IStatus.OK, "Query result", null)));
- return collector.getTasks();
- }
-
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskHyperlinkDetectorTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskHyperlinkDetectorTest.java
deleted file mode 100644
index a4dfe3d9e..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskHyperlinkDetectorTest.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import junit.framework.TestCase;
-
-import org.eclipse.jface.text.Document;
-import org.eclipse.jface.text.Region;
-import org.eclipse.jface.text.hyperlink.IHyperlink;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.tasks.ui.editors.RepositoryTextViewer;
-import org.eclipse.mylyn.internal.tasks.ui.editors.TaskHyperlinkDetector;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.widgets.Shell;
-
-/**
- * @author Rob Elves
- */
-public class BugzillaTaskHyperlinkDetectorTest extends TestCase {
-
- private static final String DUPLICATE_NUMBER = "112233";
-
- private static final String DUPLICATE = "duplicate of " + DUPLICATE_NUMBER;
-
- private String TASK_FORMAT_1 = "task#1";
-
- private String TASK_FORMAT_2 = "task# 1";
-
- private String TASK_FORMAT_3 = "task1";
-
- private String TASK_FORMAT_4 = "task #1";
-
- private String BUG_FORMAT_1 = "bug# 1";
-
- private String BUG_FORMAT_2 = "bug # 1";
-
- private String BUG_FORMAT_3 = "bug1";
-
- private String BUG_FORMAT_4 = "bug #1";
-
- private String BUG_FORMAT_1_2 = "bug# 2";
-
- //private BugzillaTaskHyperlinkDetector detector = new BugzillaTaskHyperlinkDetector();
- private TaskHyperlinkDetector detector = new TaskHyperlinkDetector();
-
- private TaskRepository dummyRepository = new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND, "repository_url");
-
- private RepositoryTextViewer viewer = new RepositoryTextViewer(dummyRepository, new Shell(), SWT.NONE);
-
- private String[] formats = { TASK_FORMAT_1, TASK_FORMAT_2, TASK_FORMAT_3, TASK_FORMAT_4, BUG_FORMAT_1,
- BUG_FORMAT_2, BUG_FORMAT_3, BUG_FORMAT_4 };
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- }
-
- @Override
- protected void tearDown() throws Exception {
- super.tearDown();
- }
-
- public void testBeginning() {
- for (String format : formats) {
- String testString = format + " is at the beginning";
- viewer.setDocument(new Document(testString));
- Region region = new Region(0, testString.length());
- IHyperlink[] links = detector.detectHyperlinks(viewer, region, false);
- assertNotNull(links);
- assertEquals(1, links.length);
- assertEquals(testString.indexOf(format), links[0].getHyperlinkRegion().getOffset());
- }
- }
-
- public void testEnd() {
- for (String format : formats) {
- String testString = "is ends with " + format;
- viewer.setDocument(new Document(testString));
- Region region = new Region(testString.indexOf(format), testString.length());
- IHyperlink[] links = detector.detectHyperlinks(viewer, region, false);
- assertNotNull(links);
- assertEquals(1, links.length);
- assertEquals(testString.indexOf(format), links[0].getHyperlinkRegion().getOffset());
- }
- }
-
- public void testMiddle() {
- for (String format : formats) {
- String testString = "is a " + format + " in the middle";
- viewer.setDocument(new Document(testString));
- Region region = new Region(testString.indexOf(format), testString.length());
- IHyperlink[] links = detector.detectHyperlinks(viewer, region, false);
- assertNotNull(links);
- assertEquals(1, links.length);
- assertEquals(testString.indexOf(format), links[0].getHyperlinkRegion().getOffset());
- }
- }
-
- public void testTwoOnSingleLine() {
- String testString = "is a " + BUG_FORMAT_1 + " in the middle and at the end " + BUG_FORMAT_1_2;
- viewer.setDocument(new Document(testString));
- Region region = new Region(testString.indexOf(BUG_FORMAT_1_2), testString.length());
- IHyperlink[] links = detector.detectHyperlinks(viewer, region, false);
- assertNotNull(links);
- assertEquals(1, links.length);
- assertEquals(testString.indexOf(BUG_FORMAT_1_2), links[0].getHyperlinkRegion().getOffset());
- }
-
- public void testMultiLine() {
- String testString = "is a the first line\n this is the second which ends with a bug, " + BUG_FORMAT_1_2;
- viewer.setDocument(new Document(testString));
- Region region = new Region(testString.indexOf(BUG_FORMAT_1_2), testString.length());
- IHyperlink[] links = detector.detectHyperlinks(viewer, region, false);
- assertNotNull(links);
- assertEquals(1, links.length);
- assertEquals(testString.indexOf(BUG_FORMAT_1_2), links[0].getHyperlinkRegion().getOffset());
- }
-
- public void testDuplicate() {
- String testString = "*** This bug has been marked as a " + DUPLICATE + " ***";
- viewer.setDocument(new Document(testString));
- Region region = new Region(testString.indexOf(DUPLICATE), testString.length());
- IHyperlink[] links = detector.detectHyperlinks(viewer, region, false);
- assertNotNull(links);
- assertEquals(1, links.length);
- assertEquals(testString.indexOf(DUPLICATE_NUMBER), links[0].getHyperlinkRegion().getOffset());
- }
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskListManagerTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskListManagerTest.java
deleted file mode 100644
index 98716236f..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskListManagerTest.java
+++ /dev/null
@@ -1,232 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import java.io.File;
-import java.io.IOException;
-import java.util.Collection;
-import java.util.Set;
-
-import junit.framework.TestCase;
-
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryQuery;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaTask;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.tasks.core.AbstractRepositoryQuery;
-import org.eclipse.mylyn.tasks.core.AbstractTask;
-import org.eclipse.mylyn.tasks.core.AbstractTaskCategory;
-import org.eclipse.mylyn.tasks.core.AbstractTaskContainer;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.core.TaskList;
-import org.eclipse.mylyn.tasks.ui.TaskListManager;
-import org.eclipse.mylyn.tasks.ui.TasksUiPlugin;
-
-/**
- * @author Mik Kersten
- */
-public class BugzillaTaskListManagerTest extends TestCase {
-
- private TaskListManager manager;
-
- private TaskRepository repository;
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- manager = TasksUiPlugin.getTaskListManager();
- manager.readExistingOrCreateNewList();
- manager.resetTaskList();
- manager.saveTaskList();
- repository = new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.ECLIPSE_BUGZILLA_URL);
- TasksUiPlugin.getRepositoryManager().addRepository(repository,
- TasksUiPlugin.getDefault().getRepositoriesFilePath());
- assertEquals(0, manager.getTaskList().getAllTasks().size());
- }
-
- @Override
- protected void tearDown() throws Exception {
- super.tearDown();
- manager.resetTaskList();
- TasksUiPlugin.getTaskListManager().saveTaskList();
-// TasksUiPlugin.getDefault().getTaskListSaveManager().saveTaskList(true);
- TasksUiPlugin.getRepositoryManager().removeRepository(repository,
- TasksUiPlugin.getDefault().getRepositoriesFilePath());
- }
-
- // TODO: move
- public void testRemindedPersistance() {
-
- String repositoryUrl = "https://bugs.eclipse.org/bugs";
-
- String bugNumber = "106939";
-
- BugzillaTask task1 = new BugzillaTask(repositoryUrl, bugNumber, "label");
- manager.getTaskList().addTask(task1);
-
- task1.setReminded(true);
-
- TasksUiPlugin.getTaskListManager().saveTaskList();
- TasksUiPlugin.getTaskListManager().resetTaskList();
- TasksUiPlugin.getTaskListManager().readExistingOrCreateNewList();
-
- TaskList taskList = manager.getTaskList();
- assertEquals(1, taskList.getAllTasks().size());
- Set<AbstractTask> tasksReturned = taskList.getRepositoryTasks(repositoryUrl);
- assertNotNull(tasksReturned);
- assertEquals(1, tasksReturned.size());
- for (AbstractTask task : tasksReturned) {
- assertTrue(task.isReminded());
- }
- }
-
- public void testRepositoryTaskExternalization() {
- BugzillaTask repositoryTask = new BugzillaTask("repo", "1", "label");
- repositoryTask.setTaskKind("kind");
- manager.getTaskList().moveToContainer(repositoryTask,
- TasksUiPlugin.getTaskListManager().getTaskList().getDefaultCategory());
- manager.saveTaskList();
-
- manager.resetTaskList();
- // manager.getTaskList().clear();
- // TaskList list = new TaskList();
- // manager.setTaskList(list);
- manager.readExistingOrCreateNewList();
- assertEquals(1, manager.getTaskList().getDefaultCategory().getChildren().size());
- AbstractTask readTask = manager.getTaskList().getDefaultCategory().getChildren().iterator().next();
-
- assertEquals(repositoryTask.getHandleIdentifier(), readTask.getHandleIdentifier());
- assertEquals(repositoryTask.getSummary(), readTask.getSummary());
- assertEquals(repositoryTask.getTaskKind(), readTask.getTaskKind());
- }
-
- public void testQueryExternalization() {
- AbstractRepositoryQuery query = new BugzillaRepositoryQuery("repositoryUrl", "queryUrl", "label");
- // long time = 1234;
- // Date oldDate = new Date(time);
- // query.setLastRefresh(oldDate);
- assertEquals("repositoryUrl", query.getRepositoryUrl());
- assertEquals("queryUrl", query.getUrl());
- assertEquals("<never>", query.getLastSynchronizedTimeStamp());
- query.setLastSynchronizedStamp("today");
- // assertEquals(time, query.getLastSynchronized().getTime());
- manager.getTaskList().addQuery(query);
- manager.saveTaskList();
- assertNotNull(manager.getTaskList());
-
- manager.resetTaskList();
- manager.readExistingOrCreateNewList();
- assertEquals(1, manager.getTaskList().getQueries().size());
- AbstractRepositoryQuery readQuery = manager.getTaskList().getQueries().iterator().next();
- assertEquals(query.getUrl(), readQuery.getUrl());
- assertEquals(query.getRepositoryUrl(), readQuery.getRepositoryUrl());
- assertEquals("today", query.getLastSynchronizedTimeStamp());
- assertEquals("repositoryUrl", readQuery.getRepositoryUrl());
- // assertEquals(time, readQuery.getLastSynchronized().getTime());
- }
-
- public void testBugzillaCustomQueryExternalization() {
- BugzillaRepositoryQuery query = new BugzillaRepositoryQuery("repositoryUrl", "queryUrl", "label");
- query.setCustomQuery(true);
- manager.getTaskList().addQuery(query);
- manager.saveTaskList();
-
- manager.resetTaskList();
- // manager.getTaskList().clear();
- // TaskList list = new TaskList();
- // manager.setTaskList(list);
- manager.readExistingOrCreateNewList();
- assertEquals(1, manager.getTaskList().getQueries().size());
- BugzillaRepositoryQuery readQuery = (BugzillaRepositoryQuery) manager.getTaskList()
- .getQueries()
- .iterator()
- .next();
- assertTrue(readQuery.isCustomQuery());
- }
-
- public void testLegacyTaskListReading() throws IOException {
- File originalFile = manager.getTaskListFile();
- File legacyListFile = new File("temptasklist.xml");
- legacyListFile.deleteOnExit();
- BugzillaTestUtil.copy(BugzillaTestUtil.getLocalFile("testdata/legacy/tasklist_0_4_8.xml"), legacyListFile);
-
- assertEquals(362451, legacyListFile.length());
- assertTrue(legacyListFile.exists());
-
- manager.setTaskListFile(legacyListFile);
- manager.readExistingOrCreateNewList();
- manager.setTaskListFile(originalFile);
-
- Collection<AbstractTask> allTasks = manager.getTaskList().getAllTasks();
- Set<AbstractTask> allRootTasks = manager.getTaskList().getDefaultCategory().getChildren();
- Set<AbstractTaskCategory> allCategories = manager.getTaskList().getCategories();
- Set<AbstractTaskContainer> allRoots = manager.getTaskList().getRootElements();
- assertEquals(0, allRootTasks.size());
-
- manager.saveTaskList();
- // manager.getTaskList().clear();
- manager.resetTaskList();
- // TaskList list = new TaskList();
- // manager.setTaskList(list);
- manager.readExistingOrCreateNewList();
-
- assertEquals(allRootTasks.size(), manager.getTaskList().getDefaultCategory().getChildren().size());
- assertEquals(allCategories, manager.getTaskList().getCategories());
- assertEquals(allRoots.size(), manager.getTaskList().getRootElements().size());
- assertEquals(allTasks.size(), manager.getTaskList().getAllTasks().size());
-
- // rewrite and test again
- manager.saveTaskList();
- // manager.getTaskList().clear();
- manager.resetTaskList();
- // list = new TaskList();
- // manager.setTaskList(list);
- manager.readExistingOrCreateNewList();
-
- assertEquals(allRootTasks.size(), manager.getTaskList().getDefaultCategory().getChildren().size());
- assertEquals(allCategories, manager.getTaskList().getCategories());
- assertEquals(allRoots.size(), manager.getTaskList().getRootElements().size());
- assertEquals(allTasks.size(), manager.getTaskList().getAllTasks().size());
-
- manager.deactivateTask(manager.getTaskList().getActiveTask());
- }
-
- public void testDeleteQuery() {
- AbstractRepositoryQuery query = new BugzillaRepositoryQuery("repositoryUrl", "queryUrl", "label");
- manager.getTaskList().addQuery(query);
-
- AbstractRepositoryQuery readQuery = manager.getTaskList().getQueries().iterator().next();
- assertEquals(query, readQuery);
-
- manager.getTaskList().deleteQuery(query);
- assertEquals(0, manager.getTaskList().getQueries().size());
- }
-
- public void testDeleteQueryAfterRename() {
- AbstractRepositoryQuery query = new BugzillaRepositoryQuery("repositoryUrl", "queryUrl", "label");
- manager.getTaskList().addQuery(query);
-
- AbstractRepositoryQuery readQuery = manager.getTaskList().getQueries().iterator().next();
- assertEquals(query, readQuery);
- manager.getTaskList().renameContainer(query, "newName");
- manager.getTaskList().deleteQuery(query);
- assertEquals(0, manager.getTaskList().getQueries().size());
- }
-
- public void testCreateQueryWithSameName() {
- AbstractRepositoryQuery query = new BugzillaRepositoryQuery("repositoryUrl", "queryUrl", "label");
- manager.getTaskList().addQuery(query);
- assertEquals(1, manager.getTaskList().getQueries().size());
- AbstractRepositoryQuery readQuery = manager.getTaskList().getQueries().iterator().next();
- assertEquals(query, readQuery);
-
- manager.getTaskList().addQuery(new BugzillaRepositoryQuery("repositoryUrl", "queryUrl", "label"));
- assertEquals(1, manager.getTaskList().getQueries().size());
- }
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskTest.java
deleted file mode 100644
index 27916eebd..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTaskTest.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import java.text.SimpleDateFormat;
-import java.util.Date;
-
-import junit.framework.TestCase;
-
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaAttributeFactory;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaReportElement;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryConnector;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaTask;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaTaskDataHandler;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.tasks.core.AbstractRepositoryConnector;
-import org.eclipse.mylyn.tasks.core.RepositoryTaskAttribute;
-import org.eclipse.mylyn.tasks.core.RepositoryTaskData;
-import org.eclipse.mylyn.tasks.core.TaskComment;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.ui.TasksUiPlugin;
-
-/**
- * @author Mik Kersten
- */
-public class BugzillaTaskTest extends TestCase {
-
- private BugzillaAttributeFactory attributeFactory = new BugzillaAttributeFactory();
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- new BugzillaTaskDataHandler((BugzillaRepositoryConnector) TasksUiPlugin.getRepositoryManager()
- .getRepositoryConnector(BugzillaCorePlugin.REPOSITORY_KIND));
- }
-
- @Override
- protected void tearDown() throws Exception {
- super.tearDown();
- }
-
- public void testCompletionDate() throws Exception {
- BugzillaTask task = new BugzillaTask("repo", "1", "summary");
- RepositoryTaskData taskData = new RepositoryTaskData(new BugzillaAttributeFactory(),
- BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.ECLIPSE_BUGZILLA_URL, "1");
-
- //XXX rewrite test
-
- assertNull(task.getCompletionDate());
-
- Date now = new Date();
- String nowTimeStamp = new SimpleDateFormat(BugzillaAttributeFactory.comment_creation_ts_format).format(now);
-
- TaskComment taskComment = new TaskComment(new BugzillaAttributeFactory(), 1);
- RepositoryTaskAttribute attribute = attributeFactory.createAttribute(BugzillaReportElement.BUG_WHEN.getKeyString());
- attribute.setValue(nowTimeStamp);
- taskComment.addAttribute(BugzillaReportElement.BUG_WHEN.getKeyString(), attribute);
- taskData.addComment(taskComment);
- assertNull(task.getCompletionDate());
-
- RepositoryTaskAttribute resolvedAttribute = attributeFactory.createAttribute(BugzillaReportElement.BUG_STATUS.getKeyString());
- resolvedAttribute.setValue(IBugzillaConstants.VALUE_STATUS_RESOLVED);
- taskData.addAttribute(BugzillaReportElement.BUG_STATUS.getKeyString(), resolvedAttribute);
- AbstractRepositoryConnector connector = TasksUiPlugin.getRepositoryManager().getRepositoryConnector(
- BugzillaCorePlugin.REPOSITORY_KIND);
- connector.updateTaskFromTaskData(new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND, "http://eclipse.org"),
- task, taskData);
- assertNotNull(task.getCompletionDate());
- assertEquals(taskData.getAttributeFactory().getDateForAttributeType(
- BugzillaReportElement.BUG_WHEN.getKeyString(), nowTimeStamp), task.getCompletionDate());
-
- }
-
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTestPlugin.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTestPlugin.java
deleted file mode 100644
index 0b9aa30cd..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTestPlugin.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class BugzillaTestPlugin extends AbstractUIPlugin {
- // The shared instance.
- private static BugzillaTestPlugin plugin;
-
- // Resource bundle.
- private ResourceBundle resourceBundle;
-
- /**
- * The constructor.
- */
- public BugzillaTestPlugin() {
- super();
- plugin = this;
- }
-
- /**
- * This method is called upon plug-in activation
- */
- @Override
- public void start(BundleContext context) throws Exception {
- super.start(context);
- }
-
- /**
- * This method is called when the plug-in is stopped
- */
- @Override
- public void stop(BundleContext context) throws Exception {
- super.stop(context);
- plugin = null;
- resourceBundle = null;
- }
-
- /**
- * Returns the shared instance.
- */
- public static BugzillaTestPlugin getDefault() {
- return plugin;
- }
-
- /**
- * Returns the string from the plugin's resource bundle, or 'key' if not found.
- */
- public static String getResourceString(String key) {
- ResourceBundle bundle = BugzillaTestPlugin.getDefault().getResourceBundle();
- try {
- return (bundle != null) ? bundle.getString(key) : key;
- } catch (MissingResourceException e) {
- return key;
- }
- }
-
- /**
- * Returns the plugin's resource bundle,
- */
- public ResourceBundle getResourceBundle() {
- try {
- if (resourceBundle == null)
- resourceBundle = ResourceBundle.getBundle("org.eclipse.mylyn.bugzilla.tests.TestsPluginResources");
- } catch (MissingResourceException x) {
- resourceBundle = null;
- }
- return resourceBundle;
- }
-
- /**
- * Returns an image descriptor for the image file at the given plug-in relative path.
- *
- * @param path
- * the path
- * @return the image descriptor
- */
- public static ImageDescriptor getImageDescriptor(String path) {
- return AbstractUIPlugin.imageDescriptorFromPlugin("org.eclipse.mylyn.bugzilla.tests", path);
- }
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTestUtil.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTestUtil.java
deleted file mode 100644
index 10ddf2f31..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaTestUtil.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.net.URL;
-
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.mylyn.tasks.tests.TasksTestsPlugin;
-
-/**
- * @author Mik Kersten
- */
-public class BugzillaTestUtil {
-
- public static File getLocalFile(String path) {
- try {
- URL installURL = TasksTestsPlugin.getDefault().getBundle().getEntry(path);
- URL localURL = FileLocator.toFileURL(installURL);
- return new File(localURL.getFile());
- } catch (IOException e) {
- return null;
- }
- }
-
- /**
- * Adapted from Java Developers' almanac
- */
- public static void copy(File source, File dest) throws IOException {
- InputStream in = new FileInputStream(source);
- OutputStream out = new FileOutputStream(dest);
- byte[] buf = new byte[1024];
- int len;
- while ((len = in.read(buf)) > 0) {
- out.write(buf, 0, len);
- }
- in.close();
- out.close();
- }
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/DuplicateDetetionTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/DuplicateDetetionTest.java
deleted file mode 100644
index 161147940..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/DuplicateDetetionTest.java
+++ /dev/null
@@ -1,271 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import junit.framework.TestCase;
-
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaAttributeFactory;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.internal.bugzilla.ui.editor.NewBugzillaTaskEditor;
-import org.eclipse.mylyn.tasks.core.RepositoryTaskData;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.ui.TasksUiPlugin;
-import org.eclipse.mylyn.tasks.ui.TasksUiUtil;
-import org.eclipse.mylyn.tasks.ui.editors.AbstractNewRepositoryTaskEditor;
-import org.eclipse.mylyn.tasks.ui.editors.NewTaskEditorInput;
-import org.eclipse.mylyn.tasks.ui.editors.TaskEditor;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.PlatformUI;
-
-/**
- * @author Jeff Pound
- */
-public class DuplicateDetetionTest extends TestCase {
-
- private TaskRepository repository;
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- repository = new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_222_URL);
-
- }
-
- public void testDuplicateDetection() throws Exception {
-
- String stackTrace = "java.lang.NullPointerException\nat jeff.testing.stack.trace.functionality(jeff.java:481)";
-
- RepositoryTaskData model = new RepositoryTaskData(new BugzillaAttributeFactory(),
- BugzillaCorePlugin.REPOSITORY_KIND, repository.getUrl(), TasksUiPlugin.getTaskDataManager()
- .getNewRepositoryTaskId());
- model.setDescription(stackTrace);
- model.setNew(true);
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- NewTaskEditorInput input = new NewTaskEditorInput(repository, model);
- TasksUiUtil.openEditor(input, TaskEditor.ID_EDITOR, page);
-
- TaskEditor taskEditor = (TaskEditor) page.getActiveEditor();
- NewBugzillaTaskEditor editor = (NewBugzillaTaskEditor) taskEditor.getActivePageInstance();
- assertTrue(editor.searchForDuplicates());
-
- editor.markDirty(false);
- editor.close();
- }
-
- public void testNoStackTrace() throws Exception {
- String fakeStackTrace = "this is not really a stacktrace";
- RepositoryTaskData model = new RepositoryTaskData(new BugzillaAttributeFactory(),
- BugzillaCorePlugin.REPOSITORY_KIND, repository.getUrl(), TasksUiPlugin.getTaskDataManager()
- .getNewRepositoryTaskId());
- model.setDescription(fakeStackTrace);
- model.setNew(true);
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- NewTaskEditorInput input = new NewTaskEditorInput(repository, model);
- TasksUiUtil.openEditor(input, TaskEditor.ID_EDITOR, page);
-
- TaskEditor taskEditor = (TaskEditor) page.getActiveEditor();
- NewBugzillaTaskEditor editor = (NewBugzillaTaskEditor) taskEditor.getActivePageInstance();
- assertNull(AbstractNewRepositoryTaskEditor.getStackTraceFromDescription(model.getDescription()));
-
- editor.markDirty(false);
- editor.close();
- }
-
- public void testStackTraceWithAppendedText() throws Exception {
-
- String stackTrace = "java.lang.NullPointerException\nat jeff.testing.stack.trace.functionality(jeff.java:481)";
- String extraText = "\nExtra text that isnt' part of the stack trace java:";
-
- RepositoryTaskData model = new RepositoryTaskData(new BugzillaAttributeFactory(),
- BugzillaCorePlugin.REPOSITORY_KIND, repository.getUrl(), TasksUiPlugin.getTaskDataManager()
- .getNewRepositoryTaskId());
-
- model.setDescription(extraText + "\n" + stackTrace + "\n");
- model.setNew(true);
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- NewTaskEditorInput input = new NewTaskEditorInput(repository, model);
- TasksUiUtil.openEditor(input, TaskEditor.ID_EDITOR, page);
-
- TaskEditor taskEditor = (TaskEditor) page.getActiveEditor();
- NewBugzillaTaskEditor editor = (NewBugzillaTaskEditor) taskEditor.getActivePageInstance();
- assertEquals(stackTrace, AbstractNewRepositoryTaskEditor.getStackTraceFromDescription(model.getDescription())
- .trim());
-
- editor.markDirty(false);
- editor.close();
- }
-
- public void testStackTraceMisaligned() throws Exception {
-
- String stackTrace = "java.lang.IllegalStateException: zip file closed\n"
- + " at java.util.zip.ZipFile.ensureOpen (ZipFile.java:518)\n"
- + "at java.util.zip.ZipFile.getEntry (ZipFile.java:251)\n"
- + " at java.util.jar.JarFile.getEntry(JarFile.java:200)\n"
- + "at sun.net.www.protocol.jar.URLJarFile.getEntry\n" + " (URLJarFile.java:90)\n"
- + "at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:112)\n"
- + "at sun.net.www.protocol.jar.JarURLConnection.getInputStream\n" + "(JarURLConnection.java:124)\n"
- + "at org.eclipse.jdt.internal.core.JavaElement\n.getURLContents(JavaElement.java:734)";
-
- RepositoryTaskData model = new RepositoryTaskData(new BugzillaAttributeFactory(),
- BugzillaCorePlugin.REPOSITORY_KIND, repository.getUrl(), TasksUiPlugin.getTaskDataManager()
- .getNewRepositoryTaskId());
-
- model.setDescription(stackTrace);
- model.setNew(true);
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- NewTaskEditorInput input = new NewTaskEditorInput(repository, model);
- TasksUiUtil.openEditor(input, TaskEditor.ID_EDITOR, page);
-
- TaskEditor taskEditor = (TaskEditor) page.getActiveEditor();
- NewBugzillaTaskEditor editor = (NewBugzillaTaskEditor) taskEditor.getActivePageInstance();
- assertEquals(stackTrace, AbstractNewRepositoryTaskEditor.getStackTraceFromDescription(model.getDescription())
- .trim());
-
- editor.markDirty(false);
- editor.close();
- }
-
- public void testStackTraceSUN() throws Exception {
-
- // SUN, IBM (no space before brackets, one set of brackets)
- String stackTrace = "java.lang.IllegalStateException: zip file closed\n"
- + " at java.util.zip.ZipFile.ensureOpen(ZipFile.java:518)\n"
- + " at java.util.zip.ZipFile.getEntry(ZipFile.java:251)\n"
- + " at java.util.jar.JarFile.getEntry(JarFile.java:200)\n"
- + " at sun.net.www.protocol.jar.URLJarFile.getEntry(URLJarFile.java:90)\n"
- + " at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:112)\n"
- + " at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:124)\n"
- + " at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:734)";
-
- RepositoryTaskData model = new RepositoryTaskData(new BugzillaAttributeFactory(),
- BugzillaCorePlugin.REPOSITORY_KIND, repository.getUrl(), TasksUiPlugin.getTaskDataManager()
- .getNewRepositoryTaskId());
-
- model.setDescription(stackTrace);
- model.setNew(true);
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- NewTaskEditorInput input = new NewTaskEditorInput(repository, model);
- TasksUiUtil.openEditor(input, TaskEditor.ID_EDITOR, page);
-
- TaskEditor taskEditor = (TaskEditor) page.getActiveEditor();
- NewBugzillaTaskEditor editor = (NewBugzillaTaskEditor) taskEditor.getActivePageInstance();
- assertEquals(stackTrace, AbstractNewRepositoryTaskEditor.getStackTraceFromDescription(model.getDescription())
- .trim());
-
- editor.markDirty(false);
- editor.close();
- }
-
- public void testStackTraceGCJ() throws Exception {
-
- // gcj/gij (path and lib names in additional brackets)
- String stackTrace = "java.lang.Error: Something bad happened\n"
- + " at testcase.main(java.lang.String[]) (Unknown Source)\n"
- + " at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)\n"
- + " at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)";
-
- RepositoryTaskData model = new RepositoryTaskData(new BugzillaAttributeFactory(),
- BugzillaCorePlugin.REPOSITORY_KIND, repository.getUrl(), TasksUiPlugin.getTaskDataManager()
- .getNewRepositoryTaskId());
-
- model.setDescription(stackTrace);
- model.setNew(true);
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- NewTaskEditorInput input = new NewTaskEditorInput(repository, model);
- TasksUiUtil.openEditor(input, TaskEditor.ID_EDITOR, page);
-
- TaskEditor taskEditor = (TaskEditor) page.getActiveEditor();
- NewBugzillaTaskEditor editor = (NewBugzillaTaskEditor) taskEditor.getActivePageInstance();
- assertEquals(stackTrace, AbstractNewRepositoryTaskEditor.getStackTraceFromDescription(model.getDescription())
- .trim());
-
- editor.markDirty(false);
- editor.close();
- }
-
- public void testStackTraceNoLineNums() throws Exception {
-
- // ikvm (no line numbers)
- String stackTrace = "java.lang.Error: Something bad happened\n" + " at testcase.main (testcase.java)\n"
- + " at java.lang.reflect.Method.Invoke (Method.java)";
-
- RepositoryTaskData model = new RepositoryTaskData(new BugzillaAttributeFactory(),
- BugzillaCorePlugin.REPOSITORY_KIND, repository.getUrl(), TasksUiPlugin.getTaskDataManager()
- .getNewRepositoryTaskId());
-
- model.setDescription(stackTrace);
- model.setNew(true);
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- NewTaskEditorInput input = new NewTaskEditorInput(repository, model);
- TasksUiUtil.openEditor(input, TaskEditor.ID_EDITOR, page);
-
- TaskEditor taskEditor = (TaskEditor) page.getActiveEditor();
- NewBugzillaTaskEditor editor = (NewBugzillaTaskEditor) taskEditor.getActivePageInstance();
- assertEquals(stackTrace, AbstractNewRepositoryTaskEditor.getStackTraceFromDescription(model.getDescription())
- .trim());
-
- editor.markDirty(false);
- editor.close();
- }
-
- public void testStackTraceJRockit() throws Exception {
-
- // jrockit (slash delimiters)
- String stackTrace = "java.lang.Error: Something bad happened\n"
- + " at java/io/BufferedReader.readLine(BufferedReader.java:331)\n"
- + " at java/io/BufferedReader.readLine(BufferedReader.java:362)\n"
- + " at java/util/Properties.load(Properties.java:192)\n"
- + " at java/util/logging/LogManager.readConfiguration(L:555)";
-
- RepositoryTaskData model = new RepositoryTaskData(new BugzillaAttributeFactory(),
- BugzillaCorePlugin.REPOSITORY_KIND, repository.getUrl(), TasksUiPlugin.getTaskDataManager()
- .getNewRepositoryTaskId());
-
- model.setDescription(stackTrace);
- model.setNew(true);
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- NewTaskEditorInput input = new NewTaskEditorInput(repository, model);
- TasksUiUtil.openEditor(input, TaskEditor.ID_EDITOR, page);
-
- TaskEditor taskEditor = (TaskEditor) page.getActiveEditor();
- NewBugzillaTaskEditor editor = (NewBugzillaTaskEditor) taskEditor.getActivePageInstance();
- assertEquals(stackTrace, AbstractNewRepositoryTaskEditor.getStackTraceFromDescription(model.getDescription())
- .trim());
-
- editor.markDirty(false);
- editor.close();
- }
-
- public void testStackTraceOther() throws Exception {
-
- // jamvm, sablevm, kaffe, cacao (space before brackets, one set of brackets)
- String stackTrace = "java.lang.Error: Something bad happened\n" + " at testcase.main (testcase.java:3)\n"
- + " at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)\n"
- + " at java.lang.VirtualMachine.main (VirtualMachine.java:108)";
-
- RepositoryTaskData model = new RepositoryTaskData(new BugzillaAttributeFactory(),
- BugzillaCorePlugin.REPOSITORY_KIND, repository.getUrl(), TasksUiPlugin.getTaskDataManager()
- .getNewRepositoryTaskId());
-
- model.setDescription(stackTrace);
- model.setNew(true);
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- NewTaskEditorInput input = new NewTaskEditorInput(repository, model);
- TasksUiUtil.openEditor(input, TaskEditor.ID_EDITOR, page);
-
- TaskEditor taskEditor = (TaskEditor) page.getActiveEditor();
- NewBugzillaTaskEditor editor = (NewBugzillaTaskEditor) taskEditor.getActivePageInstance();
- assertEquals(stackTrace, AbstractNewRepositoryTaskEditor.getStackTraceFromDescription(model.getDescription())
- .trim());
-
- editor.markDirty(false);
- editor.close();
- }
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/EncodingTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/EncodingTest.java
deleted file mode 100644
index b3e8c7e7f..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/EncodingTest.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaReportElement;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaTask;
-import org.eclipse.mylyn.tasks.core.RepositoryTaskData;
-import org.eclipse.mylyn.tasks.ui.TasksUiPlugin;
-
-/**
- * @author Mik Kersten
- */
-public class EncodingTest extends AbstractBugzillaTest {
-
- public void testEncodingSetting() {
-
- String charset = BugzillaClient.getCharsetFromString("text/html; charset=UTF-8");
- assertEquals("UTF-8", charset);
-
- charset = BugzillaClient.getCharsetFromString("text/html");
- assertEquals(null, charset);
-
- charset = BugzillaClient.getCharsetFromString("<<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-2\">>");
- assertEquals("iso-8859-2", charset);
-
- charset = BugzillaClient.getCharsetFromString("<<meta http-equiv=\"Content-Type\" content=\"text/html\">>");
- assertEquals(null, charset);
- }
-
- /**
- * This test just shows that when the encoding is changed on the repository synchronization does in fact return in a
- * different encoding (though it may not be legible)
- */
- public void testDifferentReportEncoding() throws CoreException {
- init222();
- repository.setCharacterEncoding("UTF-8");
- BugzillaTask task = (BugzillaTask) connector.createTaskFromExistingId(repository, "57",
- new NullProgressMonitor());
- assertNotNull(task);
- //TasksUiPlugin.getSynchronizationManager().synchronize(connector, task, true, null);
- assertTrue(task.getSummary().equals("\u00E6"));//"\u05D0"));
- taskList.deleteTask(task);
- connector.getClientManager().repositoryRemoved(repository);
- repository.setCharacterEncoding("ISO-8859-1");
- task = (BugzillaTask) connector.createTaskFromExistingId(repository, "57", new NullProgressMonitor());
- assertNotNull(task);
- //TasksUiPlugin.getSynchronizationManager().synchronize(connector, task, true, null);
- // iso-8859-1 'incorrect' interpretation
- assertFalse(task.getSummary().equals("\u00E6"));//"\u05D0"));
- }
-
- public void testProperEncodingUponPost() throws CoreException {
- init222();
- repository.setCharacterEncoding("UTF-8");
- BugzillaTask task = (BugzillaTask) connector.createTaskFromExistingId(repository, "57",
- new NullProgressMonitor());
- RepositoryTaskData taskData = TasksUiPlugin.getTaskDataManager().getNewTaskData(task.getRepositoryUrl(),
- task.getTaskId());
- assertNotNull(task);
- assertTrue(task.getSummary().equals("\u00E6"));//"\u05D0"));
- String priority = null;
- if (task.getPriority().equals("P1")) {
- priority = "P2";
- taskData.setAttributeValue(BugzillaReportElement.PRIORITY.getKeyString(), priority);
- } else {
- priority = "P1";
- taskData.setAttributeValue(BugzillaReportElement.PRIORITY.getKeyString(), priority);
- }
-
- submit(task, taskData);
- taskList.deleteTask(task);
- task = (BugzillaTask) connector.createTaskFromExistingId(repository, "57", new NullProgressMonitor());
- assertNotNull(task);
- assertTrue(task.getSummary().equals("\u00E6"));//"\u05D0"));
- }
-
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/NewBugWizardTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/NewBugWizardTest.java
deleted file mode 100644
index 12bea4912..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/NewBugWizardTest.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaAttributeFactory;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaReportElement;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryConnector;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.tasks.core.RepositoryTaskData;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-
-/**
- * @author Mik Kersten
- * @author Ian Bull
- */
-public class NewBugWizardTest extends TestCase {
-
- public void testPlatformOptions() throws Exception {
-
- RepositoryTaskData newReport = new RepositoryTaskData(new BugzillaAttributeFactory(),
- BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_220_URL, "1");
-
- TaskRepository repository = new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND,
- IBugzillaConstants.TEST_BUGZILLA_220_URL);
- BugzillaRepositoryConnector.setupNewBugAttributes(repository, newReport);
- BugzillaCorePlugin.getDefault().setPlatformOptions(newReport);
-
- String os = Platform.getOS();
- if (os.equals("win32"))
- assertEquals("Windows", newReport.getAttribute(BugzillaReportElement.OP_SYS.getKeyString()).getValue());
- else if (os.equals("solaris"))
- assertEquals("Solaris", newReport.getAttribute(BugzillaReportElement.OP_SYS.getKeyString()).getValue());
- else if (os.equals("qnx"))
- assertEquals("QNX-Photon", newReport.getAttribute(BugzillaReportElement.OP_SYS.getKeyString()).getValue());
- else if (os.equals("macosx"))
- assertEquals("Mac OS", newReport.getAttribute(BugzillaReportElement.OP_SYS.getKeyString()).getValue());
- else if (os.equals("linux"))
- assertEquals("Linux", newReport.getAttribute(BugzillaReportElement.OP_SYS.getKeyString()).getValue());
- else if (os.equals("hpux"))
- assertEquals("HP-UX", newReport.getAttribute(BugzillaReportElement.OP_SYS.getKeyString()).getValue());
- else if (os.equals("aix"))
- assertEquals("AIX", newReport.getAttribute(BugzillaReportElement.OP_SYS.getKeyString()).getValue());
-
- String platform = Platform.getOSArch();
- if (platform.equals("x86")) {
- if (os.equals("macosx"))
- assertEquals("Macintosh", newReport.getAttribute(BugzillaReportElement.REP_PLATFORM.getKeyString())
- .getValue());
- else
- assertEquals("PC", newReport.getAttribute(BugzillaReportElement.REP_PLATFORM.getKeyString()).getValue());
- } else if (platform.equals("x86_64"))
- assertEquals("PC", newReport.getAttribute(BugzillaReportElement.REP_PLATFORM.getKeyString()).getValue());
- else if (platform.equals("ia64"))
- assertEquals("PC", newReport.getAttribute(BugzillaReportElement.REP_PLATFORM.getKeyString()).getValue());
- else if (platform.equals("ia64_32"))
- assertEquals("PC", newReport.getAttribute(BugzillaReportElement.REP_PLATFORM.getKeyString()).getValue());
- else if (platform.equals("sparc"))
- assertEquals("Sun", newReport.getAttribute(BugzillaReportElement.REP_PLATFORM.getKeyString()).getValue());
- else if (platform.equals("ppc")) {
- if (os.equals("macosx"))
- assertEquals("Macintosh", newReport.getAttribute(BugzillaReportElement.REP_PLATFORM.getKeyString())
- .getValue());
- else
- assertEquals("Power", newReport.getAttribute(BugzillaReportElement.REP_PLATFORM.getKeyString())
- .getValue());
- }
- }
-
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryEditorWizardTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryEditorWizardTest.java
deleted file mode 100644
index 0a3b33989..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryEditorWizardTest.java
+++ /dev/null
@@ -1,180 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import java.net.UnknownHostException;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.jface.wizard.WizardDialog;
-import org.eclipse.mylyn.context.tests.support.TestUtil;
-import org.eclipse.mylyn.context.tests.support.TestUtil.Credentials;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaClientFactory;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.internal.bugzilla.ui.tasklist.BugzillaRepositorySettingsPage;
-import org.eclipse.mylyn.internal.tasks.ui.wizards.EditRepositoryWizard;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.core.TaskRepositoryManager;
-import org.eclipse.mylyn.tasks.ui.TasksUiPlugin;
-import org.eclipse.mylyn.web.core.WebClientUtil;
-import org.eclipse.ui.PlatformUI;
-
-/**
- * @author Rob Elves
- */
-public class RepositoryEditorWizardTest extends TestCase {
-
- private TaskRepositoryManager manager;
-
- private TaskRepository repository;
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- manager = TasksUiPlugin.getRepositoryManager();
- manager.clearRepositories(TasksUiPlugin.getDefault().getRepositoriesFilePath());
- repository = new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_222_URL);
- Credentials credentials = TestUtil.readCredentials();
- repository.setAuthenticationCredentials(credentials.username, credentials.password);
- repository.setAnonymous(false);
- TasksUiPlugin.getRepositoryManager().addRepository(repository,
- TasksUiPlugin.getDefault().getRepositoriesFilePath());
- }
-
- public void testValidationInvalidPassword() throws Exception {
-
- EditRepositoryWizard wizard = new EditRepositoryWizard(repository);
- WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(), wizard);
- dialog.create();
- BugzillaRepositorySettingsPage page = (BugzillaRepositorySettingsPage) wizard.getSettingsPage();
- // BugzillaClient client =
- // BugzillaClientFactory.createClient(page.getServerUrl(),
- // page.getUserName(), page.getPassword(), page.getHttpAuthUserId(),
- // page.getHttpAuthPassword(), page.getCharacterEncoding());
- page.setPassword("bogus");
- try {
- BugzillaClient client = BugzillaClientFactory.createClient(page.getServerUrl(), page.getUserName(),
- page.getPassword(), page.getHttpAuthUserId(), page.getHttpAuthPassword(),
- WebClientUtil.getPlatformProxy(), page.getCharacterEncoding());
- client.validate();
- } catch (CoreException e) {
- return;
- }
- fail("LoginException didn't occur!");
- }
-
- public void testValidationInvalidUserid() throws Exception {
- EditRepositoryWizard wizard = new EditRepositoryWizard(repository);
- WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(), wizard);
- dialog.create();
- BugzillaRepositorySettingsPage page = (BugzillaRepositorySettingsPage) wizard.getSettingsPage();
- page.setUserId("bogus");
- try {
- BugzillaClient client = BugzillaClientFactory.createClient(page.getServerUrl(), page.getUserName(),
- page.getPassword(), page.getHttpAuthUserId(), page.getHttpAuthPassword(),
- WebClientUtil.getPlatformProxy(), page.getCharacterEncoding());
- client.validate();
- } catch (CoreException e) {
- return;
- }
- fail("LoginException didn't occur!");
- }
-
- public void testValidationInvalidUrl() throws Exception {
- EditRepositoryWizard wizard = new EditRepositoryWizard(repository);
- WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(), wizard);
- dialog.create();
- BugzillaRepositorySettingsPage page = (BugzillaRepositorySettingsPage) wizard.getSettingsPage();
- page.setUrl("http://invalid");
- try {
- BugzillaClient client = BugzillaClientFactory.createClient(page.getServerUrl(), page.getUserName(),
- page.getPassword(), page.getHttpAuthUserId(), page.getHttpAuthPassword(),
- WebClientUtil.getPlatformProxy(), page.getCharacterEncoding());
- client.validate();
- } catch (CoreException e) {
- assertTrue(e.getStatus().getException() instanceof UnknownHostException);
- return;
- }
- fail("UnknownHostException didn't occur!");
- }
-
- // TODO: Test locking up?
- // public void testAutoVersion() throws Exception {
- // repository.setVersion(BugzillaRepositorySettingsPage.LABEL_AUTOMATIC_VERSION);
- // EditRepositoryWizard wizard = new EditRepositoryWizard(repository);
- // WizardDialog dialog = new
- // WizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(),
- // wizard);
- // dialog.create();
- // BugzillaRepositorySettingsPage page = (BugzillaRepositorySettingsPage)
- // wizard.getSettingsPage();
- // page.setTesting(true);
- // assertEquals(BugzillaRepositorySettingsPage.LABEL_AUTOMATIC_VERSION,
- // page.getVersion());
- // page.validateSettings();
- // assertEquals("2.22", page.getVersion());
- // }
-
- public void testPersistChangeOfUrl() throws Exception {
- assertEquals(1, manager.getAllRepositories().size());
- String tempUid = repository.getUserName();
- String tempPass = repository.getPassword();
- EditRepositoryWizard wizard = new EditRepositoryWizard(repository);
- WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(), wizard);
- dialog.create();
- BugzillaRepositorySettingsPage page = (BugzillaRepositorySettingsPage) wizard.getSettingsPage();
- BugzillaClient client = BugzillaClientFactory.createClient(page.getServerUrl(), page.getUserName(),
- page.getPassword(), page.getHttpAuthUserId(), page.getHttpAuthPassword(),
- WebClientUtil.getPlatformProxy(), page.getCharacterEncoding());
- client.validate();
- page.setUrl(IBugzillaConstants.TEST_BUGZILLA_218_URL);
- wizard.performFinish();
- assertEquals(1, manager.getAllRepositories().size());
- TaskRepository repositoryTest = manager.getRepository(BugzillaCorePlugin.REPOSITORY_KIND,
- IBugzillaConstants.TEST_BUGZILLA_218_URL);
- assertNotNull(repositoryTest);
- assertEquals(tempUid, repositoryTest.getUserName());
- assertEquals(tempPass, repositoryTest.getPassword());
- }
-
- public void testPersistChangeUserId() throws Exception {
- assertEquals(1, manager.getAllRepositories().size());
- EditRepositoryWizard wizard = new EditRepositoryWizard(repository);
- WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(), wizard);
- dialog.create();
- BugzillaRepositorySettingsPage page = (BugzillaRepositorySettingsPage) wizard.getSettingsPage();
- BugzillaClient client = BugzillaClientFactory.createClient(page.getServerUrl(), page.getUserName(),
- page.getPassword(), page.getHttpAuthUserId(), page.getHttpAuthPassword(),
- WebClientUtil.getPlatformProxy(), page.getCharacterEncoding());
- client.validate();
- page.setUserId("bogus");
- wizard.performFinish();
- assertEquals(1, manager.getAllRepositories().size());
- TaskRepository repositoryTest = manager.getRepository(BugzillaCorePlugin.REPOSITORY_KIND,
- IBugzillaConstants.TEST_BUGZILLA_222_URL);
- assertNotNull(repositoryTest);
- wizard = new EditRepositoryWizard(repositoryTest);
- dialog = new WizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(), wizard);
- dialog.create();
- page = (BugzillaRepositorySettingsPage) wizard.getSettingsPage();
- try {
- client = BugzillaClientFactory.createClient(page.getServerUrl(), page.getUserName(), page.getPassword(),
- page.getHttpAuthUserId(), page.getHttpAuthPassword(), WebClientUtil.getPlatformProxy(),
- page.getCharacterEncoding());
- client.validate();
- } catch (CoreException e) {
- return;
- }
- fail("LoginException didn't occur!");
- }
-
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryReportFactoryTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryReportFactoryTest.java
deleted file mode 100644
index 84587230f..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryReportFactoryTest.java
+++ /dev/null
@@ -1,452 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.mylyn.context.tests.support.TestUtil;
-import org.eclipse.mylyn.context.tests.support.TestUtil.Credentials;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaAttributeFactory;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaReportElement;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryConnector;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.tasks.core.AbstractTaskDataHandler;
-import org.eclipse.mylyn.tasks.core.RepositoryTaskAttribute;
-import org.eclipse.mylyn.tasks.core.RepositoryTaskData;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.ui.TasksUiPlugin;
-
-/**
- * @author Rob Elves
- * @author Mik Kersten
- */
-public class RepositoryReportFactoryTest extends TestCase {
-
- BugzillaAttributeFactory attributeFactory = new BugzillaAttributeFactory();
-
- TaskRepository repository;
-
- BugzillaRepositoryConnector connector;
-
- private RepositoryTaskData init(String taskId) throws CoreException {
- AbstractTaskDataHandler handler = connector.getTaskDataHandler();
- RepositoryTaskData taskData = handler.getTaskData(repository, taskId, new NullProgressMonitor());
- return taskData;
- }
-
- private TaskRepository setRepository(String kind, String url) {
- connector = (BugzillaRepositoryConnector) TasksUiPlugin.getRepositoryManager().getRepositoryConnector(
- BugzillaCorePlugin.REPOSITORY_KIND);
- repository = new TaskRepository(kind, url);
- Credentials credentials = TestUtil.readCredentials();
- repository.setAuthenticationCredentials(credentials.username, credentials.password);
- return repository;
- }
-
- public void testInvalidCredentials222() throws Exception {
- String bugid = "1";
- String errorMessage = "";
- try {
- setRepository(BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_222_URL);
- repository.setAuthenticationCredentials("invalid", "invalid");
- init(bugid);
- } catch (CoreException e) {
- errorMessage = e.getStatus().getMessage();
- }
- assertTrue(errorMessage.startsWith("Unable to login"));
- repository.flushAuthenticationCredentials();
- }
-
- public void testBugNotFound222() {
-
- String bugid = "-1";
- String errorMessage = "";
- try {
- setRepository(BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_222_URL);
- // If this isn't called the BugzillaClient will be reused (with old
- // credentials) so
- // force drop of old client connection.
- // Note that this is usually called by notification
- connector.getClientManager().repositoryAdded(repository);
- init(bugid);
- } catch (CoreException e) {
- errorMessage = e.getStatus().getMessage();
- }
- assertTrue(errorMessage.startsWith("Repository error from"));
- }
-
- // public void testReadingReport() throws Exception {
- // String bugid = "2";
- // setRepository(BugzillaCorePlugin.REPOSITORY_KIND,
- // IBugzillaConstants.TEST_BUGZILLA_222_URL);
- // RepositoryTaskData report = init(bugid);
- //
- // assertNotNull(report);
- // assertEquals("search-match-test 1",
- // report.getAttribute(BugzillaReportElement.SHORT_DESC.getKeyString())
- // .getValue());
- // assertEquals("TestProduct",
- // report.getAttribute(BugzillaReportElement.PRODUCT.getKeyString()).getValue());
- // assertEquals("PC",
- // report.getAttribute(BugzillaReportElement.REP_PLATFORM.getKeyString()).getValue());
- // assertEquals("Windows",
- // report.getAttribute(BugzillaReportElement.OP_SYS.getKeyString()).getValue());
- // // first comment (#0) is the summary so this value is always 1
- // // greater
- // // than what is shown on the report ui
- // assertEquals(3, report.getComments().size());
- // assertEquals("search-match-test 1",
- // report.getComments().get(0).getAttribute(
- // BugzillaReportElement.THETEXT.getKeyString()).getValue());
- // // assertEquals(15, report.getAttachments().size());
- // // assertEquals("1",
- // //
- // report.getAttachments().get(0).getAttribute(BugzillaReportElement.ATTACHID).getValue());
- // // assertEquals("2006-03-10 14:11",
- // //
- // report.getAttachments().get(0).getAttribute(BugzillaReportElement.DATE)
- // // .getValue());
- // // assertEquals("Testing upload",
- // //
- // report.getAttachments().get(0).getAttribute(BugzillaReportElement.DESC)
- // // .getValue());
- // // assertEquals("patch130217.txt",
- // //
- // report.getAttachments().get(0).getAttribute(BugzillaReportElement.FILENAME)
- // // .getValue());
- // // assertEquals("text/plain",
- // //
- // report.getAttachments().get(0).getAttribute(BugzillaReportElement.TYPE).getValue());
- // }
-
- public void testReadingReport222() throws Exception {
- String bugid = "2";
- setRepository(BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_222_URL);
- RepositoryTaskData report = init(bugid);
-
- assertNotNull(report);
- assertEquals("search-match-test 1", report.getAttribute(BugzillaReportElement.SHORT_DESC.getKeyString())
- .getValue());
- assertEquals("search-match-test 1", report.getSummary());
- assertEquals("search-match-test 1", report.getDescription());
- assertEquals("TestProduct", report.getAttribute(BugzillaReportElement.PRODUCT.getKeyString()).getValue());
- assertEquals("TestProduct", report.getProduct());
- assertEquals("TestComponent", report.getAttribute(BugzillaReportElement.COMPONENT.getKeyString()).getValue());
- assertEquals("PC", report.getAttribute(BugzillaReportElement.REP_PLATFORM.getKeyString()).getValue());
- assertEquals("Windows", report.getAttribute(BugzillaReportElement.OP_SYS.getKeyString()).getValue());
- assertEquals("other", report.getAttribute(BugzillaReportElement.VERSION.getKeyString()).getValue());
- assertEquals("P1", report.getAttribute(BugzillaReportElement.PRIORITY.getKeyString()).getValue());
- assertEquals("normal", report.getAttribute(BugzillaReportElement.BUG_SEVERITY.getKeyString()).getValue());
- assertEquals("" + bugid, report.getAttribute(BugzillaReportElement.BUG_ID.getKeyString()).getValue());
- assertEquals("NEW", report.getAttribute(BugzillaReportElement.BUG_STATUS.getKeyString()).getValue());
- assertEquals("2006-05-23 17:46", report.getAttribute(BugzillaReportElement.CREATION_TS.getKeyString())
- .getValue());
- assertEquals("2007-05-08 12:44:41", report.getAttribute(BugzillaReportElement.DELTA_TS.getKeyString())
- .getValue());
- assertEquals("---", report.getAttribute(BugzillaReportElement.TARGET_MILESTONE.getKeyString()).getValue());
- assertEquals("relves@cs.ubc.ca", report.getAttribute(BugzillaReportElement.REPORTER.getKeyString()).getValue());
- assertEquals("nhapke@cs.ubc.ca", report.getAttribute(BugzillaReportElement.ASSIGNED_TO.getKeyString())
- .getValue());
- assertEquals(2, report.getComments().size());
- // assertEquals("relves@cs.ubc.ca",
- // report.getComments().get(0).getAttribute(
- // BugzillaReportElement.WHO.getKeyString()).getValue());
- // assertEquals("2006-05-23 17:46:24",
- // report.getComments().get(0).getAttribute(
- // BugzillaReportElement.BUG_WHEN.getKeyString()).getValue());
- // assertEquals("search-match-test 1",
- // report.getComments().get(0).getAttribute(
- // BugzillaReportElement.THETEXT.getKeyString()).getValue());
- // assertEquals(0, report.getAttachments().size());
- }
-
- public void testReadingReport2201() throws Exception {
- String bugid = "1";
- setRepository(BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_2201_URL);
- RepositoryTaskData report = init(bugid);
-
- assertNotNull(report);
- assertEquals("1", report.getAttribute(BugzillaReportElement.BUG_ID.getKeyString()).getValue());
- assertEquals("search-match-test 1", report.getAttribute(BugzillaReportElement.SHORT_DESC.getKeyString())
- .getValue());
- assertEquals("TestProduct", report.getAttribute(BugzillaReportElement.PRODUCT.getKeyString()).getValue());
- assertEquals("TestComponent", report.getAttribute(BugzillaReportElement.COMPONENT.getKeyString()).getValue());
- assertEquals("PC", report.getAttribute(BugzillaReportElement.REP_PLATFORM.getKeyString()).getValue());
- assertEquals("Windows", report.getAttribute(BugzillaReportElement.OP_SYS.getKeyString()).getValue());
- assertEquals("other", report.getAttribute(BugzillaReportElement.VERSION.getKeyString()).getValue());
- assertEquals("P2", report.getAttribute(BugzillaReportElement.PRIORITY.getKeyString()).getValue());
- assertEquals("normal", report.getAttribute(BugzillaReportElement.BUG_SEVERITY.getKeyString()).getValue());
- assertEquals("NEW", report.getAttribute(BugzillaReportElement.BUG_STATUS.getKeyString()).getValue());
- assertEquals("2006-03-02 18:13", report.getAttribute(BugzillaReportElement.CREATION_TS.getKeyString())
- .getValue());
- assertEquals("2006-05-03 13:06:11", report.getAttribute(BugzillaReportElement.DELTA_TS.getKeyString())
- .getValue());
- assertEquals("---", report.getAttribute(BugzillaReportElement.TARGET_MILESTONE.getKeyString()).getValue());
- RepositoryTaskAttribute attribute = report.getAttribute(BugzillaReportElement.BLOCKED.getKeyString());
- assertEquals("2, 9", attribute.getValue());
- attribute = report.getAttribute(BugzillaReportElement.CC.getKeyString());
- assertEquals(2, attribute.getValues().size());
- assertEquals("relves@cs.ubc.ca", attribute.getValues().get(0));
- assertEquals("relves@gmail.com", attribute.getValues().get(1));
- assertEquals("relves@cs.ubc.ca", report.getAttribute(BugzillaReportElement.REPORTER.getKeyString()).getValue());
- assertEquals("relves@cs.ubc.ca", report.getAttribute(BugzillaReportElement.ASSIGNED_TO.getKeyString())
- .getValue());
- }
-
- // public void testReadingReport2201Eclipse() throws Exception {
- // String bugid = "24448";
- // TaskRepository repository = new
- // TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND,
- // IBugzillaConstants.ECLIPSE_BUGZILLA_URL);
- //
- // RepositoryTaskData report = new RepositoryTaskData(attributeFactory,
- // BugzillaCorePlugin.REPOSITORY_KIND, repository
- // .getUrl(), bugid);
- // BugzillaServerFacade.setupExistingBugAttributes(repository.getUrl(),
- // report);
- // factory.populateReport(report, repository.getUrl(), null,
- // repository.getUserName(), repository.getPassword(),
- // null);
- //
- // assertNotNull(report);
- // assertEquals("24448",
- // report.getAttribute(BugzillaReportElement.BUG_ID.getKeyString()).getValue());
- // assertEquals("Ant causing Out of Memory",
- // report.getAttribute(BugzillaReportElement.SHORT_DESC.getKeyString())
- // .getValue());
- // assertEquals("Platform",
- // report.getAttribute(BugzillaReportElement.PRODUCT.getKeyString()).getValue());
- // assertEquals("Ant",
- // report.getAttribute(BugzillaReportElement.COMPONENT.getKeyString()).getValue());
- // assertEquals("PC",
- // report.getAttribute(BugzillaReportElement.REP_PLATFORM.getKeyString()).getValue());
- // assertEquals("other",
- // report.getAttribute(BugzillaReportElement.OP_SYS.getKeyString()).getValue());
- // assertEquals("2.0",
- // report.getAttribute(BugzillaReportElement.VERSION.getKeyString()).getValue());
- // assertEquals("P2",
- // report.getAttribute(BugzillaReportElement.PRIORITY.getKeyString()).getValue());
- // assertEquals("normal",
- // report.getAttribute(BugzillaReportElement.BUG_SEVERITY.getKeyString()).getValue());
- // assertEquals("RESOLVED",
- // report.getAttribute(BugzillaReportElement.BUG_STATUS.getKeyString()).getValue());
- // assertEquals("WONTFIX",
- // report.getAttribute(BugzillaReportElement.RESOLUTION.getKeyString()).getValue());
- // assertEquals("2002-10-07 09:32",
- // report.getAttribute(BugzillaReportElement.CREATION_TS.getKeyString())
- // .getValue());
- // assertEquals("2006-02-03 12:03:57",
- // report.getAttribute(BugzillaReportElement.DELTA_TS.getKeyString())
- // .getValue());
- // assertEquals("core, performance, ui",
- // report.getAttribute(BugzillaReportElement.KEYWORDS.getKeyString())
- // .getValue());
- // // RepositoryTaskAttribute attribute =
- // // report.getAttribute(BugzillaReportElement.CC);
- // // assertEquals(30, attribute.getValues().size());
- // // assertEquals("relves@cs.ubc.ca", attribute.getValues().get(0));
- // // assertEquals("relves@gmail.com", attribute.getValues().get(1));
- // // assertEquals("relves@cs.ubc.ca",
- // // report.getAttribute(BugzillaReportElement.REPORTER).getValue());
- // // assertEquals("relves@cs.ubc.ca",
- // // report.getAttribute(BugzillaReportElement.ASSIGNED_TO).getValue());
- // // assertEquals(1, report.getComments().size());
- // // assertEquals("relves@cs.ubc.ca",
- // //
- // report.getComments().get(0).getAttribute(BugzillaReportElement.WHO).getValue());
- // // assertEquals("2006-03-02 18:13",
- // //
- // report.getComments().get(0).getAttribute(BugzillaReportElement.BUG_WHEN)
- // // .getValue());
- // // assertEquals("search-match-test 1",
- // //
- // report.getComments().get(0).getAttribute(BugzillaReportElement.THETEXT)
- // // .getValue());
- // // assertEquals(0, report.getAttachments().size());
- // }
-
- // public void testReadingReport220() throws Exception {
- // String bugid = "1";
- // TaskRepository repository = new
- // TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND,
- // IBugzillaConstants.TEST_BUGZILLA_220_URL);
- //
- // RepositoryTaskData report = new RepositoryTaskData(attributeFactory,
- // BugzillaCorePlugin.REPOSITORY_KIND,
- // repository.getUrl(), bugid);
- // BugzillaServerFacade.setupExistingBugAttributes(repository.getUrl(),
- // report);
- // factory.populateReport(report, repository.getUrl(), null,
- // repository.getUserName(), repository.getPassword(),
- // null);
- //
- // assertNotNull(report);
- // assertEquals("1",
- // report.getAttribute(BugzillaReportElement.BUG_ID.getKeyString()).getValue());
- // assertEquals("search-match-test",
- // report.getAttribute(BugzillaReportElement.SHORT_DESC.getKeyString())
- // .getValue());
- // assertEquals("TestProduct",
- // report.getAttribute(BugzillaReportElement.PRODUCT.getKeyString()).getValue());
- // assertEquals("TestComponent",
- // report.getAttribute(BugzillaReportElement.COMPONENT.getKeyString()).getValue());
- // assertEquals("PC",
- // report.getAttribute(BugzillaReportElement.REP_PLATFORM.getKeyString()).getValue());
- // assertEquals("Windows",
- // report.getAttribute(BugzillaReportElement.OP_SYS.getKeyString()).getValue());
- // assertEquals("other",
- // report.getAttribute(BugzillaReportElement.VERSION.getKeyString()).getValue());
- // assertEquals("P2",
- // report.getAttribute(BugzillaReportElement.PRIORITY.getKeyString()).getValue());
- // assertEquals("normal",
- // report.getAttribute(BugzillaReportElement.BUG_SEVERITY.getKeyString()).getValue());
- // assertEquals("NEW",
- // report.getAttribute(BugzillaReportElement.BUG_STATUS.getKeyString()).getValue());
- // assertEquals("2006-03-02 17:30",
- // report.getAttribute(BugzillaReportElement.CREATION_TS.getKeyString())
- // .getValue());
- // assertEquals("2006-04-20 15:13:43",
- // report.getAttribute(BugzillaReportElement.DELTA_TS.getKeyString())
- // .getValue());
- // assertEquals("---",
- // report.getAttribute(BugzillaReportElement.TARGET_MILESTONE.getKeyString()).getValue());
- // assertEquals("relves@cs.ubc.ca",
- // report.getAttribute(BugzillaReportElement.REPORTER.getKeyString()).getValue());
- // assertEquals("relves@cs.ubc.ca",
- // report.getAttribute(BugzillaReportElement.ASSIGNED_TO.getKeyString())
- // .getValue());
- // assertEquals("relves@cs.ubc.ca",
- // report.getAttribute(BugzillaReportElement.CC.getKeyString()).getValue());
- // assertEquals(3, report.getComments().size());
- // assertEquals("relves@cs.ubc.ca",
- // report.getComments().get(0).getAttribute(
- // BugzillaReportElement.WHO.getKeyString()).getValue());
- // assertEquals("2006-03-02 17:30",
- // report.getComments().get(0).getAttribute(
- // BugzillaReportElement.BUG_WHEN.getKeyString()).getValue());
- // assertEquals("search-match-test",
- // report.getComments().get(0).getAttribute(
- // BugzillaReportElement.THETEXT.getKeyString()).getValue());
- // assertEquals(0, report.getAttachments().size());
- // }
-
- public void testReadingReport218() throws Exception {
- String bugid = "1";
- setRepository(BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_218_URL);
- RepositoryTaskData report = init(bugid);
- assertNotNull(report);
- assertEquals("1", report.getAttribute(BugzillaReportElement.BUG_ID.getKeyString()).getValue());
- assertEquals("search-match-test 1", report.getAttribute(BugzillaReportElement.SHORT_DESC.getKeyString())
- .getValue());
- assertEquals("TestProduct", report.getAttribute(BugzillaReportElement.PRODUCT.getKeyString()).getValue());
- assertEquals("TestComponent", report.getAttribute(BugzillaReportElement.COMPONENT.getKeyString()).getValue());
- assertEquals("PC", report.getAttribute(BugzillaReportElement.REP_PLATFORM.getKeyString()).getValue());
- assertEquals("Windows XP", report.getAttribute(BugzillaReportElement.OP_SYS.getKeyString()).getValue());
- assertEquals("other", report.getAttribute(BugzillaReportElement.VERSION.getKeyString()).getValue());
- assertEquals("P2", report.getAttribute(BugzillaReportElement.PRIORITY.getKeyString()).getValue());
- assertEquals("normal", report.getAttribute(BugzillaReportElement.BUG_SEVERITY.getKeyString()).getValue());
- assertEquals("NEW", report.getAttribute(BugzillaReportElement.BUG_STATUS.getKeyString()).getValue());
- assertEquals("2006-03-02 18:09", report.getAttribute(BugzillaReportElement.CREATION_TS.getKeyString())
- .getValue());
- assertEquals("2006-05-05 17:45:24", report.getAttribute(BugzillaReportElement.DELTA_TS.getKeyString())
- .getValue());
- assertEquals("---", report.getAttribute(BugzillaReportElement.TARGET_MILESTONE.getKeyString()).getValue());
- assertEquals("relves@cs.ubc.ca", report.getAttribute(BugzillaReportElement.REPORTER.getKeyString()).getValue());
- assertEquals("relves@cs.ubc.ca", report.getAttribute(BugzillaReportElement.ASSIGNED_TO.getKeyString())
- .getValue());
- assertEquals(0, report.getAttachments().size());
- }
-
- public void testTimeTracking222() throws Exception {
- setRepository(BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_222_URL);
- RepositoryTaskData report = init("11");
- assertEquals("7.50", report.getAttribute(BugzillaReportElement.ESTIMATED_TIME.getKeyString()).getValue());
- assertEquals("4.00", report.getAttribute(BugzillaReportElement.ACTUAL_TIME.getKeyString()).getValue());
- assertEquals("3.00", report.getAttribute(BugzillaReportElement.REMAINING_TIME.getKeyString()).getValue());
- assertEquals("2005-03-04", report.getAttribute(BugzillaReportElement.DEADLINE.getKeyString()).getValue());
- }
-
- // public void testTimeTracking2201() throws Exception {
- // RepositoryTaskData report =
- // init(IBugzillaConstants.TEST_BUGZILLA_2201_URL, 23);
- //
- // assertEquals("7.50",
- // report.getAttribute(BugzillaReportElement.ESTIMATED_TIME.getKeyString()).getValue());
- // assertEquals("1.00",
- // report.getAttribute(BugzillaReportElement.ACTUAL_TIME.getKeyString()).getValue());
- // assertEquals("3.00",
- // report.getAttribute(BugzillaReportElement.REMAINING_TIME.getKeyString()).getValue());
- // assertEquals("2005-03-04",
- // report.getAttribute(BugzillaReportElement.DEADLINE.getKeyString()).getValue());
- // }
- //
- // public void testTimeTracking220() throws Exception {
- // RepositoryTaskData report =
- // init(IBugzillaConstants.TEST_BUGZILLA_220_URL, 9);
- //
- // assertEquals("7.50",
- // report.getAttribute(BugzillaReportElement.ESTIMATED_TIME.getKeyString()).getValue());
- // assertEquals("1.00",
- // report.getAttribute(BugzillaReportElement.ACTUAL_TIME.getKeyString()).getValue());
- // assertEquals("3.00",
- // report.getAttribute(BugzillaReportElement.REMAINING_TIME.getKeyString()).getValue());
- // assertEquals("2005-03-04",
- // report.getAttribute(BugzillaReportElement.DEADLINE.getKeyString()).getValue());
- // }
-
- public void testTimeTracking218() throws Exception {
- setRepository(BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_218_URL);
- RepositoryTaskData report = init("19");
- assertEquals("7.50", report.getAttribute(BugzillaReportElement.ESTIMATED_TIME.getKeyString()).getValue());
- assertEquals("1.00", report.getAttribute(BugzillaReportElement.ACTUAL_TIME.getKeyString()).getValue());
- assertEquals("3.00", report.getAttribute(BugzillaReportElement.REMAINING_TIME.getKeyString()).getValue());
- }
-
- public void testMultipleDepensOn() throws Exception {
- String bugid = "5";
- setRepository(BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_218_URL);
- RepositoryTaskData report = init(bugid);
- assertNotNull(report);
- assertEquals("5", report.getAttribute(BugzillaReportElement.BUG_ID.getKeyString()).getValue());
- assertEquals("6, 7", report.getAttribute(BugzillaReportElement.DEPENDSON.getKeyString()).getValue());
- assertEquals("13, 14", report.getAttribute(BugzillaReportElement.BLOCKED.getKeyString()).getValue());
- }
-
- public void testBugReportAPI() throws Exception {
- String bugid = "3";
- setRepository(BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_222_URL);
- RepositoryTaskData report = init(bugid);
- assertNotNull(report);
- assertTrue(report != null);
- RepositoryTaskData bugReport = report;
- assertEquals("search-match-test 2", bugReport.getSummary());
- assertEquals("search-match-test 2", bugReport.getDescription());
- assertEquals("TestProduct", bugReport.getProduct());
- assertEquals("nhapke@cs.ubc.ca", bugReport.getAssignedTo());
- }
-
- public void testDeltaTsTruncation() {
- String ts1 = "2006-07-06 03:22:08 0900";
- String ts1_truncated = "2006-07-06 03:22:08";
- assertEquals(ts1_truncated, BugzillaClient.stripTimeZone(ts1));
-
- String ts2 = "2006-07-06 03:22:08";
- String ts2_truncated = "2006-07-06 03:22:08";
- assertEquals(ts2_truncated, BugzillaClient.stripTimeZone(ts2));
-
- String ts3 = "2006-07-06 03:22:08 PST";
- String ts3_truncated = "2006-07-06 03:22:08";
- assertEquals(ts3_truncated, BugzillaClient.stripTimeZone(ts3));
- }
-
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryTaskHandleTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryTaskHandleTest.java
deleted file mode 100644
index bf78c462a..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryTaskHandleTest.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 - 2006 Mylar 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.bugzilla.tests;
-
-import junit.framework.TestCase;
-
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaTask;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.tasks.ui.TaskListManager;
-import org.eclipse.mylyn.tasks.ui.TasksUiPlugin;
-
-/**
- * @author Mik Kersten
- */
-public class RepositoryTaskHandleTest extends TestCase {
-
- private TaskListManager manager = TasksUiPlugin.getTaskListManager();
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- manager = TasksUiPlugin.getTaskListManager();
- manager.resetTaskList();
- }
-
- @Override
- protected void tearDown() throws Exception {
- super.tearDown();
- manager.resetTaskList();
- }
-
- // Dash now allowed in task id
- // public void testInvalidHandle() {
- // // MockRepositoryTask task = new MockRepositoryTask()
- // String url = "http://foo";
- // assertEquals(url + "-" + "abc", RepositoryTaskHandleUtil.getHandle(url,
- // "abc"));
- // Exception caught = null;
- // try {
- // RepositoryTaskHandleUtil.getHandle(url, "a-23");
- // } catch (Exception e) {
- // caught = e;
- // }
- // assertNotNull(caught);
- // }
-
- public void testRepositoryUrlHandles() {
-
- String repository = IBugzillaConstants.ECLIPSE_BUGZILLA_URL;
- String id = "123";
- BugzillaTask bugTask = new BugzillaTask(repository, id, "label 124");
- assertEquals(repository, bugTask.getRepositoryUrl());
-
- manager.getTaskList().moveToContainer(bugTask,
- TasksUiPlugin.getTaskListManager().getTaskList().getDefaultCategory());
- manager.saveTaskList();
- manager.resetTaskList();
- manager.readExistingOrCreateNewList();
-
- BugzillaTask readReport = (BugzillaTask) manager.getTaskList()
- .getDefaultCategory()
- .getChildren()
- .iterator()
- .next();
- assertEquals(readReport.getSummary(), readReport.getSummary());
- assertEquals(readReport.getRepositoryUrl(), readReport.getRepositoryUrl());
- }
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskEditorTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskEditorTest.java
deleted file mode 100644
index 4d88eaa4e..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskEditorTest.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 - 2006 Mylar 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.bugzilla.tests;
-
-import junit.framework.TestCase;
-
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaAttributeFactory;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryConnector;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.tasks.core.RepositoryTaskData;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.ui.TasksUiPlugin;
-import org.eclipse.mylyn.tasks.ui.TasksUiUtil;
-import org.eclipse.mylyn.tasks.ui.editors.AbstractRepositoryTaskEditor;
-import org.eclipse.mylyn.tasks.ui.editors.NewTaskEditorInput;
-import org.eclipse.mylyn.tasks.ui.editors.TaskEditor;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.PlatformUI;
-
-/**
- * @author Jeff Pound
- */
-public class TaskEditorTest extends TestCase {
-
- private static final String DESCRIPTION = "summary";
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- }
-
- @Override
- protected void tearDown() throws Exception {
- PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().closeAllEditors(false);
- TasksUiPlugin.getRepositoryManager().clearRepositories(TasksUiPlugin.getDefault().getRepositoriesFilePath());
- TasksUiPlugin.getTaskListManager().resetTaskList();
- TasksUiPlugin.getTaskListManager().saveTaskList();
- // TasksUiPlugin.getDefault().getTaskListSaveManager().saveTaskList(true);
- super.tearDown();
- }
-
- /**
- * Automated task creation needs to access newly created task editors. This test tests that the access is available.
- *
- * @throws Exception
- */
- public void testAccessNewEditor() throws Exception {
- TaskRepository repository = new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND,
- IBugzillaConstants.TEST_BUGZILLA_222_URL);
-
- RepositoryTaskData model = new RepositoryTaskData(new BugzillaAttributeFactory(),
- BugzillaCorePlugin.REPOSITORY_KIND, repository.getUrl(), TasksUiPlugin.getTaskDataManager()
- .getNewRepositoryTaskId());
- model.setNew(true);
- BugzillaRepositoryConnector.setupNewBugAttributes(repository, model);
- NewTaskEditorInput editorInput = new NewTaskEditorInput(repository, model);
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- TasksUiUtil.openEditor(editorInput, TaskEditor.ID_EDITOR, page);
- assertTrue(page.getActiveEditor() instanceof TaskEditor);
- TaskEditor taskEditor = (TaskEditor) page.getActiveEditor();
- assertTrue(taskEditor.getActivePageInstance() instanceof AbstractRepositoryTaskEditor);
- AbstractRepositoryTaskEditor editor = (AbstractRepositoryTaskEditor) taskEditor.getActivePageInstance();
-
- String desc = DESCRIPTION;
- String summary = "summary";
- // ensure we have access without exceptions
- editor.setDescriptionText(desc);
- editor.setSummaryText(summary);
- // editor.doSave(new NullProgressMonitor());
- }
-
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskListNotificationManagerTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskListNotificationManagerTest.java
deleted file mode 100644
index 4278863b9..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskListNotificationManagerTest.java
+++ /dev/null
@@ -1,134 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import java.util.Date;
-
-import junit.framework.TestCase;
-
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryQuery;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaTask;
-import org.eclipse.mylyn.internal.tasks.core.LocalTask;
-import org.eclipse.mylyn.internal.tasks.ui.ITaskListNotification;
-import org.eclipse.mylyn.internal.tasks.ui.TaskListNotificationIncoming;
-import org.eclipse.mylyn.internal.tasks.ui.TaskListNotificationManager;
-import org.eclipse.mylyn.tasks.core.AbstractTask;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.core.AbstractTask.RepositoryTaskSyncState;
-import org.eclipse.mylyn.tasks.ui.TasksUiPlugin;
-
-/**
- * @author Rob Elves
- */
-public class TaskListNotificationManagerTest extends TestCase {
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- }
-
- @Override
- protected void tearDown() throws Exception {
- super.tearDown();
- }
-
- public void testTaskListNotificationReminder() throws InterruptedException {
-
- Date now = new Date();
-
- AbstractTask task0 = new LocalTask("0", "t0 - test 0");
- AbstractTask task1 = new LocalTask("1", "t1 - test 1");
- AbstractTask task2 = new LocalTask("2", "t2 - test 2");
-
- task0.setScheduledForDate(new Date(now.getTime() - 2000));
- task1.setScheduledForDate(new Date(now.getTime() - 2000));
- task2.setScheduledForDate(new Date(now.getTime() - 2000));
-
- TasksUiPlugin.getTaskListManager().getTaskList().addTask(task0);
- TasksUiPlugin.getTaskListManager().getTaskList().addTask(task1);
- TasksUiPlugin.getTaskListManager().getTaskList().addTask(task2);
-
- TaskListNotificationManager notificationManager = TasksUiPlugin.getTaskListNotificationManager();
- notificationManager.collectNotifications();
-
- task0 = TasksUiPlugin.getTaskListManager().getTaskList().getTask("local-0");
- assertNotNull(task0);
- assertTrue(task0.isReminded());
- task1 = TasksUiPlugin.getTaskListManager().getTaskList().getTask("local-1");
- assertNotNull(task1);
- assertTrue(task1.isReminded());
- task2 = TasksUiPlugin.getTaskListManager().getTaskList().getTask("local-2");
- assertNotNull(task2);
- assertTrue(task2.isReminded());
-
- }
-
- public void testTaskListNotificationIncoming() {
-
- TaskRepository repository = new TaskRepository("bugzilla", "https://bugs.eclipse.org/bugs");
- TasksUiPlugin.getRepositoryManager().addRepository(repository,
- TasksUiPlugin.getDefault().getRepositoriesFilePath());
- AbstractTask task = new BugzillaTask("https://bugs.eclipse.org/bugs", "142891", "label");
- assertEquals(RepositoryTaskSyncState.SYNCHRONIZED, task.getSynchronizationState());
- assertFalse(task.isNotified());
- TasksUiPlugin.getTaskListManager().getTaskList().addTask(task);
- TaskListNotificationManager notificationManager = TasksUiPlugin.getTaskListNotificationManager();
- notificationManager.collectNotifications();
- assertTrue(notificationManager.getNotifications().contains(new TaskListNotificationIncoming(task)));
- task = TasksUiPlugin.getTaskListManager().getTaskList().getTask("https://bugs.eclipse.org/bugs-142891");
- assertNotNull(task);
- assertTrue(task.isNotified());
- }
-
- public void testTaskListNotificationQueryIncoming() {
- BugzillaTask hit = new BugzillaTask("https://bugs.eclipse.org/bugs", "1", "summary");
- assertFalse(hit.isNotified());
- BugzillaRepositoryQuery query = new BugzillaRepositoryQuery("https://bugs.eclipse.org/bugs", "queryUrl",
- "summary");
- TasksUiPlugin.getTaskListManager().getTaskList().addQuery(query);
- TasksUiPlugin.getTaskListManager().getTaskList().addTask(hit, query);
-
- TaskListNotificationManager notificationManager = TasksUiPlugin.getTaskListNotificationManager();
- assertFalse(hit.isNotified());
- notificationManager.collectNotifications();
- for (ITaskListNotification notification : notificationManager.getNotifications()) {
- notification.getLabel().equals(hit.getSummary());
- }
- //assertTrue(notificationManager.getNotifications().contains(new TaskListNotificationQueryIncoming(hit)));
- assertTrue(hit.isNotified());
- }
-
- public void testTaskListNotificationQueryIncomingRepeats() {
- TasksUiPlugin.getTaskListManager().resetTaskList();
- BugzillaTask hit = new BugzillaTask("https://bugs.eclipse.org/bugs", "1", "summary");
- String hitHandle = hit.getHandleIdentifier();
- assertFalse(hit.isNotified());
- BugzillaRepositoryQuery query = new BugzillaRepositoryQuery("https://bugs.eclipse.org/bugs", "queryUrl",
- "summary");
- TasksUiPlugin.getTaskListManager().getTaskList().addQuery(query);
- TasksUiPlugin.getTaskListManager().getTaskList().addTask(hit, query);
- TaskListNotificationManager notificationManager = TasksUiPlugin.getTaskListNotificationManager();
- notificationManager.collectNotifications();
- for (ITaskListNotification notification : notificationManager.getNotifications()) {
- notification.getLabel().equals(hit.getSummary());
- }
- //assertTrue(notificationManager.getNotifications().iterator().next().equals(new TaskListNotificationQueryIncoming(hit)));
- assertTrue(hit.isNotified());
-
- TasksUiPlugin.getTaskListManager().saveTaskList();
- TasksUiPlugin.getTaskListManager().resetTaskList();
- assertEquals(0, TasksUiPlugin.getTaskListManager().getTaskList().getQueries().size());
- assertTrue(TasksUiPlugin.getTaskListManager().readExistingOrCreateNewList());
- assertEquals(1, TasksUiPlugin.getTaskListManager().getTaskList().getQueries().size());
- BugzillaTask hitLoaded = (BugzillaTask) TasksUiPlugin.getTaskListManager().getTaskList().getTask(hitHandle);
- assertNotNull(hitLoaded);
- assertTrue(hitLoaded.isNotified());
- }
-
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskListStandaloneTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskListStandaloneTest.java
deleted file mode 100644
index e43e3d3d4..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskListStandaloneTest.java
+++ /dev/null
@@ -1,208 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import java.util.ArrayList;
-import java.util.Calendar;
-import java.util.Date;
-import java.util.List;
-import java.util.Set;
-
-import junit.framework.TestCase;
-
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryQuery;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaTask;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.internal.bugzilla.ui.tasklist.BugzillaTaskListFactory;
-import org.eclipse.mylyn.internal.tasks.core.LocalTask;
-import org.eclipse.mylyn.tasks.core.AbstractTask;
-import org.eclipse.mylyn.tasks.core.AbstractTaskListFactory;
-import org.eclipse.mylyn.tasks.ui.TaskListManager;
-import org.eclipse.mylyn.tasks.ui.TasksUiPlugin;
-
-/**
- * @author Mik Kersten
- * @author Rob Elves
- */
-public class TaskListStandaloneTest extends TestCase {
-
- private TaskListManager manager;
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- TasksUiPlugin.getRepositoryManager().clearRepositories(TasksUiPlugin.getDefault().getRepositoriesFilePath());
- manager = TasksUiPlugin.getTaskListManager();
-
- manager.resetTaskList();
- assertEquals("should be empty: " + manager.getTaskList().getDefaultCategory().getChildren(), 0,
- manager.getTaskList().getDefaultCategory().getChildren().size());
- }
-
- @Override
- protected void tearDown() throws Exception {
- manager.resetTaskList();
- manager.saveTaskList();
- super.tearDown();
- }
-
- public void testDueDateExternalization() {
- AbstractTask task = new LocalTask("1", "task 1");
- Date dueDate = new Date();
- task.setDueDate(dueDate);
- manager.getTaskList().moveToContainer(task, manager.getTaskList().getDefaultCategory());
- assertEquals(1, manager.getTaskList().getAllTasks().size());
-
- manager.saveTaskList();
- manager.resetTaskList();
- manager.readExistingOrCreateNewList();
- assertEquals(1, manager.getTaskList().getAllTasks().size());
- Set<AbstractTask> readList = manager.getTaskList().getDefaultCategory().getChildren();
- AbstractTask readTask = readList.iterator().next();
- assertTrue(readTask.getSummary().equals("task 1"));
- assertTrue(readTask.getDueDate().compareTo(dueDate) == 0);
- }
-
- public void testPastReminder() {
- AbstractTask task = new LocalTask("1", "1");
- long now = new Date().getTime();
- task.setScheduledForDate(new Date(now - 1000));
- assertTrue(task.isPastReminder());
-
- task.setScheduledForDate(new Date(now + 1000));
- assertFalse(task.isPastReminder());
-
- task.setScheduledForDate(new Date(now - 1000));
- task.setCompleted(true);
- assertTrue(task.isPastReminder());
- }
-
- public void testDates() {
- Date start = Calendar.getInstance().getTime();
- Date creation = new Date();
- AbstractTask task = new LocalTask("1", "task 1");
-
- manager.getTaskList().moveToContainer(task, manager.getTaskList().getDefaultCategory());
- assertDatesCloseEnough(task.getCreationDate(), start);
-
- task.setCompleted(true);
- assertDatesCloseEnough(task.getCompletionDate(), start);
-
- task.setScheduledForDate(start);
- assertDatesCloseEnough(task.getScheduledForDate(), start);
-
- assertEquals(2, manager.getTaskList().getRootElements().size());
- manager.saveTaskList();
-
- assertNotNull(manager.getTaskList());
- // TaskList list = new TaskList();
- // manager.setTaskList(list);
- // assertEquals(0, manager.getTaskList().getRootTasks().size());
- // manager.readOrCreateTaskList();
- // assertNotNull(manager.getTaskList());
- assertEquals(1, manager.getTaskList().getDefaultCategory().getChildren().size());
-
- Set<AbstractTask> readList = manager.getTaskList().getDefaultCategory().getChildren();
- AbstractTask readTask = readList.iterator().next();
- assertTrue(readTask.getSummary().equals("task 1"));
-
- assertEquals("should be: " + creation, task.getCreationDate(), readTask.getCreationDate());
- assertEquals(task.getCompletionDate(), readTask.getCompletionDate());
- assertEquals(task.getScheduledForDate(), readTask.getScheduledForDate());
- }
-
- // Task retention when connector missing upon startup
- public void testOrphanedTasks() {
- List<AbstractTaskListFactory> originalExternalizers = manager.getTaskListWriter().getExternalizers();
- List<AbstractTaskListFactory> externalizers;
- externalizers = new ArrayList<AbstractTaskListFactory>();
- externalizers.add(new BugzillaTaskListFactory());
- // make some tasks
- // save them
- BugzillaTask task = new BugzillaTask("http://bugs", "1", "1");
- manager.getTaskList().addTask(task);
- manager.saveTaskList();
-
- // reload tasklist and check that they persist
- manager.resetTaskList();
- manager.readExistingOrCreateNewList();
- assertEquals(1, manager.getTaskList().getAllTasks().size());
-
- // removed/disable externalizers
- externalizers.clear();
- manager.getTaskListWriter().setDelegateExternalizers(externalizers);
-
- // reload tasklist ensure task didn't load
- manager.resetTaskList();
- manager.readExistingOrCreateNewList();
- assertEquals(0, manager.getTaskList().getAllTasks().size());
- // Save the task list (tasks with missing connectors should get
- // persisted)
- manager.saveTaskList();
-
- // re-enable connector
- externalizers.add(new BugzillaTaskListFactory());
- manager.getTaskListWriter().setDelegateExternalizers(externalizers);
-
- // re-load tasklist
- manager.resetTaskList();
- manager.readExistingOrCreateNewList();
-
- // ensure that task now gets loaded
- assertEquals(1, manager.getTaskList().getAllTasks().size());
- manager.getTaskListWriter().setDelegateExternalizers(originalExternalizers);
- }
-
- // Query retention when connector missing/fails to load
- public void testOrphanedQueries() {
- List<AbstractTaskListFactory> originalExternalizers = manager.getTaskListWriter().getExternalizers();
- List<AbstractTaskListFactory> externalizers;
- externalizers = new ArrayList<AbstractTaskListFactory>();
- externalizers.add(new BugzillaTaskListFactory());
- // make a query
- BugzillaRepositoryQuery query = new BugzillaRepositoryQuery(IBugzillaConstants.TEST_BUGZILLA_222_URL,
- "http://queryurl", "summary");
-
- manager.getTaskList().addQuery(query);
- manager.saveTaskList();
-
- // reload tasklist and check that they persist
- manager.resetTaskList();
- manager.readExistingOrCreateNewList();
- assertEquals(1, manager.getTaskList().getQueries().size());
-
- // removed/disable externalizers
- externalizers.clear();
- manager.getTaskListWriter().setDelegateExternalizers(externalizers);
-
- // reload tasklist ensure query didn't load
- manager.resetTaskList();
- manager.readExistingOrCreateNewList();
- assertEquals(0, manager.getTaskList().getQueries().size());
- // Save the task list (queries with missing connectors should get
- // persisted)
- manager.saveTaskList();
-
- // re-enable connector
- externalizers.add(new BugzillaTaskListFactory());
- manager.getTaskListWriter().setDelegateExternalizers(externalizers);
-
- // re-load tasklist
- manager.resetTaskList();
- manager.readExistingOrCreateNewList();
-
- // ensure that task now gets loaded
- assertEquals(1, manager.getTaskList().getQueries().size());
- manager.getTaskListWriter().setDelegateExternalizers(originalExternalizers);
- }
-
- public void assertDatesCloseEnough(Date first, Date second) {
- assertTrue(second.getTime() - first.getTime() < 100);
- }
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskReportGeneratorTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskReportGeneratorTest.java
deleted file mode 100644
index 62021b7ac..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskReportGeneratorTest.java
+++ /dev/null
@@ -1,186 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests;
-
-import java.lang.reflect.InvocationTargetException;
-import java.util.Date;
-import java.util.HashSet;
-import java.util.Set;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryQuery;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaTask;
-import org.eclipse.mylyn.internal.tasks.core.TaskCategory;
-import org.eclipse.mylyn.internal.tasks.ui.planner.CompletedTaskCollector;
-import org.eclipse.mylyn.internal.tasks.ui.planner.TaskReportGenerator;
-import org.eclipse.mylyn.tasks.core.AbstractTask;
-import org.eclipse.mylyn.tasks.core.AbstractTaskContainer;
-import org.eclipse.mylyn.tasks.ui.TaskListManager;
-import org.eclipse.mylyn.tasks.ui.TasksUiPlugin;
-
-/**
- * @author Mik Kersten
- * @author Rob Elves
- */
-public class TaskReportGeneratorTest extends TestCase {
-
- private TaskListManager manager;
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- manager = TasksUiPlugin.getTaskListManager();
- manager.resetTaskList();
- assertEquals(0, manager.getTaskList().getAllTasks().size());
- }
-
- @Override
- protected void tearDown() throws Exception {
- super.tearDown();
- manager.resetTaskList();
- TasksUiPlugin.getTaskListManager().saveTaskList();
-// TasksUiPlugin.getDefault().getTaskListSaveManager().saveTaskList(true);
- assertEquals(0, manager.getTaskList().getAllTasks().size());
- }
-
- public void testCompletedTasksRetrieved() throws InvocationTargetException, InterruptedException {
- AbstractTask task1 = manager.createNewLocalTask("task 1");
- manager.getTaskList().moveToContainer(task1, manager.getTaskList().getDefaultCategory());
-
- CompletedTaskCollector collector = new CompletedTaskCollector(new Date(0));
- TaskReportGenerator generator = new TaskReportGenerator(manager.getTaskList());
- generator.addCollector(collector);
- generator.run(new NullProgressMonitor());
- assertEquals(0, generator.getAllCollectedTasks().size());
-
- task1.setCompleted(true);
- generator.run(new NullProgressMonitor());
- assertEquals(1, generator.getAllCollectedTasks().size());
- assertEquals(task1, generator.getAllCollectedTasks().get(0));
- }
-
- public void testCompletedTasksDateBoundsRetrieved() throws InvocationTargetException, InterruptedException {
- AbstractTask task1 = manager.createNewLocalTask("task 1");
- manager.getTaskList().moveToContainer(task1, manager.getTaskList().getDefaultCategory());
- task1.setCompleted(true);
- Thread.sleep(1000);
- long now = new Date().getTime();
-
- CompletedTaskCollector collector = new CompletedTaskCollector(new Date(now));
- TaskReportGenerator generator = new TaskReportGenerator(manager.getTaskList());
- generator.addCollector(collector);
- generator.run(new NullProgressMonitor());
- assertEquals(0, generator.getAllCollectedTasks().size());
-
- generator = new TaskReportGenerator(manager.getTaskList());
- collector = new CompletedTaskCollector(new Date(now - 8000));
- generator.addCollector(collector);
- generator.run(new NullProgressMonitor());
- assertEquals(1, generator.getAllCollectedTasks().size());
- assertEquals(task1, generator.getAllCollectedTasks().get(0));
- }
-
- public void testCompletedBugzillaTasksRetrieved() throws InvocationTargetException, InterruptedException {
- BugzillaTask task1 = new BugzillaTask("repo", "1", "bugzillatask 1");
- manager.getTaskList().moveToContainer(task1, manager.getTaskList().getDefaultCategory());
-
- CompletedTaskCollector collector = new CompletedTaskCollector(new Date(0));
- TaskReportGenerator generator = new TaskReportGenerator(manager.getTaskList());
- generator.addCollector(collector);
- generator.run(new NullProgressMonitor());
- assertEquals(0, generator.getAllCollectedTasks().size());
-
- task1.setCompleted(true);
- generator.run(new NullProgressMonitor());
- assertEquals(1, generator.getAllCollectedTasks().size());
- assertEquals(task1, generator.getAllCollectedTasks().get(0));
- }
-
- public void testCompletedTasksInCategoryRetrieved() throws InvocationTargetException, InterruptedException {
- AbstractTask task1 = manager.createNewLocalTask("task 1");
- manager.getTaskList().moveToContainer(task1, manager.getTaskList().getDefaultCategory());
- task1.setCompleted(true);
- TaskCategory cat1 = new TaskCategory("TaskReportGeneratorTest Category");
- manager.getTaskList().addCategory(cat1);
-
- Set<AbstractTaskContainer> catagories = new HashSet<AbstractTaskContainer>();
- catagories.add(cat1);
-
- CompletedTaskCollector collector = new CompletedTaskCollector(new Date(0));
- TaskReportGenerator generator = new TaskReportGenerator(manager.getTaskList(), catagories);
- generator.addCollector(collector);
- generator.run(new NullProgressMonitor());
- assertEquals(0, generator.getAllCollectedTasks().size());
-
- manager.getTaskList().moveToContainer(task1, cat1);
-
- generator.run(new NullProgressMonitor());
- assertEquals(1, generator.getAllCollectedTasks().size());
- assertEquals(task1, generator.getAllCollectedTasks().get(0));
- }
-
- public void testCompletedBugzillaTasksInCategoryRetrieved() throws InvocationTargetException, InterruptedException {
- BugzillaTask task1 = new BugzillaTask("repo", "1", "task 1");
- manager.getTaskList().moveToContainer(task1,
- TasksUiPlugin.getTaskListManager().getTaskList().getDefaultCategory());
- task1.setCompleted(true);
- TaskCategory cat1 = new TaskCategory("TaskReportGeneratorTest Category");
- manager.getTaskList().addCategory(cat1);
-
- Set<AbstractTaskContainer> catagories = new HashSet<AbstractTaskContainer>();
- catagories.add(cat1);
-
- CompletedTaskCollector collector = new CompletedTaskCollector(new Date(0));
- TaskReportGenerator generator = new TaskReportGenerator(manager.getTaskList(), catagories);
- generator.addCollector(collector);
- generator.run(new NullProgressMonitor());
- assertEquals(0, generator.getAllCollectedTasks().size());
-
- manager.getTaskList().moveToContainer(task1, cat1);
-
- generator.run(new NullProgressMonitor());
- assertEquals(1, generator.getAllCollectedTasks().size());
- assertEquals(task1, generator.getAllCollectedTasks().get(0));
- }
-
- public void testCompletedBugzillaTasksInQueryRetrieved() throws InvocationTargetException, InterruptedException {
- BugzillaTask task1 = new BugzillaTask("repo", "1", "task 1");
- manager.getTaskList().moveToContainer(task1,
- TasksUiPlugin.getTaskListManager().getTaskList().getDefaultCategory());
- task1.setCompleted(false);
-
- BugzillaRepositoryQuery bugQuery = new BugzillaRepositoryQuery("repositoryUrl", "queryUrl",
- "TaskReportGeneratorBugzillaQueryCategory");
-
- manager.getTaskList().addQuery(bugQuery);
-
- Set<AbstractTaskContainer> catagories = new HashSet<AbstractTaskContainer>();
- catagories.add(bugQuery);
-
- CompletedTaskCollector collector = new CompletedTaskCollector(new Date(0));
- TaskReportGenerator generator = new TaskReportGenerator(manager.getTaskList(), catagories);
- generator.addCollector(collector);
- generator.run(new NullProgressMonitor());
- assertEquals(0, generator.getAllCollectedTasks().size());
-
- manager.getTaskList().addTask(task1, bugQuery);
-
- generator.run(new NullProgressMonitor());
- assertEquals(0, generator.getAllCollectedTasks().size());
-
- task1.setCompleted(true);
-
- generator.run(new NullProgressMonitor());
- assertEquals(1, generator.getAllCollectedTasks().size());
- assertEquals(task1, generator.getAllCollectedTasks().get(0));
- }
-
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/headless/BugzillaQueryTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/headless/BugzillaQueryTest.java
deleted file mode 100644
index b26e79e87..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/headless/BugzillaQueryTest.java
+++ /dev/null
@@ -1,175 +0,0 @@
-/*******************************************************************************
- * 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.bugzilla.tests.headless;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.mylyn.context.tests.support.TestUtil;
-import org.eclipse.mylyn.context.tests.support.TestUtil.Credentials;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaReportElement;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryConnector;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryQuery;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.tasks.core.AbstractTask;
-import org.eclipse.mylyn.tasks.core.AbstractTaskDataHandler;
-import org.eclipse.mylyn.tasks.core.QueryHitCollector;
-import org.eclipse.mylyn.tasks.core.RepositoryTaskData;
-import org.eclipse.mylyn.tasks.core.TaskList;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-import org.eclipse.mylyn.tasks.ui.TaskFactory;
-
-// import org.eclipse.mylyn.tasks.ui.TasksUiPlugin;
-
-/**
- * Example use of headless API (no ui dependencies)
- *
- * @author Rob Elves
- * @author Nathan Hapke
- */
-public class BugzillaQueryTest extends TestCase {
-
- private TaskRepository repository;
-
- private BugzillaRepositoryConnector connector;
-
- private AbstractTaskDataHandler handler;
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- //
- // connector = (BugzillaRepositoryConnector)
- // TasksUiPlugin.getRepositoryManager().getRepositoryConnector(
- // BugzillaCorePlugin.REPOSITORY_KIND);
-
- connector = new BugzillaRepositoryConnector();
- connector.init(new TaskList());
- handler = connector.getTaskDataHandler();
- repository = new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_222_URL);
- Credentials credentials = TestUtil.readCredentials();
- repository.setAuthenticationCredentials(credentials.username, credentials.password);
- }
-
- /**
- * This is the first test so that the repository credentials are correctly set for the other tests
- */
- public void testAddCredentials() {
- if (!repository.hasCredentials()) {
- Credentials credentials = TestUtil.readCredentials();
- repository.setAuthenticationCredentials(credentials.username, credentials.password);
-
- assertTrue(repository.hasCredentials());
- }
- }
-
- public void testGetBug() throws Exception {
- RepositoryTaskData taskData = handler.getTaskData(repository, "1", new NullProgressMonitor());
- assertNotNull(taskData);
- assertEquals("user@mylar.eclipse.org", taskData.getAssignedTo());
- assertEquals("foo", taskData.getDescription());
-
- // You can use the getAttributeValue to pull up the information on any
- // part of the bug
- assertEquals("P1", taskData.getAttributeValue(BugzillaReportElement.PRIORITY.getKeyString()));
- }
-
- // TODO: Uncomment when bug#176513 completed
-// public void testGetBugs() throws Exception {
-// HashSet<String> taskIds = new HashSet<String>();
-// taskIds.add("1");
-// taskIds.add("2");
-// taskIds.add("4");
-// Map<String, RepositoryTaskData> taskDataMap = handler.getTaskData(repository, taskIds);
-// assertNotNull(taskDataMap);
-// RepositoryTaskData taskData = taskDataMap.get("1");
-// assertEquals("user@mylar.eclipse.org", taskData.getAssignedTo());
-// assertEquals("foo", taskData.getDescription());
-// // You can use the getAttributeValue to pull up the information on any
-// // part of the bug
-// assertEquals("P1", taskData.getAttributeValue(BugzillaReportElement.PRIORITY.getKeyString()));
-//
-// taskData = taskDataMap.get("2");
-// assertEquals("nhapke@cs.ubc.ca", taskData.getAssignedTo());
-// assertEquals("search-match-test 1", taskData.getDescription());
-//
-// taskData = taskDataMap.get("4");
-// assertEquals("relves@cs.ubc.ca", taskData.getReporter());
-// assertEquals("Test", taskData.getDescription());
-// }
-
- // README
- // public void testPostBug() throws Exception {
- // RepositoryTaskData taskData = handler.getTaskData(repository, "1");
- // assertNotNull(taskData);
- // assertEquals("user@mylar.eclipse.org", taskData.getAssignedTo());
- // assertEquals("foo", taskData.getDescription());
- // taskData.setSummary("New Summary");
- // // post this modification back to the repository
- // handler.postTaskData(repository, taskData);
- //
- // // You can use the getAttributeValue to pull up the information on any
- // // part of the bug
- // // assertEquals("P1",
- // //
- // taskData.getAttributeValue(BugzillaReportElement.PRIORITY.getKeyString()));
- // }
-
- @SuppressWarnings("deprecation")
- public void testQueryViaConnector() throws Exception {
- String queryUrlString = repository.getUrl()
- + "/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=search-match-test&product=TestProduct&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&deadlinefrom=&deadlineto=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=";
-
- // holds onto actual hit objects
- TaskList taskList = new TaskList();
- QueryHitCollector collector = new QueryHitCollector(new TaskFactory(repository));
- BugzillaRepositoryConnector connector = new BugzillaRepositoryConnector();
- connector.init(taskList);
- BugzillaRepositoryQuery query = new BugzillaRepositoryQuery(repository.getUrl(), queryUrlString, "summary");
- connector.performQuery(query, repository, new NullProgressMonitor(), collector);
- assertEquals(2, collector.getTasks().size());
- for (AbstractTask hit : collector.getTasks()) {
- assertTrue(hit.getSummary().contains("search-match-test"));
- }
- }
-}
-
-// public void testValidateCredentials() throws IOException,
-// BugzillaException, KeyManagementException,
-// GeneralSecurityException {
-// BugzillaClient.validateCredentials(null, repository.getUrl(),
-// repository.getCharacterEncoding(),
-// repository.getUserName(), repository.getPassword());
-// }
-//
-// public void testValidateCredentialsInvalidProxy() throws IOException,
-// BugzillaException, KeyManagementException,
-// GeneralSecurityException {
-// BugzillaClient.validateCredentials(new Proxy(Proxy.Type.HTTP, new
-// InetSocketAddress("localhost", 12356)),
-// repository.getUrl(), repository.getCharacterEncoding(),
-// repository.getUserName(), repository
-// .getPassword());
-// }
-
-// public void testCredentialsEncoding() throws IOException,
-// BugzillaException, KeyManagementException,
-// GeneralSecurityException {
-// String poundSignUTF8 =
-// BugzillaClient.addCredentials(IBugzillaConstants.TEST_BUGZILLA_222_URL,
-// "UTF-8",
-// "testUser", "\u00A3");
-// assertTrue(poundSignUTF8.endsWith("password=%C2%A3"));
-// String poundSignISO =
-// BugzillaClient.addCredentials(IBugzillaConstants.TEST_BUGZILLA_222_URL,
-// "ISO-8859-1", "testUser", "\u00A3");
-// assertFalse(poundSignISO.contains("%C2%A3"));
-// assertTrue(poundSignISO.endsWith("password=%A3"));
-// }
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/headless/BugzillaTaskHistoryTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/headless/BugzillaTaskHistoryTest.java
deleted file mode 100644
index b4b810753..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/headless/BugzillaTaskHistoryTest.java
+++ /dev/null
@@ -1,161 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 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.bugzilla.tests.headless;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
-
-import org.eclipse.mylyn.bugzilla.tests.AbstractBugzillaTest;
-import org.eclipse.mylyn.context.tests.support.TestUtil;
-import org.eclipse.mylyn.context.tests.support.TestUtil.Credentials;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylyn.internal.bugzilla.core.BugzillaRepositoryConnector;
-import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants;
-import org.eclipse.mylyn.internal.bugzilla.core.history.AssignmentEvent;
-import org.eclipse.mylyn.internal.bugzilla.core.history.ResolutionEvent;
-import org.eclipse.mylyn.internal.bugzilla.core.history.StatusEvent;
-import org.eclipse.mylyn.internal.bugzilla.core.history.TaskHistory;
-import org.eclipse.mylyn.tasks.core.TaskList;
-import org.eclipse.mylyn.tasks.core.TaskRepository;
-
-public class BugzillaTaskHistoryTest extends AbstractBugzillaTest {
-
- private TaskRepository repository;
-
- private BugzillaRepositoryConnector connector;
-
- private static final String HISTORY_FILE_NAME = "storedHistory.history";
-
- private static final String REPORT_ID = "1";
-
- @Override
- public void setUp() throws Exception {
- super.setUp();
- connector = new BugzillaRepositoryConnector();
- connector.init(new TaskList());
- repository = new TaskRepository(BugzillaCorePlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_222_URL);
-
- Credentials credentials = TestUtil.readCredentials();
- repository.setAuthenticationCredentials(credentials.username, credentials.password);
- }
-
- public void testGetBugHistory() throws Exception {
-
- BugzillaClient client = connector.getClientManager().getClient(repository);
- assertNotNull(client);
- TaskHistory history = client.getHistory("1");
- assertNotNull(history);
-
- assertEquals(1, history.getAssignmentEvents().size());
- assertEquals(2, history.getStatusEvents().size());
- assertEquals(1, history.getResolutionEvents().size());
- assertEquals(12, history.getOtherEvents().size());
- }
-
- public void testAssignmentEvent() throws Exception {
- BugzillaClient client = connector.getClientManager().getClient(repository);
- assertNotNull(client);
- TaskHistory history = client.getHistory("1");
- assertNotNull(history);
-
- AssignmentEvent assignment = history.getAssignmentEvents().get(0);
- assertEquals("nhapke@cs.ubc.ca", assignment.getName());
- assertEquals("user@mylar.eclipse.org", assignment.getAssigned());
- assertEquals("2006-08-25 17:48:02", assignment.getDate());
- assertEquals("nhapke@cs.ubc.ca", assignment.getRemoved());
- assertEquals("user@mylar.eclipse.org", assignment.getAdded());
- assertEquals("AssignedTo", assignment.getWhat());
- }
-
- public void testStatusEvent() throws Exception {
-
- BugzillaClient client = connector.getClientManager().getClient(repository);
- assertNotNull(client);
- TaskHistory history = client.getHistory("1");
- assertNotNull(history);
-
- StatusEvent statusChange = history.getStatusEvents().get(0);
- assertEquals("nhapke@cs.ubc.ca", statusChange.getName());
- assertEquals("2006-08-25 19:18:05", statusChange.getDate());
- assertEquals("NEW", statusChange.getRemoved());
- assertEquals("ASSIGNED", statusChange.getAdded());
- assertEquals("Status", statusChange.getWhat());
- }
-
- public void testResolutionEvent() throws Exception {
- BugzillaClient client = connector.getClientManager().getClient(repository);
- assertNotNull(client);
- TaskHistory history = client.getHistory(REPORT_ID);
- assertNotNull(history);
-
- ResolutionEvent resolutionChange = history.getResolutionEvents().get(0);
- assertEquals("janvik@cs.ubc.ca", resolutionChange.getName());
- assertEquals("2007-02-15 14:52:51", resolutionChange.getDate());
- assertEquals("", resolutionChange.getRemoved());
- assertEquals("FIXED", resolutionChange.getAdded());
- assertEquals("Resolution", resolutionChange.getWhat());
- }
-
- public void testStoredHistory() throws Exception {
- BugzillaClient client = connector.getClientManager().getClient(repository);
- assertNotNull(client);
- TaskHistory history = client.getHistory(REPORT_ID);
- assertNotNull(history);
- storeHistory(history);
-
- history = getStoredHistory();
-
- assertEquals(1, history.getAssignmentEvents().size());
- assertEquals(2, history.getStatusEvents().size());
- assertEquals(1, history.getResolutionEvents().size());
- assertEquals(12, history.getOtherEvents().size());
-
- // Remove file
- File storedHistoryFile = new File(HISTORY_FILE_NAME);
- assertTrue(storedHistoryFile.delete());
- }
-
- private void storeHistory(TaskHistory history) {
- File saveFile = new File(HISTORY_FILE_NAME);
- saveFile.deleteOnExit();
- try {
- ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(saveFile));
- out.writeObject(history);
- out.close();
- } catch (FileNotFoundException e) {
- System.err.println("Can't write to: " + saveFile);
- } catch (IOException e) {
- e.printStackTrace();
- }
- }
-
- private TaskHistory getStoredHistory() {
- File file = new File(HISTORY_FILE_NAME);
- try {
- ObjectInputStream in = new ObjectInputStream(new FileInputStream(file));
- TaskHistory history = (TaskHistory) in.readObject();
- in.close();
- return history;
- } catch (FileNotFoundException e) {
- System.err.println("Can't find: " + file);
- } catch (IOException e) {
- e.printStackTrace();
- } catch (ClassNotFoundException e) {
- e.printStackTrace();
- }
-
- // Should never happen
- return null;
- }
-}
diff --git a/org.eclipse.mylyn.bugzilla.tests/test-attach-1181009324093.txt b/org.eclipse.mylyn.bugzilla.tests/test-attach-1181009324093.txt
deleted file mode 100644
index bdf08de0f..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/test-attach-1181009324093.txt
+++ /dev/null
@@ -1 +0,0 @@
-test file \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.tests/test-attach-1182233735875.txt b/org.eclipse.mylyn.bugzilla.tests/test-attach-1182233735875.txt
deleted file mode 100644
index bdf08de0f..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/test-attach-1182233735875.txt
+++ /dev/null
@@ -1 +0,0 @@
-test file \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/configuration/rdfconfig218.txt b/org.eclipse.mylyn.bugzilla.tests/testdata/configuration/rdfconfig218.txt
deleted file mode 100644
index bf41e9a70..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/configuration/rdfconfig218.txt
+++ /dev/null
@@ -1,461 +0,0 @@
-<?xml version="1.0"?>
-<!-- Note: this interface is experimental and under development.
- - We may and probably will make breaking changes to it in the future. -->
-
-<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:bz="http://www.bugzilla.org/rdf#">
-
-<bz:installation rdf:about="">
-<!-- NOTE: rdf:about="http://mylar.eclipse.org/bugs218/"
- changed to "" for testing -->
- <bz:install_version>2.18.5</bz:install_version>
- <bz:maintainer>relves&#64;cs.ubc.ca</bz:maintainer>
-
- <bz:status>
- <Seq>
- <li>UNCONFIRMED</li>
- <li>NEW</li>
- <li>ASSIGNED</li>
- <li>REOPENED</li>
- <li>RESOLVED</li>
- <li>VERIFIED</li>
- <li>CLOSED</li>
- </Seq>
- </bz:status>
-
- <bz:status_open>
- <Seq>
- <li>UNCONFIRMED</li>
- <li>NEW</li>
- <li>ASSIGNED</li>
- <li>REOPENED</li>
- </Seq>
- </bz:status_open>
-
- <bz:status_closed>
- <Seq>
- <li>RESOLVED</li>
- <li>VERIFIED</li>
- <li>CLOSED</li>
- </Seq>
- </bz:status_closed>
-
- <bz:resolution>
- <Seq>
- <li></li>
- <li>FIXED</li>
- <li>INVALID</li>
- <li>WONTFIX</li>
- <li>LATER</li>
- <li>REMIND</li>
- <li>DUPLICATE</li>
- <li>WORKSFORME</li>
- <li>MOVED</li>
- </Seq>
- </bz:resolution>
-
- <bz:keyword>
- <Seq>
- </Seq>
- </bz:keyword>
-
- <bz:platform>
- <Seq>
- <li>All</li>
- <li>DEC</li>
- <li>HP</li>
- <li>Macintosh</li>
- <li>PC</li>
- <li>SGI</li>
- <li>Sun</li>
- <li>Other</li>
- </Seq>
- </bz:platform>
-
- <bz:op_sys>
- <Seq>
- <li>All</li>
- <li>Windows 3.1</li>
- <li>Windows 95</li>
- <li>Windows 98</li>
- <li>Windows ME</li>
- <li>Windows 2000</li>
- <li>Windows NT</li>
- <li>Windows XP</li>
- <li>Windows Server 2003</li>
- <li>Mac System 7</li>
- <li>Mac System 7.5</li>
- <li>Mac System 7.6.1</li>
- <li>Mac System 8.0</li>
- <li>Mac System 8.5</li>
- <li>Mac System 8.6</li>
- <li>Mac System 9.x</li>
- <li>Mac OS X 10.0</li>
- <li>Mac OS X 10.1</li>
- <li>Mac OS X 10.2</li>
- <li>Mac OS X 10.3</li>
- <li>Linux</li>
- <li>BSD/OS</li>
- <li>FreeBSD</li>
- <li>NetBSD</li>
- <li>OpenBSD</li>
- <li>AIX</li>
- <li>BeOS</li>
- <li>HP-UX</li>
- <li>IRIX</li>
- <li>Neutrino</li>
- <li>OpenVMS</li>
- <li>OS/2</li>
- <li>OSF/1</li>
- <li>Solaris</li>
- <li>SunOS</li>
- <li>other</li>
- </Seq>
- </bz:op_sys>
-
- <bz:priority>
- <Seq>
- <li>P1</li>
- <li>P2</li>
- <li>P3</li>
- <li>P4</li>
- <li>P5</li>
- </Seq>
- </bz:priority>
-
- <bz:severity>
- <Seq>
- <li>blocker</li>
- <li>critical</li>
- <li>major</li>
- <li>normal</li>
- <li>minor</li>
- <li>trivial</li>
- <li>enhancement</li>
- </Seq>
- </bz:severity>
-
- <bz:products>
- <Seq>
- <li>
- <bz:product rdf:about="http://mylar.eclipse.org/bugs218/product.cgi?name=TestProduct">
- <bz:name>TestProduct</bz:name>
-
- <bz:components>
- <Seq>
- <li resource="http://mylar.eclipse.org/bugs218/component.cgi?name=TestComponent"/>
- </Seq>
- </bz:components>
-
- <bz:versions>
- <Seq>
- <li resource="http://mylar.eclipse.org/bugs218/version.cgi?name=other"/>
- </Seq>
- </bz:versions>
-
-
- </bz:product>
- </li>
- <li>
- <bz:product rdf:about="http://mylar.eclipse.org/bugs218/product.cgi?name=Test-Long-Named-Product-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA">
- <bz:name>Test-Long-Named-Product-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</bz:name>
-
- <bz:components>
- <Seq>
- <li resource="http://mylar.eclipse.org/bugs218/component.cgi?name=TestComponent"/>
- </Seq>
- </bz:components>
-
- <bz:versions>
- <Seq>
- <li resource="http://mylar.eclipse.org/bugs218/version.cgi?name=other"/>
- </Seq>
- </bz:versions>
-
-
- </bz:product>
- </li>
- </Seq>
- </bz:products>
-
- <bz:components>
- <Seq>
- <li>
- <bz:component rdf:about="http://mylar.eclipse.org/bugs218/component.cgi?name=TestComponent">
- <bz:name>TestComponent</bz:name>
- </bz:component>
- </li>
- </Seq>
- </bz:components>
-
- <bz:versions>
- <Seq>
- <li>
- <bz:version rdf:about="http://mylar.eclipse.org/bugs218/version.cgi?name=other">
- <bz:name>other</bz:name>
- </bz:version>
- </li>
- </Seq>
- </bz:versions>
-
-
- <bz:fields>
- <Seq>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=bug_id">
- <bz:name>bug_id</bz:name>
- <bz:description>Bug ID</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=short_desc">
- <bz:name>short_desc</bz:name>
- <bz:description>Summary</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=product">
- <bz:name>product</bz:name>
- <bz:description>Product</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=version">
- <bz:name>version</bz:name>
- <bz:description>Version</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=rep_platform">
- <bz:name>rep_platform</bz:name>
- <bz:description>Hardware</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=bug_file_loc">
- <bz:name>bug_file_loc</bz:name>
- <bz:description>URL</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=op_sys">
- <bz:name>op_sys</bz:name>
- <bz:description>OS</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=bug_status">
- <bz:name>bug_status</bz:name>
- <bz:description>Status</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=status_whiteboard">
- <bz:name>status_whiteboard</bz:name>
- <bz:description>Whiteboard</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=keywords">
- <bz:name>keywords</bz:name>
- <bz:description>Keywords</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=resolution">
- <bz:name>resolution</bz:name>
- <bz:description>Resolution</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=bug_severity">
- <bz:name>bug_severity</bz:name>
- <bz:description>Severity</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=priority">
- <bz:name>priority</bz:name>
- <bz:description>Priority</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=component">
- <bz:name>component</bz:name>
- <bz:description>Component</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=assigned_to">
- <bz:name>assigned_to</bz:name>
- <bz:description>Assignee</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=reporter">
- <bz:name>reporter</bz:name>
- <bz:description>Reporter</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=votes">
- <bz:name>votes</bz:name>
- <bz:description>Votes</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=qa_contact">
- <bz:name>qa_contact</bz:name>
- <bz:description>QA Contact</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=cc">
- <bz:name>cc</bz:name>
- <bz:description>CC</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=dependson">
- <bz:name>dependson</bz:name>
- <bz:description>Depends on</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=blocked">
- <bz:name>blocked</bz:name>
- <bz:description>Blocks</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=attachments.description">
- <bz:name>attachments.description</bz:name>
- <bz:description>Attachment description</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=attachments.thedata">
- <bz:name>attachments.thedata</bz:name>
- <bz:description>Attachment data</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=attachments.filename">
- <bz:name>attachments.filename</bz:name>
- <bz:description>Attachment filename</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=attachments.mimetype">
- <bz:name>attachments.mimetype</bz:name>
- <bz:description>Attachment mime type</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=attachments.ispatch">
- <bz:name>attachments.ispatch</bz:name>
- <bz:description>Attachment is patch</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=attachments.isobsolete">
- <bz:name>attachments.isobsolete</bz:name>
- <bz:description>Attachment is obsolete</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=attachments.isprivate">
- <bz:name>attachments.isprivate</bz:name>
- <bz:description>Attachment is private</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=target_milestone">
- <bz:name>target_milestone</bz:name>
- <bz:description>Target Milestone</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=delta_ts">
- <bz:name>delta_ts</bz:name>
- <bz:description>Last Changed time</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=(to_days(now())%20-%20to_days(bugs.delta_ts))">
- <bz:name>(to_days(now()) - to_days(bugs.delta_ts))</bz:name>
- <bz:description>Days since bug changed</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=longdesc">
- <bz:name>longdesc</bz:name>
- <bz:description>Comment</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=alias">
- <bz:name>alias</bz:name>
- <bz:description>Alias</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=everconfirmed">
- <bz:name>everconfirmed</bz:name>
- <bz:description>Ever confirmed?</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=reporter_accessible">
- <bz:name>reporter_accessible</bz:name>
- <bz:description>Reporter accessible?</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=cclist_accessible">
- <bz:name>cclist_accessible</bz:name>
- <bz:description>CC list accessible?</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=bug_group">
- <bz:name>bug_group</bz:name>
- <bz:description>Group</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=flagtypes.name">
- <bz:name>flagtypes.name</bz:name>
- <bz:description>Flag</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=requestees.login_name">
- <bz:name>requestees.login_name</bz:name>
- <bz:description>Flag Requestee</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=setters.login_name">
- <bz:name>setters.login_name</bz:name>
- <bz:description>Flag Setter</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=content">
- <bz:name>content</bz:name>
- <bz:description>Content</bz:description>
- </bz:field>
- </li>
- <li>
- <bz:field rdf:about="http://mylar.eclipse.org/bugs218/field.cgi?name=owner_idle_time">
- <bz:name>owner_idle_time</bz:name>
- <bz:description>Time Since Owner Touched</bz:description>
- </bz:field>
- </li>
- </Seq>
- </bz:fields>
-</bz:installation>
-
-</RDF> \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/contexts/.cvsignore b/org.eclipse.mylyn.bugzilla.tests/testdata/contexts/.cvsignore
deleted file mode 100644
index 47269cfbd..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/contexts/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-downloadedContext.xml
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/contexts/empty.txt b/org.eclipse.mylyn.bugzilla.tests/testdata/contexts/empty.txt
deleted file mode 100644
index e69de29bb..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/contexts/empty.txt
+++ /dev/null
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/bug-1-full.html b/org.eclipse.mylyn.bugzilla.tests/testdata/pages/bug-1-full.html
deleted file mode 100644
index 00fd1bcb7..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/bug-1-full.html
+++ /dev/null
@@ -1,719 +0,0 @@
-<!-- 1.0@bugzilla.org -->
-
-<!-- 1.0@bugzilla.org -->
-
-
-
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
- <head>
- <title>Bug 1 - Usability issue with external editors (1GE6IRL)</title>
-
-
-
-
-
-
-
- </head>
-
-
-
- <body bgcolor="#FFFFFF" onload="">
-
-
-<!-- 1.0@bugzilla.org -->
-
-
-
-
-<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000" >
-<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" ><tr><td
-WIDTH="100%"><table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%"
-BGCOLOR="#006699" ><tr><td BGCOLOR="#000000" width="116" ><img
-src="images/EclipseBannerPic.jpg" width="115" height="50"></td><td
-WIDTH="637"><a href=http://www.eclipse.org><img SRC="images/gradient.jpg" BORDER=0 height=50
-width=282></a></td><td WIDTH="250"><img src="images/eproject-simple.gif"
-width="250" height="48"></td></tr></table></td></tr></table>
-
- <table border="0" cellspacing="0">
- <tr>
- <td valign="top" align="left">
- <table border="0" cellpadding="0" cellspacing="2">
- <tr>
- <td valign="top" align="left" nowrap="nowrap">
- <font size="+1"><b>Bugzilla Bug 1</b></font>
- </td>
- </tr>
- </table>
- </td>
- <td valign="middle">&nbsp;</td>
- <td valign="middle" align="left">Usability issue with external editors (1GE6IRL)</td>
- </tr>
- </table>
-<!-- 1.0@bugzilla.org -->
-
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="query.cgi">Query page</a>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="enter_bug.cgi">Enter new bug</a>
-
-<hr>
-
-<form name="changeform" method="post" action="process_bug.cgi">
-
- <input type="hidden" name="delta_ts" value="20011025104050">
- <input type="hidden" name="longdesclength" value="5">
- <input type="hidden" name="id" value="1">
-
-
-
- <table cellspacing="1" cellpadding="1" border="0">
- <tr>
- <td align="right">
- <b>Bug#:</b>
- </td>
- <td>
- <a href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=1">1</a>
- </td>
-
- <td>&nbsp;</td>
-
- <td align="right">
- <b>Platform:</b>
- </td><td>
- <select name="rep_platform">
- <option value="All" selected>All
- </option>
- <option value="Macintosh">Macintosh
- </option>
- <option value="PC">PC
- </option>
- <option value="Power PC">Power PC
- </option>
- <option value="Sun">Sun
- </option>
- <option value="Other">Other
- </option>
- </select>
- </td>
- <td>&nbsp;</td>
-
- <td align="right">
- <b>Reporter:</b>
- </td>
- <td>andre_weinand@ch.ibm.com (Andre Weinand)
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b>Product:</b>
- </td><td>
- <select name="product">
- <option value="AJDT">AJDT
- </option>
- <option value="AspectJ">AspectJ
- </option>
- <option value="CDT">CDT
- </option>
- <option value="EMF">EMF
- </option>
- <option value="Equinox">Equinox
- </option>
- <option value="GEF">GEF
- </option>
- <option value="JDT">JDT
- </option>
- <option value="PDE">PDE
- </option>
- <option value="Platform" selected>Platform
- </option>
- <option value="Stellation">Stellation
- </option>
- <option value="XSD">XSD
- </option>
- </select>
- </td>
- <td>&nbsp;</td>
-
- <td align="right">
- <b>OS:</b>
- </td><td>
- <select name="op_sys">
- <option value="All" selected>All
- </option>
- <option value="AIX Motif">AIX Motif
- </option>
- <option value="Windows 95">Windows 95
- </option>
- <option value="Windows 98">Windows 98
- </option>
- <option value="Windows CE">Windows CE
- </option>
- <option value="Windows ME">Windows ME
- </option>
- <option value="Windows 2000">Windows 2000
- </option>
- <option value="Windows NT">Windows NT
- </option>
- <option value="Windows XP">Windows XP
- </option>
- <option value="Windows All">Windows All
- </option>
- <option value="MacOS X">MacOS X
- </option>
- <option value="Linux">Linux
- </option>
- <option value="Linux-GTK">Linux-GTK
- </option>
- <option value="Linux-Motif">Linux-Motif
- </option>
- <option value="HP-UX">HP-UX
- </option>
- <option value="Neutrino">Neutrino
- </option>
- <option value="QNX-Photon">QNX-Photon
- </option>
- <option value="Solaris">Solaris
- </option>
- <option value="Unix All">Unix All
- </option>
- <option value="other">other
- </option>
- </select>
- </td>
- <td>&nbsp;</td>
-
- <td align="right">
- <b>Add&nbsp;CC:</b>
- </td>
- <td>
- <input name="newcc" size="30" value="">
- </td>
- </tr>
-
-
-
- <tr>
- <td align="right">
- <b>
- <a href="describecomponents.cgi?product=Platform">
- Component</a>:
- </b>
- </td>
- <td>
- <select name="component">
- <option value="Ant">Ant
- </option>
- <option value="Compare">Compare
- </option>
- <option value="Core">Core
- </option>
- <option value="Debug">Debug
- </option>
- <option value="Doc">Doc
- </option>
- <option value="Help">Help
- </option>
- <option value="Releng">Releng
- </option>
- <option value="Scripting">Scripting
- </option>
- <option value="Search">Search
- </option>
- <option value="SWT">SWT
- </option>
- <option value="Text">Text
- </option>
- <option value="UI">UI
- </option>
- <option value="Update">Update
- </option>
- <option value="VCM" selected>VCM
- </option>
- <option value="WebDAV">WebDAV
- </option>
- </select>
- </td>
-
- <td>&nbsp;</td>
-
- <td align="right">
- <b>Version:</b>
- </td><td>
- <select name="version">
- <option value="1.0">1.0
- </option>
- <option value="2.0" selected>2.0
- </option>
- <option value="2.0.1">2.0.1
- </option>
- <option value="2.0.2">2.0.2
- </option>
- <option value="2.1">2.1
- </option>
- </select>
- </td>
- <td>&nbsp;</td>
-
- <td rowspan="4" align="right" valign="top">
- <b>CC:</b>
- </td>
- <td rowspan="4" valign="top">
- <select name="cc" multiple="multiple" size="5">
- <option value="Kevin_McGuire@oti.com">Kevin_McGuire@oti.com</option>
- </select>
- <br>
- <input type="checkbox" name="removecc">Remove selected CCs
- <br>
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b>
- <a href="bug_status.html">Status</a>:
- </b>
- </td>
- <td>VERIFIED</td>
- <td>&nbsp;</td>
-
- <td align="right">
- <b><a href="bug_status.html#priority">Priority</a>:</b>
- </td><td>
- <select name="priority">
- <option value="P1">P1
- </option>
- <option value="P2">P2
- </option>
- <option value="P3" selected>P3
- </option>
- <option value="P4">P4
- </option>
- <option value="P5">P5
- </option>
- </select>
- </td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td align="right">
- <b>
- <a href="bug_status.html">Resolution</a>:
- </b>
- </td>
- <td>FIXED</td>
- <td>&nbsp;</td>
-
- <td align="right">
- <b><a href="bug_status.html#severity">Severity</a>:</b>
- </td><td>
- <select name="bug_severity">
- <option value="blocker">blocker
- </option>
- <option value="critical">critical
- </option>
- <option value="major">major
- </option>
- <option value="normal" selected>normal
- </option>
- <option value="minor">minor
- </option>
- <option value="trivial">trivial
- </option>
- <option value="enhancement">enhancement
- </option>
- </select>
- </td>
- <td>&nbsp;</td>
-
- </tr>
-
- <tr>
- <td align="right">
- <b>
- <a href="bug_status.html#assigned_to">Assigned&nbsp;To</a>:
- </b>
- </td>
- <td>James_Moody@ca.ibm.com (James Moody)</td>
- <td>&nbsp;</td>
-
- <td align="right">
- <b>
- <a href="notargetmilestone.html">Target Milestone</a>:
- </b>
- </td><td>
- <select name="target_milestone">
- <option value="2.0 M1">2.0 M1
- </option>
- <option value="2.0 M2">2.0 M2
- </option>
- <option value="2.0 M3">2.0 M3
- </option>
- <option value="2.0 M4">2.0 M4
- </option>
- <option value="2.0 M5">2.0 M5
- </option>
- <option value="2.0 M6">2.0 M6
- </option>
- <option value="2.0 F1">2.0 F1
- </option>
- <option value="2.0 F2">2.0 F2
- </option>
- <option value="2.0 F3">2.0 F3
- </option>
- <option value="2.0 F4">2.0 F4
- </option>
- <option value="2.0.1">2.0.1
- </option>
- <option value="2.0.2">2.0.2
- </option>
- <option value="2.1">2.1
- </option>
- <option value="2.1 M1">2.1 M1
- </option>
- <option value="2.1 M2">2.1 M2
- </option>
- <option value="2.1 M3">2.1 M3
- </option>
- <option value="2.1 M4">2.1 M4
- </option>
- <option value="2.1 M5">2.1 M5
- </option>
- <option value="2.1 RC1">2.1 RC1
- </option>
- <option value="2.1 RC2">2.1 RC2
- </option>
- <option value="2.1 RC3">2.1 RC3
- </option>
- <option value="2.1 RC4">2.1 RC4
- </option>
- <option value="2.1.1">2.1.1
- </option>
- <option value="2.2">2.2
- </option>
- <option value="---" selected>---
- </option>
- </select>
- </td>
- <td>&nbsp;</td>
- </tr>
-
-
-
-
- <tr>
- <td align="right">
- <b>
- URL:
- </b>
- </td>
- <td colspan="7">
- <input name="bug_file_loc"
- value="" size="60">
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b>Summary:</b>
- </td>
- <td colspan="7">
- <input name="short_desc"
- value="Usability issue with external editors (1GE6IRL)" size="60">
- </td>
- </tr>
-
-
- <tr>
- <td align="right">
- <b>
- <a href="describekeywords.cgi">Keywords</a>:
- </b>
- <td colspan="7">
- <input name="keywords"
- value="" size="60">
- </td>
- </tr>
- </table>
-
-
-<!-- 1.0@bugzilla.org -->
-
-
-<br>
-<table cellspacing="0" cellpadding="4" border="1">
- <tr>
- <th bgcolor="#cccccc" align="left">Attachment</th>
- <th bgcolor="#cccccc" align="left">Type</th>
- <th bgcolor="#cccccc" align="left">Modified</th>
- <th bgcolor="#cccccc" align="left">Status</th>
- <th bgcolor="#cccccc" align="left">Actions</th>
- </tr>
-
-
- <tr>
- <td colspan="4">
- <a href="attachment.cgi?bugid=1&amp;action=enter">Create a New Attachment</a> (proposed patch, testcase, etc.)
- </td>
- <td colspan="1">
- <a href="attachment.cgi?bugid=1&amp;action=viewall">View All</a>
- </td>
- </tr>
-</table>
-<br>
-
-
-
- <table>
- <tr><th align="right">Bug 1 depends on:</th>
- <td>
- </td>
- <td>
- <input name="dependson"
- value="">
- </td>
- <td rowspan="2">
- <a href="showdependencytree.cgi?id=1">Show
- dependency tree</a>
-
- </td>
- </tr>
-
- <tr><th align="right">Bug 1 blocks:</th>
- <td>
- </td>
- <td>
- <input name="blocked"
- value="">
- </td>
- </tr>
- </table>
-
- <table>
- <tr>
- <th>
- <a href="votehelp.html">Votes</a>:
- </th>
- <td>0&nbsp;&nbsp;&nbsp;
- <a href="votes.cgi?action=show_bug&amp;bug_id=1">Show
- votes for this bug</a>&nbsp;&nbsp;&nbsp;
- <a href="votes.cgi?action=show_user&amp;bug_id=1">Vote
- for this bug</a>
- </td>
- </tr>
- </table>
-
-
-
- <br>
- <b>Additional Comments:</b>
- <br>
- <textarea wrap="hard" name="comment" rows="10" cols="80"
- accesskey="c"></textarea>
- <br>
-
-
-
-
- <br>
- <input type="radio" name="knob" value="none" checked="checked">
- Leave as <b>VERIFIED&nbsp;FIXED</b>
- <br>
-
-
-
- <input type="radio" name="knob" value="reopen"> Reopen bug
- <br>
- <input type="radio" name="knob" value="close">
- Mark bug as <b>CLOSED</b><br>
-
- <input type="submit" value="Commit">
- <input type="hidden" name="form_name" value="process_bug">
- <p>
- <font size="+1">
- <b>
- <a href="show_activity.cgi?id=1">View Bug Activity</a>
- &nbsp; | &nbsp;
- <a href="long_list.cgi?buglist=1">Format For Printing</a>
- </b>
- </font>
-
- </p>
-</form>
-
-
-
-<table>
- <tr>
- <td align="left">
- <b>
- <a name="c0" href="#c0">Description</a>:
- </b>
- </td>
- <td align="right" width="100%">
- Opened: 2001-10-10 21:34
- </td>
- </tr>
-</table>
-<hr>
-<!-- 1.0@bugzilla.org -->
-
-<pre>- Setup a project that contains a *.gif resource
- - release project to CVS
- - edit the *.gif resource with an external editor, e.g. PaintShop
- - save and close external editor
- - in Navigator open the icon resource and verify that your changes are there
- - release project
- -&gt; nothing to release!
- - in Navigator open the icon resource and verify that your changes are still there
-
- Problem: because I never &quot;Refreshed from local&quot;, the workspace hasn't changed so &quot;Release&quot; didn't find anything.
- However opening the resource with an external editor found the modified file on disk and showed the changes.
-
- The real problem occurs if &quot;Release&quot; actually finds something to release but you don't spot that some resources are missing.
- This is extremely error prone: one of my changes didn't made it into build 110 because of this!
-
-NOTES:
-EG (5/23/01 3:00:33 PM)
- Release should do a refresh from local before doing the release.
- Moving to VCM
-
-
-KM (05/27/01 5:10:19 PM)
- Comments from JM in related email:
-
- Should not do this for free. Could have a setting which made it optoinal but should nt be mandatory. Default setting could be to have it on.
- Consider the SWT team who keep their workspaces on network drives. This will be slow.
-
- Side effects will be that a build runs when the refresh is completed unless you somehow do it in a workspace runnable and don't end the
- runnable until after the release. This would be less than optimal as some builders may be responsible for maintaining some invariants and deriving resources which are releasable. If you don't run the builders before releasing, the invariants will not be maintained and you will release inconsistent state.
-
- Summary: Offer to &quot;ensure local consistency&quot; before releasing.
-
-KM (5/31/01 1:30:35 PM)
- See also 1GEAG1A: ITPVCM:WINNT - Internal error comparing with a document
- which failed with an error. Never got log from Tod though.</pre>
- <br>
- <i>------- Additional Comment
- <a name="c1" href="#c1">#1</a> From
- <a href="mailto:James_Moody@ca.ibm.com">James Moody</a>
- 2001-10-19 10:32 -------
- </i>
-
-
-<pre>*** <strike><a href="show_bug.cgi?id=183" title="RESOLVED DUPLICATE - readme: must refresh from local if using external editors (1GFBQNI)">Bug 183</a></strike> has been marked as a duplicate of this bug. ***</pre>
- <br>
- <i>------- Additional Comment
- <a name="c2" href="#c2">#2</a> From
- <a href="mailto:James_Moody@ca.ibm.com">James Moody</a>
- 2001-10-19 16:36 -------
- </i>
-
-
-<pre>Implemented 'auto refresh' option. Default value is off.</pre>
- <br>
- <i>------- Additional Comment
- <a name="c3" href="#c3">#3</a> From
- <a href="mailto:dj_houghton@ca.ibm.com">DJ Houghton</a>
- 2001-10-23 23:39 -------
- </i>
-
-
-<pre>PRODUCT VERSION:
- 109
-
-</pre>
- <br>
- <i>------- Additional Comment
- <a name="c4" href="#c4">#4</a> From
- <a href="mailto:James_Moody@ca.ibm.com">James Moody</a>
- 2001-10-25 10:19 -------
- </i>
-
-
-<pre>Fixed in v206</pre>
-
-<hr>
-<!-- 1.0@bugzilla.org -->
-
-
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="query.cgi">Query page</a>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="enter_bug.cgi">Enter new bug</a>
-
-<br>
-<!-- 1.0@bugzilla.org -->
-
-
-
-
-
-
-<table border="0">
- <tr>
- <td bgcolor="#000000" valign="top">
- <table border="0" cellpadding="10" cellspacing="0" width="100%"
- bgcolor="lightyellow">
- <tr>
- <td>
-
-
-
- This is <b>Bugzilla</b>: the Mozilla bug system. For more
- information about what Bugzilla is and what it can do, see
- <a href="http://www.bugzilla.org/">bugzilla.org</a>.
-
-
-
- <br>
-
-
-<!-- 1.0@bugzilla.org -->
-
-
-
-
-
-
-<form method="get" action="show_bug.cgi">
- <table width="100%">
- <tr>
- <td>
- Actions:
- </td>
-
- <td valign="middle" nowrap>
- <a href="enter_bug.cgi">New</a> |
- <a href="query.cgi">Query</a> |
-
- <input type="submit" value="Find"> bug #
- <input name="id" size="6"> |
-
- <a href="reports.cgi">Reports</a>
-
- </td>
-
- <td>&nbsp;</td>
-
- <td valign="middle" align="right">
- <a href="createaccount.cgi">New&nbsp;Account</a> |
- <a href="query.cgi?GoAheadAndLogIn=1">Log&nbsp;In</a>
- </td>
- </tr>
-
- </table>
-</form>
-
- </td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-
-</body>
-</html> \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/bug-not-found-eclipse.html b/org.eclipse.mylyn.bugzilla.tests/testdata/pages/bug-not-found-eclipse.html
deleted file mode 100644
index 156212e5e..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/bug-not-found-eclipse.html
+++ /dev/null
@@ -1,158 +0,0 @@
-<!-- 1.0@bugzilla.org -->
-
-
-
-<!-- 1.0@bugzilla.org -->
-
-
-
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
- <head>
- <title>Error</title>
-
-
-
-
-
-
-
- </head>
-
-
-
- <body bgcolor="#FFFFFF" onload="">
-
-
-<!-- 1.0@bugzilla.org -->
-
-
-
-
-<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000" >
-<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" ><tr><td
-WIDTH="100%"><table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%"
-BGCOLOR="#006699" ><tr><td BGCOLOR="#000000" width="116" ><img
-src="images/EclipseBannerPic.jpg" width="115" height="50"></td><td
-WIDTH="637"><a href=http://www.eclipse.org><img SRC="images/gradient.jpg" BORDER=0 height=50
-width=282></a></td><td WIDTH="250"><img src="images/eproject-simple.gif"
-width="250" height="48"></td></tr></table></td></tr></table>
-
- <table border="0" cellspacing="0">
- <tr>
- <td valign="top" align="left">
- <table border="0" cellpadding="0" cellspacing="2">
- <tr>
- <td valign="top" align="left" nowrap="nowrap">
- <font size="+1"><b>Error</b></font>
- </td>
- </tr>
- </table>
- </td>
- <td valign="middle">&nbsp;</td>
- <td valign="middle" align="left"></td>
- </tr>
- </table>
-
-<table cellpadding="20">
- <tr>
- <td bgcolor="#ff0000">
- <font size="+2">Bug #666 does not exist.
- </font>
- </td>
- </tr>
-</table>
-
-<p>
- Please press <b>Back</b> and try again.
-</p>
-<!-- 1.0@bugzilla.org -->
-
-
-
-
-
-
-<table border="0">
- <tr>
- <td bgcolor="#000000" valign="top">
- <table border="0" cellpadding="10" cellspacing="0" width="100%"
- bgcolor="lightyellow">
- <tr>
- <td>
-
-
-
- This is <b>Bugzilla</b>: the Mozilla bug system. For more
- information about what Bugzilla is and what it can do, see
- <a href="http://www.bugzilla.org/">bugzilla.org</a>.
-
-
-
- <br>
-
-
-<!-- 1.0@bugzilla.org -->
-
-
-
-
-
-
-<form method="get" action="show_bug.cgi">
- <table width="100%">
- <tr>
- <td>
- Actions:
- </td>
-
- <td valign="middle" nowrap>
- <a href="enter_bug.cgi">New</a> |
- <a href="query.cgi">Query</a> |
-
- <input type="submit" value="Find"> bug #
- <input name="id" size="6"> |
-
- <a href="reports.cgi">Reports</a>
-
- | <a href="votes.cgi?action=show_user">My Votes</a>
- </td>
-
- <td>&nbsp;</td>
-
-
- <td valign="middle">
- Edit <a href="userprefs.cgi">prefs</a>
-
- | <a href="relogin.cgi">Log&nbsp;out</a>&nbsp;cubranic@cs.ubc.ca
- </td>
- </tr>
-
-
-
-
- <tr>
- <td>
- Preset&nbsp;Queries:
- </td>
-
- <td colspan="3">
- <a href="buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=cubranic%40cs.ubc.ca&emailtype1=exact&emailassigned_to1=1&emailreporter1=1">My&nbsp;Bugs</a>
-
- </td>
- </tr>
-
-
- </table>
-</form>
-
- </td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-
-</body>
-</html> \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/bug-not-found-hipikat.html b/org.eclipse.mylyn.bugzilla.tests/testdata/pages/bug-not-found-hipikat.html
deleted file mode 100644
index e6261be5d..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/bug-not-found-hipikat.html
+++ /dev/null
@@ -1,142 +0,0 @@
-<!-- 1.0@bugzilla.org -->
-
-
-
-<!-- 1.0@bugzilla.org -->
-
-
-
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
- <head>
- <title>Error</title>
-
-
-
-
-
-
-
- </head>
-
-
-
- <body bgcolor="#FFFFFF" onload="">
-
-
-<!-- 1.0@bugzilla.org -->
-
-
-
-
- <table bgcolor="#000000" width="100%" border="0" cellpadding="0"
- cellspacing="0">
- <tr>
- <td>
- <font color="#FFFFFF" size="8"><center>
- Bugzilla Version 2.16.3
- </center></font>
- </td>
- </tr>
- </table>
-
- <table border="0" cellspacing="0">
- <tr>
- <td valign="top" align="left">
- <table border="0" cellpadding="0" cellspacing="2">
- <tr>
- <td valign="top" align="left" nowrap="nowrap">
- <font size="+1"><b>Error</b></font>
- </td>
- </tr>
- </table>
- </td>
- <td valign="middle">&nbsp;</td>
- <td valign="middle" align="left"></td>
- </tr>
- </table>
-
-<table cellpadding="20">
- <tr>
- <td bgcolor="#ff0000">
- <font size="+2">Bug #666 does not exist.
- </font>
- </td>
- </tr>
-</table>
-
-<p>
- Please press <b>Back</b> and try again.
-</p>
-<!-- 1.0@bugzilla.org -->
-
-
-
-
-
-
-<table border="0">
- <tr>
- <td bgcolor="#000000" valign="top">
- <table border="0" cellpadding="10" cellspacing="0" width="100%"
- bgcolor="lightyellow">
- <tr>
- <td>
-
-
-
- This is <b>Bugzilla</b>: the Mozilla bug system. For more
- information about what Bugzilla is and what it can do, see
- <a href="http://www.bugzilla.org/">bugzilla.org</a>.
-
-
-
- <br>
-
-
-<!-- 1.0@bugzilla.org -->
-
-
-
-
-
-
-<form method="get" action="show_bug.cgi">
- <table width="100%">
- <tr>
- <td>
- Actions:
- </td>
-
- <td valign="middle" nowrap>
- <a href="enter_bug.cgi">New</a> |
- <a href="query.cgi">Query</a> |
-
- <input type="submit" value="Find"> bug #
- <input name="id" size="6"> |
-
- <a href="reports.cgi">Reports</a>
-
- </td>
-
- <td>&nbsp;</td>
-
- <td valign="middle" align="right">
- <a href="createaccount.cgi">New&nbsp;Account</a> |
- <a href="query.cgi?GoAheadAndLogIn=1">Log&nbsp;In</a>
- </td>
- </tr>
-
- </table>
-</form>
-
- </td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-
-</body>
-</html> \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/cdt-page.html b/org.eclipse.mylyn.bugzilla.tests/testdata/pages/cdt-page.html
deleted file mode 100644
index 3a1d20fdb..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/cdt-page.html
+++ /dev/null
@@ -1,184 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- saved from url=(0055)https://bugs.eclipse.org/bugs/enter_bug.cgi?product=CDT -->
-<!-- 1.0@bugzilla.org --><!-- 1.0@bugzilla.org --><HTML><HEAD><TITLE>Enter Bug</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
-<BODY text=#000000 vLink=#551a8b aLink=#ff0000 link=#0000ee bgColor=#ffffff
-onload=""><!-- 1.0@bugzilla.org -->
-<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
- <TBODY>
- <TR>
- <TD width="100%">
- <TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#006699
- border=0><TBODY>
- <TR>
- <TD width=116 bgColor=#000000><IMG height=50
- src="Enter Bug_files/EclipseBannerPic.jpg" width=115></TD>
- <TD width=637><A href="http://www.eclipse.org/"><IMG height=50
- src="Enter Bug_files/gradient.jpg" width=282 border=0></A></TD>
- <TD width=250><IMG height=48
- src="Enter Bug_files/eproject-simple.gif"
- width=250></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
-<TABLE cellSpacing=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top align=left>
- <TABLE cellSpacing=2 cellPadding=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top noWrap align=left><FONT size=+1><B>Enter
- Bug</B></FONT> </TD></TR></TBODY></TABLE></TD>
- <TD vAlign=center>&nbsp;</TD>
- <TD vAlign=center align=left>This page lets you enter a new bug into
- Bugzilla.</TD></TR></TBODY></TABLE>
-<FORM action=post_bug.cgi method=post><INPUT type=hidden value=CDT name=product>
-
-<TABLE cellSpacing=2 cellPadding=0 border=0>
- <TBODY>
- <TR>
- <TD><BR></TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3><!-- 1.0@bugzilla.org -->Before reporting a bug, please read
- the <A href="https://bugs.eclipse.org/bugs/bugwritinghelp.html">bug
- writing guidelines</A>, please look at the list of <A
- href="https://bugs.eclipse.org/bugs/duplicates.cgi">most frequently
- reported bugs</A>, and please <A
- href="https://bugs.eclipse.org/bugs/query.cgi">search</A> for the bug.
- </TD></TR>
- <TR>
- <TD><BR></TD></TR>
- <TR>
- <TD vAlign=top align=right><STRONG>Reporter:</STRONG></TD>
- <TD vAlign=top>tanya@cs.ubc.ca</TD>
- <TD vAlign=top align=right><STRONG>Product:</STRONG></TD>
- <TD vAlign=top>CDT</TD></TR>
- <TR>
- <TD vAlign=top align=right><STRONG>Version:</STRONG> </TD>
- <TD><SELECT size=5 name=version> <OPTION value=1.0>1.0</OPTION> <OPTION
- value=1.0.1>1.0.1</OPTION> <OPTION value=1.1>1.1</OPTION> <OPTION
- value=1.2>1.2</OPTION> <OPTION value=2.0 selected>2.0</OPTION></SELECT>
-</TD>
- <TD vAlign=top align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/describecomponents.cgi?product=CDT">Component</A>:
- </STRONG></TD>
- <TD><SELECT size=5 name=component> <OPTION
- value=CDT-parser>CDT-parser</OPTION> <OPTION value=Core>Core</OPTION>
- <OPTION value=Cpp-Extensions>Cpp-Extensions</OPTION> <OPTION
- value=Debug>Debug</OPTION> <OPTION value=Debug-MI>Debug-MI</OPTION>
- <OPTION value=Doc>Doc</OPTION> <OPTION
- value=Generic-Extensions>Generic-Extensions</OPTION> <OPTION
- value=Launcher>Launcher</OPTION> <OPTION value=UI>UI</OPTION></SELECT>
- </TD></TR>
- <TR>
- <TD>&nbsp;</TD>
- <TD colSpan=3></TD></TR>
- <TR>
- <TD align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#rep_platform">Platform</A>:
- </STRONG></TD>
- <TD><SELECT name=rep_platform> <OPTION value=All>All</OPTION> <OPTION
- value=Macintosh>Macintosh</OPTION> <OPTION value=PC selected>PC</OPTION>
- <OPTION value="Power PC">Power PC</OPTION> <OPTION
- value=Sun>Sun</OPTION> <OPTION value=Other>Other</OPTION></SELECT> </TD>
- <TD align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#op_sys">OS</A>:
- </STRONG></TD>
- <TD><SELECT name=op_sys> <OPTION value=All>All</OPTION> <OPTION
- value="AIX Motif">AIX Motif</OPTION> <OPTION value="Windows 95">Windows
- 95</OPTION> <OPTION value="Windows 98">Windows 98</OPTION> <OPTION
- value="Windows CE">Windows CE</OPTION> <OPTION
- value="Windows ME">Windows ME</OPTION> <OPTION
- value="Windows 2000">Windows 2000</OPTION> <OPTION
- value="Windows NT">Windows NT</OPTION> <OPTION value="Windows XP"
- selected>Windows XP</OPTION> <OPTION value="Windows All">Windows
- All</OPTION> <OPTION value="MacOS X">MacOS X</OPTION> <OPTION
- value=Linux>Linux</OPTION> <OPTION value=Linux-GTK>Linux-GTK</OPTION>
- <OPTION value=Linux-Motif>Linux-Motif</OPTION> <OPTION
- value=HP-UX>HP-UX</OPTION> <OPTION value=Neutrino>Neutrino</OPTION>
- <OPTION value=QNX-Photon>QNX-Photon</OPTION> <OPTION
- value=Solaris>Solaris</OPTION> <OPTION value="Unix All">Unix
- All</OPTION> <OPTION value=other>other</OPTION></SELECT> </TD></TR>
- <TR><INPUT type=hidden value=P3 name=priority>
- <TD align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#bug_severity">Severity</A>:
- </STRONG></TD>
- <TD><SELECT name=bug_severity> <OPTION value=blocker>blocker</OPTION>
- <OPTION value=critical>critical</OPTION> <OPTION
- value=major>major</OPTION> <OPTION value=normal selected>normal</OPTION>
- <OPTION value=minor>minor</OPTION> <OPTION
- value=trivial>trivial</OPTION> <OPTION
- value=enhancement>enhancement</OPTION></SELECT> </TD></TR>
- <TR>
- <TD>&nbsp;</TD>
- <TD colSpan=3></TD></TR><INPUT type=hidden value=NEW name=bug_status>
- <TR>
- <TD align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#assigned_to">Assigned
- To</A>: </STRONG></TD>
- <TD colSpan=3><INPUT size=32 name=assigned_to> (Leave blank to assign to
- default component owner) </TD></TR>
- <TR>
- <TD align=right><STRONG>Cc:</STRONG></TD>
- <TD colSpan=3><INPUT size=45 name=cc> </TD></TR>
- <TR>
- <TD>&nbsp;</TD>
- <TD colSpan=3></TD></TR>
- <TR>
- <TD colSpan=3><INPUT type=hidden size=60 name=bug_file_loc input> </TD></TR>
- <TR>
- <TD align=right><STRONG>Summary:</STRONG></TD>
- <TD colSpan=3><INPUT size=60 name=short_desc> </TD></TR>
- <TR>
- <TD vAlign=top align=right><STRONG>Description:</STRONG></TD>
- <TD colSpan=3><TEXTAREA name=comment rows=10 wrap=hard cols=80></TEXTAREA>
- <BR></TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3></TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3><INPUT onclick="if (this.form.short_desc.value == '') &#10; { alert('Please enter a summary sentence for this bug.'); &#10; return false; } return true;" type=submit value=" Commit ">
- &nbsp;&nbsp;&nbsp;&nbsp; <INPUT type=submit value="Remember values as bookmarkable template" name=maketemplate>
- </TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3><BR>We've made a guess at your operating system and
- platform. Please check them and, if we got it wrong, email
- webmaster@eclipse.org. </TD></TR></TBODY></TABLE><INPUT type=hidden
-value=enter_bug name=form_name> </FORM><!-- 1.0@bugzilla.org -->
-<TABLE border=0>
- <TBODY>
- <TR>
- <TD vAlign=top bgColor=#000000>
- <TABLE cellSpacing=0 cellPadding=10 width="100%" bgColor=lightyellow
- border=0>
- <TBODY>
- <TR>
- <TD>This is <B>Bugzilla</B>: the Mozilla bug system. For more
- information about what Bugzilla is and what it can do, see <A
- href="http://www.bugzilla.org/">bugzilla.org</A>. <BR><!-- 1.0@bugzilla.org -->
- <FORM action=show_bug.cgi method=get>
- <TABLE width="100%">
- <TBODY>
- <TR>
- <TD>Actions: </TD>
- <TD vAlign=center noWrap><A
- href="https://bugs.eclipse.org/bugs/enter_bug.cgi">New</A> |
- <A href="https://bugs.eclipse.org/bugs/query.cgi">Query</A> | <INPUT type=submit value=Find> bug # <INPUT size=6 name=id> |
- <A
- href="https://bugs.eclipse.org/bugs/reports.cgi">Reports</A> |
- <A
- href="https://bugs.eclipse.org/bugs/votes.cgi?action=show_user">My
- Votes</A> </TD>
- <TD>&nbsp;</TD>
- <TD vAlign=center>Edit <A
- href="https://bugs.eclipse.org/bugs/userprefs.cgi">prefs</A> |
- <A
- href="https://bugs.eclipse.org/bugs/relogin.cgi">Log&nbsp;out</A>&nbsp;tanya@cs.ubc.ca
- </TD></TR>
- <TR>
- <TD>Preset&nbsp;Queries: </TD>
- <TD colSpan=3><A
- href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=tanya%40cs.ubc.ca&amp;emailtype1=exact&amp;emailassigned_to1=1&amp;emailreporter1=1">My&nbsp;Bugs</A>
- </TD></TR></TBODY></TABLE></FORM></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/enter-bug220.html b/org.eclipse.mylyn.bugzilla.tests/testdata/pages/enter-bug220.html
deleted file mode 100644
index e9c1deb49..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/enter-bug220.html
+++ /dev/null
@@ -1,441 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <title>Enter Bug: TestProduct</title>
-
-
-<link rel="Top" href="http://you-havent-visited-editparams.cgi-yet/">
-
-
-
-
-
-
-
-
- <link rel="Saved&nbsp;Searches" title="My Bugs"
- href="buglist.cgi?bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=relves%40cs.ubc.ca&amp;emailtype1=exact&amp;emailassigned_to1=1&amp;emailreporter1=1">
-
-
- <link rel="Administration" title="Parameters"
- href="editparams.cgi"><link rel="Administration" title="Users"
- href="editusers.cgi"><link rel="Administration" title="Products"
- href="editproducts.cgi"><link rel="Administration" title="Flag Types"
- href="editflagtypes.cgi"><link rel="Administration" title="Groups"
- href="editgroups.cgi"><link rel="Administration" title="Keywords"
- href="editkeywords.cgi"><link rel="Administration" title="Whining"
- href="editwhines.cgi"><link rel="Administration" title="Sanity Check"
- href="sanitycheck.cgi">
-
-
-
- <script type="text/javascript">
- <!--
-
- function initHelp() {}
- // -->
- </script>
-
- <link href="skins/standard/global.css" rel="stylesheet" type="text/css">
- <link href="skins/custom/global.css" rel="stylesheet" type="text/css">
-
-
-
-
-
- </head>
-
-
-
- <body onload="set_assign_to();"
- class="you-havent-visited-editparams-cgi-yet">
-
-
-<div id="banner">
- <div class="intro"></div>
- <p id="banner-name">
- <span>This is Bugzilla</span>
- </p>
- <p id="banner-version">
- <a href="http://www.bugzilla.org/"><span>Bugzilla</span></a>
-
- <span>Version 2.20</span>
- </p>
- <div class="outro"></div>
- </div>
-
-<div id="header">
- <h1>Enter Bug: TestProduct</h1>
-
- <h2>This page lets you enter a new bug into Bugzilla.</h2>
-
-</div>
-
-<script type="text/javascript">
-<!--
-
-var initialowners = new Array(1);
-var last_initialowner;
-var components = new Array(1);
- components[0] = "TestComponent";
- initialowners[0] = "relves\x40cs.ubc.ca";
-
-function set_assign_to() {
- // Based on the selected component, fill the "Assign To:" field
- // with the default component owner, and the the "QA Contact:" field
- // with the default QA Contact.
- var form = document.Create;
- var assigned_to = form.assigned_to.value;
-
-
- var index = -1;
- if (form.component.type == 'select-one') {
- index = form.component.selectedIndex;
- } else if (form.component.type == 'hidden') {
- // Assume there is only one component in the list
- index = 0;
- }
- if (index != -1) {
- var owner = initialowners[index];
- var component = components[index];
- if (assigned_to == last_initialowner
- || assigned_to == owner
- || assigned_to == '') {
- form.assigned_to.value = owner;
- last_initialowner = owner;
- }
- }
-}
--->
-</script>
-
-<form name="Create" id="Create" method="post" action="post_bug.cgi">
-<input type="hidden" name="product" value="TestProduct">
-
-<table cellspacing="2" cellpadding="0" border="0">
-
- <tr>
- <td><br></td>
- </tr>
-
- <tr>
- <td></td>
- <td colspan="3">
- Before reporting a bug, please read the
-<a href="page.cgi?id=bug-writing.html">bug writing guidelines</a>, please look at the list of
-<a href="duplicates.cgi">most frequently reported bugs</a>, and please
-<a href="query.cgi">search</a> for the bug.
- </td>
-
- </tr>
-
- <tr>
- <td><br></td>
- </tr>
-
- <tr>
- <td align="right" valign="top"><strong>Reporter:</strong></td>
- <td valign="top">relves&#64;cs.ubc.ca</td>
-
- <td align="right" valign="top"><strong>Product:</strong></td>
- <td valign="top">TestProduct</td>
- </tr>
-
-
- <tr>
- <td align="right" valign="top">
- <strong>Version:</strong>
-
- </td>
- <td>
- <select name="version" size="5">
- <option value="other" selected="selected">other </option>
- </select>
- </td>
-
- <td align="right" valign="top">
- <strong>
-
- <a href="describecomponents.cgi?product=TestProduct">
- Component</a>:
- </strong>
- </td>
- <td>
- <select name="component" onchange="set_assign_to();" size="5">
- <option value="TestComponent" selected="selected">TestComponent </option>
- </select>
-
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td colspan="3"></td>
- </tr>
-
- <tr><td align="right">
- <strong>
-
- <a href="page.cgi?id=fields.html#rep_platform">Platform</a>:
- </strong>
- </td>
-
- <td>
- <select name="rep_platform">
- <option value="All">All</option>
- <option value="PC" selected="selected">PC</option>
-
- <option value="Macintosh">Macintosh</option>
- <option value="Other">Other</option>
- </select>
- </td>
-<td align="right">
- <strong>
- <a href="page.cgi?id=fields.html#op_sys">OS</a>:
- </strong>
-
- </td>
-
- <td>
- <select name="op_sys">
- <option value="All">All</option>
- <option value="Windows" selected="selected">Windows</option>
- <option value="Mac OS">Mac OS</option>
- <option value="Linux">Linux</option>
-
- <option value="Other">Other</option>
- </select>
- </td>
- </tr>
-
- <tr><td align="right">
- <strong>
- <a href="page.cgi?id=fields.html#priority">Priority</a>:
- </strong>
-
- </td>
-
- <td>
- <select name="priority">
- <option value="P1">P1</option>
- <option value="P2" selected="selected">P2</option>
- <option value="P3">P3</option>
- <option value="P4">P4</option>
-
- <option value="P5">P5</option>
- </select>
- </td>
-<td align="right">
- <strong>
- <a href="page.cgi?id=fields.html#bug_severity">Severity</a>:
- </strong>
- </td>
-
- <td>
- <select name="bug_severity">
- <option value="blocker">blocker</option>
- <option value="critical">critical</option>
- <option value="major">major</option>
- <option value="normal" selected="selected">normal</option>
- <option value="minor">minor</option>
-
- <option value="trivial">trivial</option>
- <option value="enhancement">enhancement</option>
- </select>
- </td>
- </tr>
-
-
- <tr>
- <td>&nbsp;</td>
-
- <td colspan="3"></td>
- </tr>
-
- <tr>
- <input type="hidden" name="bug_status"
- value="NEW">
- <td align="right" valign="top"><strong>Initial State:</strong></td>
- <td valign="top">NEW</td>
- <td colspan="2"></td>
-
- </tr>
-
- <tr>
- <td align="right">
- <strong>
- <a href="page.cgi?id=fields.html#assigned_to">Assign To</a>:
- </strong>
- </td>
- <td colspan="3"><input
- name="assigned_to"
- value="" size="32"
->
-
- <noscript>(Leave blank to assign to component's default assignee)</noscript>
- </td>
- </tr>
-
-
- <tr>
- <td align="right"><strong>Cc:</strong></td>
- <td colspan="3"><input
- name="cc"
- value="" size="45"
->
- </td>
-
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td colspan="3"></td>
- </tr>
-
-
- <tr>
- <td align="right"><strong>URL:</strong></td>
-
- <td colspan="3">
- <input name="bug_file_loc" size="60"
- value="http://">
- </td>
- </tr>
-
- <tr>
- <td align="right"><strong>Summary:</strong></td>
- <td colspan="3">
- <input name="short_desc" size="60" value="">
-
- </td>
- </tr>
-
- <tr><td align="right" valign="top"><strong>Description:</strong></td>
- <td colspan="3">
- <textarea name="comment" rows="10" cols="80"></textarea>
- <br>
- </td>
-
- </tr>
-
- <input type="hidden" name="commentprivacy" value="0">
-
- <tr>
- <td align="right">
- <strong>Depends on:</strong>
- </td>
- <td>
-
- <input name="dependson" accesskey="d" value="">
- </td>
- </tr>
- <tr>
- <td align="right">
- <strong>Blocks:</strong>
- </td>
- <td>
-
- <input name="blocked" accesskey="b" value="">
- </td>
- </tr>
-
- <tr>
- <td></td>
- <td colspan="3">
- </td>
- </tr>
-
-
-
- <tr>
- <td></td>
- <td colspan="3">
- <input type="submit" value=" Commit "
- onclick="if (this.form.short_desc.value == '')
- { alert('Please enter a summary sentence for this bug.');
- return false; } return true;">
- &nbsp;&nbsp;&nbsp;&nbsp;
- <input type="submit" name="maketemplate"
- value="Remember values as bookmarkable template">
- </td>
- </tr>
-
- <tr>
- <td></td>
- <td colspan="3">
- <br>
- We've made a guess at your
- operating system and platform. Please check them
- and, if we got it wrong, email
- THE MAINTAINER HAS NOT YET BEEN SET.
- </td>
- </tr>
-
- </table>
-
- <input type="hidden" name="form_name" value="enter_bug">
-</form>
-
-
-<div id="footer">
- <div class="intro"></div>
-
-
-
-
-<form method="get" action="show_bug.cgi">
-<div id="useful-links">
- <div id="links-actions">
- <div class="label">Actions:</div>
-
- <div class="links">
- <a href="./">Home</a> |
- <a href="enter_bug.cgi">New</a> |
- <a href="query.cgi">Search</a> |
- bug # <input class="txt" name="id" size="6">
- <input class="btn" type="submit" value="Find"> |
-
- <a href="report.cgi">Reports</a>
-
- | <a href="request.cgi?requester=relves%40cs.ubc.ca&amp;requestee=relves%40cs.ubc.ca&amp;do_union=1&amp;group=type">My Requests</a>
-
-
- | <a href="votes.cgi?action=show_user">My&nbsp;Votes</a>
- | <a href="sanitycheck.cgi">Sanity&nbsp;check</a>
- | <a href="relogin.cgi">Log&nbsp;out</a>&nbsp;relves&#64;cs.ubc.ca
- </div>
- </div>
-
-
- <div id="links-edit">
- <div class="label">Edit:</div>
- <div class="links">
-
- <a href="userprefs.cgi">Prefs</a> | <a href="editparams.cgi">Parameters</a> | <a href="editsettings.cgi">User Preferences</a> | <a href="editusers.cgi">Users</a> | <a href="editproducts.cgi">Products</a> | <a href="editflagtypes.cgi">Flags</a> | <a href="editvalues.cgi">Field Values</a> | <a href="editgroups.cgi">Groups</a> | <a href="editkeywords.cgi">Keywords</a> | <a href="editwhines.cgi">Whining</a>
-
- </div>
- </div>
-
-
-
-
- <div id="links-saved">
- <div class="label">
- Saved&nbsp;Searches:
- </div>
- <div class="links">
- <a href="buglist.cgi?bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=relves%40cs.ubc.ca&amp;emailtype1=exact&amp;emailassigned_to1=1&amp;emailreporter1=1">My&nbsp;Bugs</a>
-
- </div>
- </div>
-
-
-</div>
-</form>
-
- <div class="outro"></div>
-</div>
-
-</body>
-</html>
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/enter-bug2201.html b/org.eclipse.mylyn.bugzilla.tests/testdata/pages/enter-bug2201.html
deleted file mode 100644
index b942b2a55..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/enter-bug2201.html
+++ /dev/null
@@ -1,493 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <title>Enter Bug: Mylar</title>
-
-
-<link rel="Top" href="https://bugs.eclipse.org/bugs/">
-
-
-
-
-
-
-
-
- <link rel="Saved&nbsp;Searches" title="My Bugs"
- href="buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=relves%40cs.ubc.ca&emailtype1=exact&emailassigned_to1=1&emailreporter1=1">
-
- <link rel="Saved&nbsp;Searches"
- title="AssignedToMe"
- href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=AssignedToMe">
-
-
-
- <script type="text/javascript">
- <!--
-
- function initHelp() {}
- // -->
- </script>
-
- <link href="skins/standard/global.css" rel="stylesheet" type="text/css">
- <link href="skins/custom/global.css" rel="stylesheet" type="text/css">
-
-
-
-
-
- </head>
-
-
-
- <body onload="set_assign_to();"
- class="bugs-eclipse-org-bugs">
-
-
-<!-- 1.0@bugzilla.org -->
-
-
-
-
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr style="background-image: url(/bugs/header_bg.gif);">
- <td>
- <a href="http://www.eclipse.org/"><img src="/bugs/header_logo.gif" width="164" height="68" border="0" /></a>
- </td>
- <td align="right" style="color: white; font-family: verdana,arial,helvetica; font-size: 1.25em; font-style: italic;"><b>Eclipse bugs</b></font> <br /><font style="font-size: .5em;">Bugzilla 2.20.1 &#160;</font></td>
-
- </tr>
-</table>
-
-<div id="header">
- <h1>Enter Bug: Mylar</h1>
-
- <h2>This page lets you enter a new bug into Bugzilla.</h2>
-
-</div>
-
-<script type="text/javascript">
-<!--
-
-var initialowners = new Array(10);
-var last_initialowner;
-var components = new Array(10);
- var initialqacontacts = new Array(10);
- var last_initialqacontact;
- components[0] = "Bugzilla";
- initialowners[0] = "beatmik\x40acm.org";
- initialqacontacts[0] = "";
- components[1] = "Core";
- initialowners[1] = "beatmik\x40acm.org";
- initialqacontacts[1] = "";
- components[2] = "Doc";
- initialowners[2] = "beatmik\x40acm.org";
- initialqacontacts[2] = "";
- components[3] = "Java";
- initialowners[3] = "beatmik\x40acm.org";
- initialqacontacts[3] = "";
- components[4] = "Jira";
- initialowners[4] = "beatmik\x40acm.org";
- initialqacontacts[4] = "";
- components[5] = "Monitor";
- initialowners[5] = "beatmik\x40acm.org";
- initialqacontacts[5] = "";
- components[6] = "Tasks";
- initialowners[6] = "beatmik\x40acm.org";
- initialqacontacts[6] = "";
- components[7] = "UI";
- initialowners[7] = "beatmik\x40acm.org";
- initialqacontacts[7] = "";
- components[8] = "XML";
- initialowners[8] = "beatmik\x40acm.org";
- initialqacontacts[8] = "";
- components[9] = "Zest";
- initialowners[9] = "irbull\x40cs.uvic.ca";
- initialqacontacts[9] = "";
-
-function set_assign_to() {
- // Based on the selected component, fill the "Assign To:" field
- // with the default component owner, and the the "QA Contact:" field
- // with the default QA Contact.
- var form = document.Create;
- var assigned_to = form.assigned_to.value;
-
- var qa_contact = form.qa_contact.value;
-
- var index = -1;
- if (form.component.type == 'select-one') {
- index = form.component.selectedIndex;
- } else if (form.component.type == 'hidden') {
- // Assume there is only one component in the list
- index = 0;
- }
- if (index != -1) {
- var owner = initialowners[index];
- var component = components[index];
- if (assigned_to == last_initialowner
- || assigned_to == owner
- || assigned_to == '') {
- form.assigned_to.value = owner;
- last_initialowner = owner;
- }
- var contact = initialqacontacts[index];
- if (qa_contact == last_initialqacontact
- || qa_contact == contact
- || qa_contact == '') {
- form.qa_contact.value = contact;
- last_initialqacontact = contact;
- }
- }
-}
--->
-</script>
-
-<form name="Create" id="Create" method="post" action="post_bug.cgi">
-<input type="hidden" name="product" value="Mylar">
-
-<table cellspacing="2" cellpadding="0" border="0">
-
- <tr>
- <td><br></td>
- </tr>
-
- <tr>
- <td></td>
-
- <td colspan="3">
- Before reporting a bug, please read the
-<a href="page.cgi?id=bug-writing.html">bug writing guidelines</a>, please look at the list of
-<a href="duplicates.cgi">most frequently reported bugs</a>, and please
-<a href="query.cgi">search</a> for the bug.
- </td>
- </tr>
-
- <tr>
-
- <td><br></td>
- </tr>
-
- <tr>
- <td align="right" valign="top"><strong>Reporter:</strong></td>
- <td valign="top">relves&#64;cs.ubc.ca</td>
-
- <td align="right" valign="top"><strong>Product:</strong></td>
-
- <td valign="top">Mylar</td>
- </tr>
-
-
- <tr>
- <td align="right" valign="top">
- <strong>Version:</strong>
- </td>
- <td>
-
- <select name="version" size="5">
- <option value="0.2">0.2 </option>
- <option value="0.3">0.3 </option>
- <option value="0.4" selected="selected">0.4 </option>
- <option value="unspecified">unspecified </option>
- </select>
- </td>
-
- <td align="right" valign="top">
- <strong>
- <a href="describecomponents.cgi?product=Mylar">
- Component</a>:
- </strong>
- </td>
- <td>
- <select name="component" onchange="set_assign_to();" size="5">
-
- <option value="Bugzilla">Bugzilla </option>
- <option value="Core">Core </option>
- <option value="Doc">Doc </option>
- <option value="Java">Java </option>
- <option value="Jira">Jira </option>
- <option value="Monitor">Monitor </option>
-
- <option value="Tasks">Tasks </option>
- <option value="UI">UI </option>
- <option value="XML">XML </option>
- <option value="Zest">Zest </option>
- </select>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td colspan="3"></td>
- </tr>
-
- <tr><td align="right">
- <strong>
- <a href="page.cgi?id=fields.html#rep_platform">Platform</a>:
- </strong>
-
- </td>
-
- <td>
- <select name="rep_platform">
- <option value="All">All</option>
- <option value="Macintosh">Macintosh</option>
- <option value="Other">Other</option>
- <option value="PC" selected="selected">PC</option>
-
- <option value="Power PC">Power PC</option>
- <option value="Sun">Sun</option>
- </select>
- </td>
-<td align="right">
- <strong>
- <a href="page.cgi?id=fields.html#op_sys">OS</a>:
- </strong>
-
- </td>
-
- <td>
- <select name="op_sys">
- <option value="All">All</option>
- <option value="AIX Motif">AIX Motif</option>
- <option value="HP-UX">HP-UX</option>
- <option value="Linux">Linux</option>
-
- <option value="Linux-GTK">Linux-GTK</option>
- <option value="Linux-Motif">Linux-Motif</option>
- <option value="Mac OS">Mac OS</option>
- <option value="MacOS X">MacOS X</option>
- <option value="Neutrino">Neutrino</option>
- <option value="other">other</option>
-
- <option value="QNX-Photon">QNX-Photon</option>
- <option value="Solaris">Solaris</option>
- <option value="Solaris-GTK">Solaris-GTK</option>
- <option value="Solaris-Motif">Solaris-Motif</option>
- <option value="SymbianOS-Series 80">SymbianOS-Series 80</option>
- <option value="Unix All">Unix All</option>
-
- <option value="Windows All">Windows All</option>
- <option value="Windows 95">Windows 95</option>
- <option value="Windows 98">Windows 98</option>
- <option value="Windows 2000">Windows 2000</option>
- <option value="Windows 2003 Server">Windows 2003 Server</option>
- <option value="Windows CE">Windows CE</option>
-
- <option value="Windows ME">Windows ME</option>
- <option value="Windows Mobile 2003">Windows Mobile 2003</option>
- <option value="Windows NT">Windows NT</option>
- <option value="Windows XP" selected="selected">Windows XP</option>
- </select>
- </td>
- </tr>
-
- <tr>
- <input type="hidden" name="priority"
- value="P3">
-<td align="right">
- <strong>
- <a href="page.cgi?id=fields.html#bug_severity">Severity</a>:
- </strong>
- </td>
-
- <td>
-
- <select name="bug_severity">
- <option value="blocker">blocker</option>
- <option value="critical">critical</option>
- <option value="major">major</option>
- <option value="normal" selected="selected">normal</option>
- <option value="minor">minor</option>
-
- <option value="trivial">trivial</option>
- <option value="enhancement">enhancement</option>
- </select>
- </td>
- </tr>
-
-
- <tr>
- <td>&nbsp;</td>
-
- <td colspan="3"></td>
- </tr>
-
- <tr>
- <input type="hidden" name="bug_status"
- value="NEW">
- <td align="right" valign="top"><strong>Initial State:</strong></td>
- <td valign="top">NEW</td>
- <td colspan="2"></td>
-
- </tr>
-
- <tr>
- <td align="right">
- <strong>
- <a href="page.cgi?id=fields.html#assigned_to">Assign To</a>:
- </strong>
- </td>
- <td colspan="3"><input
- name="assigned_to"
- value="" disabled="1" size="32"
->
-
- <noscript>(Leave blank to assign to component's default assignee)</noscript>
- </td>
- </tr>
-
- <tr>
- <td align="right"><strong>QA Contact:</strong></td>
- <td colspan="3"><input
- name="qa_contact"
- value="" disabled="1" size="32"
->
- <noscript>(Leave blank to assign to default qa contact)</noscript>
-
- </td>
- </tr>
-
- <tr>
- <td align="right"><strong>Cc:</strong></td>
- <td colspan="3"><input
- name="cc"
- value="" size="45"
->
- </td>
- </tr>
-
- <tr>
-
- <td>&nbsp;</td>
- <td colspan="3"></td>
- </tr>
-
-
- <tr>
- <td align="right"><strong>URL:</strong></td>
- <td colspan="3">
- <input name="bug_file_loc" size="60"
- value="http://">
-
- </td>
- </tr>
-
- <tr>
- <td align="right"><strong>Summary:</strong></td>
- <td colspan="3">
- <input name="short_desc" size="60" value="">
- </td>
- </tr>
-
- <tr><td align="right" valign="top"><strong>Description:</strong></td>
- <td colspan="3">
- <textarea name="comment" rows="10" cols="80"></textarea>
- <br>
- </td>
- </tr>
-
- <input type="hidden" name="commentprivacy" value="0">
-
-
- <tr>
- <td></td>
- <td colspan="3">
- </td>
- </tr>
-
-
-
- <tr>
- <td></td>
-
- <td colspan="3">
- <input type="submit" value=" Commit "
- onclick="if (this.form.short_desc.value == '')
- { alert('Please enter a summary sentence for this bug.');
- return false; } return true;">
- &nbsp;&nbsp;&nbsp;&nbsp;
- <input type="submit" name="maketemplate"
- value="Remember values as bookmarkable template">
- </td>
- </tr>
-
- <tr>
- <td></td>
-
- <td colspan="3">
- <br>
- We've made a guess at your
- operating system and platform. Please check them
- and, if we got it wrong, email
- webmaster@eclipse.org.
- </td>
- </tr>
-
- </table>
- <input type="hidden" name="form_name" value="enter_bug">
-</form>
-
-
-<div id="footer">
- <div class="intro"></div>
-
-
-
-
-<form method="get" action="show_bug.cgi">
-<div id="useful-links">
- <div id="links-actions">
- <div class="label">Actions:</div>
- <div class="links">
- <a href="./">Home</a> |
- <a href="enter_bug.cgi">New</a> |
- <a href="query.cgi">Search</a> |
- bug # <input class="txt" name="id" size="6">
-
- <input class="btn" type="submit" value="Find"> |
-
- <a href="report.cgi">Reports</a>
-
- | <a href="request.cgi?requester=relves%40cs.ubc.ca&amp;requestee=relves%40cs.ubc.ca&amp;do_union=1&amp;group=type">My Requests</a>
-
- | <a href="votes.cgi?action=show_user">My&nbsp;Votes</a>
-
- | <a href="relogin.cgi">Log&nbsp;out</a>&nbsp;relves&#64;cs.ubc.ca
- </div>
-
- </div>
-
- <div id="links-edit">
- <div class="label">Edit:</div>
- <div class="links">
-
- <a href="userprefs.cgi">Prefs</a>
- </div>
- </div>
-
-
-
-
- <div id="links-saved">
-
- <div class="label">
- Saved&nbsp;Searches:
- </div>
- <div class="links">
- <a href="buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=relves%40cs.ubc.ca&emailtype1=exact&emailassigned_to1=1&emailreporter1=1">My&nbsp;Bugs</a>
- |
- <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=AssignedToMe">AssignedToMe</a>
- </div>
-
- </div>
-
-
-</div>
-</form>
-
- <div class="outro"></div>
-</div>
-
-</body>
-</html>
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/equinox-page.html b/org.eclipse.mylyn.bugzilla.tests/testdata/pages/equinox-page.html
deleted file mode 100644
index 1c8fdf57d..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/equinox-page.html
+++ /dev/null
@@ -1,177 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- saved from url=(0059)https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Equinox -->
-<!-- 1.0@bugzilla.org --><!-- 1.0@bugzilla.org --><HTML><HEAD><TITLE>Enter Bug</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
-<BODY text=#000000 vLink=#551a8b aLink=#ff0000 link=#0000ee bgColor=#ffffff
-onload=""><!-- 1.0@bugzilla.org -->
-<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
- <TBODY>
- <TR>
- <TD width="100%">
- <TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#006699
- border=0><TBODY>
- <TR>
- <TD width=116 bgColor=#000000><IMG height=50
- src="Equinox_files/EclipseBannerPic.jpg" width=115></TD>
- <TD width=637><A href="http://www.eclipse.org/"><IMG height=50
- src="Equinox_files/gradient.jpg" width=282 border=0></A></TD>
- <TD width=250><IMG height=48 src="Equinox_files/eproject-simple.gif"
- width=250></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
-<TABLE cellSpacing=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top align=left>
- <TABLE cellSpacing=2 cellPadding=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top noWrap align=left><FONT size=+1><B>Enter
- Bug</B></FONT> </TD></TR></TBODY></TABLE></TD>
- <TD vAlign=center>&nbsp;</TD>
- <TD vAlign=center align=left>This page lets you enter a new bug into
- Bugzilla.</TD></TR></TBODY></TABLE>
-<FORM action=post_bug.cgi method=post><INPUT type=hidden value=Equinox
-name=product>
-<TABLE cellSpacing=2 cellPadding=0 border=0>
- <TBODY>
- <TR>
- <TD><BR></TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3><!-- 1.0@bugzilla.org -->Before reporting a bug, please read
- the <A href="https://bugs.eclipse.org/bugs/bugwritinghelp.html">bug
- writing guidelines</A>, please look at the list of <A
- href="https://bugs.eclipse.org/bugs/duplicates.cgi">most frequently
- reported bugs</A>, and please <A
- href="https://bugs.eclipse.org/bugs/query.cgi">search</A> for the bug.
- </TD></TR>
- <TR>
- <TD><BR></TD></TR>
- <TR>
- <TD vAlign=top align=right><STRONG>Reporter:</STRONG></TD>
- <TD vAlign=top>tanya@cs.ubc.ca</TD>
- <TD vAlign=top align=right><STRONG>Product:</STRONG></TD>
- <TD vAlign=top>Equinox</TD></TR>
- <TR>
- <TD vAlign=top align=right><STRONG>Version:</STRONG> </TD>
- <TD><SELECT size=5 name=version> <OPTION value=unspecified
- selected>unspecified</OPTION></SELECT> </TD>
- <TD vAlign=top align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/describecomponents.cgi?product=Equinox">Component</A>:
- </STRONG></TD>
- <TD><SELECT size=5 name=component> <OPTION
- value="Dynamic Plugins">Dynamic Plugins</OPTION> <OPTION
- value=General>General</OPTION> <OPTION value=OSGi>OSGi</OPTION></SELECT>
- </TD></TR>
- <TR>
- <TD>&nbsp;</TD>
- <TD colSpan=3></TD></TR>
- <TR>
- <TD align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#rep_platform">Platform</A>:
- </STRONG></TD>
- <TD><SELECT name=rep_platform> <OPTION value=All>All</OPTION> <OPTION
- value=Macintosh>Macintosh</OPTION> <OPTION value=PC selected>PC</OPTION>
- <OPTION value="Power PC">Power PC</OPTION> <OPTION
- value=Sun>Sun</OPTION> <OPTION value=Other>Other</OPTION></SELECT> </TD>
- <TD align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#op_sys">OS</A>:
- </STRONG></TD>
- <TD><SELECT name=op_sys> <OPTION value=All>All</OPTION> <OPTION
- value="AIX Motif">AIX Motif</OPTION> <OPTION value="Windows 95">Windows
- 95</OPTION> <OPTION value="Windows 98">Windows 98</OPTION> <OPTION
- value="Windows CE">Windows CE</OPTION> <OPTION
- value="Windows ME">Windows ME</OPTION> <OPTION
- value="Windows 2000">Windows 2000</OPTION> <OPTION
- value="Windows NT">Windows NT</OPTION> <OPTION value="Windows XP"
- selected>Windows XP</OPTION> <OPTION value="Windows All">Windows
- All</OPTION> <OPTION value="MacOS X">MacOS X</OPTION> <OPTION
- value=Linux>Linux</OPTION> <OPTION value=Linux-GTK>Linux-GTK</OPTION>
- <OPTION value=Linux-Motif>Linux-Motif</OPTION> <OPTION
- value=HP-UX>HP-UX</OPTION> <OPTION value=Neutrino>Neutrino</OPTION>
- <OPTION value=QNX-Photon>QNX-Photon</OPTION> <OPTION
- value=Solaris>Solaris</OPTION> <OPTION value="Unix All">Unix
- All</OPTION> <OPTION value=other>other</OPTION></SELECT> </TD></TR>
- <TR><INPUT type=hidden value=P3 name=priority>
- <TD align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#bug_severity">Severity</A>:
- </STRONG></TD>
- <TD><SELECT name=bug_severity> <OPTION value=blocker>blocker</OPTION>
- <OPTION value=critical>critical</OPTION> <OPTION
- value=major>major</OPTION> <OPTION value=normal selected>normal</OPTION>
- <OPTION value=minor>minor</OPTION> <OPTION
- value=trivial>trivial</OPTION> <OPTION
- value=enhancement>enhancement</OPTION></SELECT> </TD></TR>
- <TR>
- <TD>&nbsp;</TD>
- <TD colSpan=3></TD></TR><INPUT type=hidden value=NEW name=bug_status>
- <TR>
- <TD align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#assigned_to">Assigned
- To</A>: </STRONG></TD>
- <TD colSpan=3><INPUT size=32 name=assigned_to> (Leave blank to assign to
- default component owner) </TD></TR>
- <TR>
- <TD align=right><STRONG>Cc:</STRONG></TD>
- <TD colSpan=3><INPUT size=45 name=cc> </TD></TR>
- <TR>
- <TD>&nbsp;</TD>
- <TD colSpan=3></TD></TR>
- <TR>
- <TD colSpan=3><INPUT type=hidden size=60 name=bug_file_loc input> </TD></TR>
- <TR>
- <TD align=right><STRONG>Summary:</STRONG></TD>
- <TD colSpan=3><INPUT size=60 name=short_desc> </TD></TR>
- <TR>
- <TD vAlign=top align=right><STRONG>Description:</STRONG></TD>
- <TD colSpan=3><TEXTAREA name=comment rows=10 wrap=hard cols=80></TEXTAREA>
- <BR></TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3></TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3><INPUT onclick="if (this.form.short_desc.value == '') &#10; { alert('Please enter a summary sentence for this bug.'); &#10; return false; } return true;" type=submit value=" Commit ">
- &nbsp;&nbsp;&nbsp;&nbsp; <INPUT type=submit value="Remember values as bookmarkable template" name=maketemplate>
- </TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3><BR>We've made a guess at your operating system and
- platform. Please check them and, if we got it wrong, email
- webmaster@eclipse.org. </TD></TR></TBODY></TABLE><INPUT type=hidden
-value=enter_bug name=form_name> </FORM><!-- 1.0@bugzilla.org -->
-<TABLE border=0>
- <TBODY>
- <TR>
- <TD vAlign=top bgColor=#000000>
- <TABLE cellSpacing=0 cellPadding=10 width="100%" bgColor=lightyellow
- border=0>
- <TBODY>
- <TR>
- <TD>This is <B>Bugzilla</B>: the Mozilla bug system. For more
- information about what Bugzilla is and what it can do, see <A
- href="http://www.bugzilla.org/">bugzilla.org</A>. <BR><!-- 1.0@bugzilla.org -->
- <FORM action=show_bug.cgi method=get>
- <TABLE width="100%">
- <TBODY>
- <TR>
- <TD>Actions: </TD>
- <TD vAlign=center noWrap><A
- href="https://bugs.eclipse.org/bugs/enter_bug.cgi">New</A> |
- <A href="https://bugs.eclipse.org/bugs/query.cgi">Query</A> | <INPUT type=submit value=Find> bug # <INPUT size=6 name=id> |
- <A
- href="https://bugs.eclipse.org/bugs/reports.cgi">Reports</A> |
- <A
- href="https://bugs.eclipse.org/bugs/votes.cgi?action=show_user">My
- Votes</A> </TD>
- <TD>&nbsp;</TD>
- <TD vAlign=center>Edit <A
- href="https://bugs.eclipse.org/bugs/userprefs.cgi">prefs</A> |
- <A
- href="https://bugs.eclipse.org/bugs/relogin.cgi">Log&nbsp;out</A>&nbsp;tanya@cs.ubc.ca
- </TD></TR>
- <TR>
- <TD>Preset&nbsp;Queries: </TD>
- <TD colSpan=3><A
- href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=tanya%40cs.ubc.ca&amp;emailtype1=exact&amp;emailassigned_to1=1&amp;emailreporter1=1">My&nbsp;Bugs</A>
- </TD></TR></TBODY></TABLE></FORM></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/gmt-page.html b/org.eclipse.mylyn.bugzilla.tests/testdata/pages/gmt-page.html
deleted file mode 100644
index 951b86ccd..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/gmt-page.html
+++ /dev/null
@@ -1,175 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- saved from url=(0055)https://bugs.eclipse.org/bugs/enter_bug.cgi?product=GMT -->
-<!-- 1.0@bugzilla.org --><!-- 1.0@bugzilla.org --><HTML><HEAD><TITLE>Enter Bug</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
-<BODY text=#000000 vLink=#551a8b aLink=#ff0000 link=#0000ee bgColor=#ffffff
-onload=""><!-- 1.0@bugzilla.org -->
-<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
- <TBODY>
- <TR>
- <TD width="100%">
- <TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#006699
- border=0><TBODY>
- <TR>
- <TD width=116 bgColor=#000000><IMG height=50
- src="GMT_files/EclipseBannerPic.jpg" width=115></TD>
- <TD width=637><A href="http://www.eclipse.org/"><IMG height=50
- src="GMT_files/gradient.jpg" width=282 border=0></A></TD>
- <TD width=250><IMG height=48 src="GMT_files/eproject-simple.gif"
- width=250></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
-<TABLE cellSpacing=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top align=left>
- <TABLE cellSpacing=2 cellPadding=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top noWrap align=left><FONT size=+1><B>Enter
- Bug</B></FONT> </TD></TR></TBODY></TABLE></TD>
- <TD vAlign=center>&nbsp;</TD>
- <TD vAlign=center align=left>This page lets you enter a new bug into
- Bugzilla.</TD></TR></TBODY></TABLE>
-<FORM action=post_bug.cgi method=post><INPUT type=hidden value=GMT name=product>
-
-<TABLE cellSpacing=2 cellPadding=0 border=0>
- <TBODY>
- <TR>
- <TD><BR></TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3><!-- 1.0@bugzilla.org -->Before reporting a bug, please read
- the <A href="https://bugs.eclipse.org/bugs/bugwritinghelp.html">bug
- writing guidelines</A>, please look at the list of <A
- href="https://bugs.eclipse.org/bugs/duplicates.cgi">most frequently
- reported bugs</A>, and please <A
- href="https://bugs.eclipse.org/bugs/query.cgi">search</A> for the bug.
- </TD></TR>
- <TR>
- <TD><BR></TD></TR>
- <TR>
- <TD vAlign=top align=right><STRONG>Reporter:</STRONG></TD>
- <TD vAlign=top>tanya@cs.ubc.ca</TD>
- <TD vAlign=top align=right><STRONG>Product:</STRONG></TD>
- <TD vAlign=top>GMT</TD></TR>
- <TR>
- <TD vAlign=top align=right><STRONG>Version:</STRONG> </TD>
- <TD><SELECT size=5 name=version> <OPTION value=unspecified
- selected>unspecified</OPTION></SELECT> </TD>
- <TD vAlign=top align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/describecomponents.cgi?product=GMT">Component</A>:
- </STRONG></TD>
- <TD><SELECT size=5 name=component> <OPTION value=Core
- selected>Core</OPTION></SELECT> </TD></TR>
- <TR>
- <TD>&nbsp;</TD>
- <TD colSpan=3></TD></TR>
- <TR>
- <TD align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#rep_platform">Platform</A>:
- </STRONG></TD>
- <TD><SELECT name=rep_platform> <OPTION value=All>All</OPTION> <OPTION
- value=Macintosh>Macintosh</OPTION> <OPTION value=PC selected>PC</OPTION>
- <OPTION value="Power PC">Power PC</OPTION> <OPTION
- value=Sun>Sun</OPTION> <OPTION value=Other>Other</OPTION></SELECT> </TD>
- <TD align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#op_sys">OS</A>:
- </STRONG></TD>
- <TD><SELECT name=op_sys> <OPTION value=All>All</OPTION> <OPTION
- value="AIX Motif">AIX Motif</OPTION> <OPTION value="Windows 95">Windows
- 95</OPTION> <OPTION value="Windows 98">Windows 98</OPTION> <OPTION
- value="Windows CE">Windows CE</OPTION> <OPTION
- value="Windows ME">Windows ME</OPTION> <OPTION
- value="Windows 2000">Windows 2000</OPTION> <OPTION
- value="Windows NT">Windows NT</OPTION> <OPTION value="Windows XP"
- selected>Windows XP</OPTION> <OPTION value="Windows All">Windows
- All</OPTION> <OPTION value="MacOS X">MacOS X</OPTION> <OPTION
- value=Linux>Linux</OPTION> <OPTION value=Linux-GTK>Linux-GTK</OPTION>
- <OPTION value=Linux-Motif>Linux-Motif</OPTION> <OPTION
- value=HP-UX>HP-UX</OPTION> <OPTION value=Neutrino>Neutrino</OPTION>
- <OPTION value=QNX-Photon>QNX-Photon</OPTION> <OPTION
- value=Solaris>Solaris</OPTION> <OPTION value="Unix All">Unix
- All</OPTION> <OPTION value=other>other</OPTION></SELECT> </TD></TR>
- <TR><INPUT type=hidden value=P3 name=priority>
- <TD align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#bug_severity">Severity</A>:
- </STRONG></TD>
- <TD><SELECT name=bug_severity> <OPTION value=blocker>blocker</OPTION>
- <OPTION value=critical>critical</OPTION> <OPTION
- value=major>major</OPTION> <OPTION value=normal selected>normal</OPTION>
- <OPTION value=minor>minor</OPTION> <OPTION
- value=trivial>trivial</OPTION> <OPTION
- value=enhancement>enhancement</OPTION></SELECT> </TD></TR>
- <TR>
- <TD>&nbsp;</TD>
- <TD colSpan=3></TD></TR><INPUT type=hidden value=NEW name=bug_status>
- <TR>
- <TD align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#assigned_to">Assigned
- To</A>: </STRONG></TD>
- <TD colSpan=3><INPUT size=32 name=assigned_to> (Leave blank to assign to
- default component owner) </TD></TR>
- <TR>
- <TD align=right><STRONG>Cc:</STRONG></TD>
- <TD colSpan=3><INPUT size=45 name=cc> </TD></TR>
- <TR>
- <TD>&nbsp;</TD>
- <TD colSpan=3></TD></TR>
- <TR>
- <TD colSpan=3><INPUT type=hidden size=60 name=bug_file_loc input> </TD></TR>
- <TR>
- <TD align=right><STRONG>Summary:</STRONG></TD>
- <TD colSpan=3><INPUT size=60 name=short_desc> </TD></TR>
- <TR>
- <TD vAlign=top align=right><STRONG>Description:</STRONG></TD>
- <TD colSpan=3><TEXTAREA name=comment rows=10 wrap=hard cols=80></TEXTAREA>
- <BR></TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3></TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3><INPUT onclick="if (this.form.short_desc.value == '') &#10; { alert('Please enter a summary sentence for this bug.'); &#10; return false; } return true;" type=submit value=" Commit ">
- &nbsp;&nbsp;&nbsp;&nbsp; <INPUT type=submit value="Remember values as bookmarkable template" name=maketemplate>
- </TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3><BR>We've made a guess at your operating system and
- platform. Please check them and, if we got it wrong, email
- webmaster@eclipse.org. </TD></TR></TBODY></TABLE><INPUT type=hidden
-value=enter_bug name=form_name> </FORM><!-- 1.0@bugzilla.org -->
-<TABLE border=0>
- <TBODY>
- <TR>
- <TD vAlign=top bgColor=#000000>
- <TABLE cellSpacing=0 cellPadding=10 width="100%" bgColor=lightyellow
- border=0>
- <TBODY>
- <TR>
- <TD>This is <B>Bugzilla</B>: the Mozilla bug system. For more
- information about what Bugzilla is and what it can do, see <A
- href="http://www.bugzilla.org/">bugzilla.org</A>. <BR><!-- 1.0@bugzilla.org -->
- <FORM action=show_bug.cgi method=get>
- <TABLE width="100%">
- <TBODY>
- <TR>
- <TD>Actions: </TD>
- <TD vAlign=center noWrap><A
- href="https://bugs.eclipse.org/bugs/enter_bug.cgi">New</A> |
- <A href="https://bugs.eclipse.org/bugs/query.cgi">Query</A> | <INPUT type=submit value=Find> bug # <INPUT size=6 name=id> |
- <A
- href="https://bugs.eclipse.org/bugs/reports.cgi">Reports</A> |
- <A
- href="https://bugs.eclipse.org/bugs/votes.cgi?action=show_user">My
- Votes</A> </TD>
- <TD>&nbsp;</TD>
- <TD vAlign=center>Edit <A
- href="https://bugs.eclipse.org/bugs/userprefs.cgi">prefs</A> |
- <A
- href="https://bugs.eclipse.org/bugs/relogin.cgi">Log&nbsp;out</A>&nbsp;tanya@cs.ubc.ca
- </TD></TR>
- <TR>
- <TD>Preset&nbsp;Queries: </TD>
- <TD colSpan=3><A
- href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=tanya%40cs.ubc.ca&amp;emailtype1=exact&amp;emailassigned_to1=1&amp;emailreporter1=1">My&nbsp;Bugs</A>
- </TD></TR></TBODY></TABLE></FORM></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/hipikat-copy-bug-1-full.html b/org.eclipse.mylyn.bugzilla.tests/testdata/pages/hipikat-copy-bug-1-full.html
deleted file mode 100644
index 6390fcc9a..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/hipikat-copy-bug-1-full.html
+++ /dev/null
@@ -1,157 +0,0 @@
-<HTML><HEAD>
-<TITLE>Bug 1 - Usability issue with external editors (1GE6IRL)</TITLE>
-
-
-</HEAD>
-<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000" >
-<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" ><tr><td
-WIDTH="100%"><table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%"
-BGCOLOR="#006699" ><tr><td BGCOLOR="#000000" width="116" ><img
-src="http://bugs.eclipse.org/bugs/images/EclipseBannerPic.jpg" width="115" height="50"></td><td
-WIDTH="637"><img SRC="http://bugs.eclipse.org/bugs/images/gradient.jpg" BORDER=0 height=50
-width=282></td><td WIDTH="250"><img src="http://bugs.eclipse.org/bugs/images/eproject-simple.gif"
-width="250" height="48"></td></tr></table></td></tr></table>
-
-<TABLE BORDER=0 CELLSPACING=0 WIDTH="100%">
- <TR>
- <TD WIDTH=10% VALIGN=TOP ALIGN=LEFT>
- <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=2>
- <TR><TD VALIGN=TOP ALIGN=LEFT NOWRAP>
- <FONT SIZE=+1><B>Bugzilla Bug 1</B></FONT> </TD></TR>
- </TABLE>
- </TD>
- <TD VALIGN=CENTER>&nbsp;</TD>
- <TD VALIGN=CENTER ALIGN=LEFT>
-Usability issue with external editors (1GE6IRL)
-</TD></TR></TABLE>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF=query.cgi>Query page</A>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF=enter_bug.cgi>Enter new bug</A>
-<HR>
-<FORM NAME="changeform" METHOD="POST" ACTION="process_bug.cgi">
-
-<INPUT TYPE=HIDDEN NAME="delta_ts" VALUE="20020427143827">
-<INPUT TYPE=HIDDEN NAME="longdesclength" VALUE="3022">
-<INPUT TYPE=HIDDEN NAME="id" VALUE=1>
- <TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR>
- <TD ALIGN=RIGHT><B>Bug#:</B></TD><TD><A HREF="http://cvs-mirror.mozilla.org/webtools/bugzilla/show_bug.cgi?id=1">1</A></TD>
- <TD>&nbsp;</TD>
- <TD ALIGN=RIGHT><B><A HREF="bug_status.html#rep_platform">Platform:</A></B></TD>
- <TD><SELECT NAME=rep_platform><OPTION VALUE="All">All<OPTION VALUE="DEC">DEC<OPTION VALUE="HP">HP<OPTION VALUE="Macintosh">Macintosh<OPTION VALUE="PC">PC<OPTION VALUE="SGI">SGI<OPTION VALUE="Sun">Sun<OPTION VALUE="Other">Other</SELECT></TD>
- <TD>&nbsp;</TD>
- <TD ALIGN=RIGHT><B>Reporter:</B></TD><TD>Andre_Weinand@oti.com (Andre Weinand)</TD>
-</TR><TR>
- <TD ALIGN=RIGHT><B>Product:</B></TD>
- <TD><SELECT NAME=product><OPTION VALUE="TestProduct">TestProduct</SELECT></TD>
- <TD>&nbsp;</TD>
- <TD ALIGN=RIGHT><B>OS:</B></TD>
- <TD><SELECT NAME=op_sys><OPTION SELECTED VALUE="All">All<OPTION VALUE="Windows 3.1">Windows 3.1<OPTION VALUE="Windows 95">Windows 95<OPTION VALUE="Windows 98">Windows 98<OPTION VALUE="Windows ME">Windows ME<OPTION VALUE="Windows 2000">Windows 2000<OPTION VALUE="Windows NT">Windows NT<OPTION VALUE="Mac System 7">Mac System 7<OPTION VALUE="Mac System 7.5">Mac System 7.5<OPTION VALUE="Mac System 7.6.1">Mac System 7.6.1<OPTION VALUE="Mac System 8.0">Mac System 8.0<OPTION VALUE="Mac System 8.5">Mac System 8.5<OPTION VALUE="Mac System 8.6">Mac System 8.6<OPTION VALUE="Mac System 9.0">Mac System 9.0<OPTION VALUE="Linux">Linux<OPTION VALUE="BSDI">BSDI<OPTION VALUE="FreeBSD">FreeBSD<OPTION VALUE="NetBSD">NetBSD<OPTION VALUE="OpenBSD">OpenBSD<OPTION VALUE="AIX">AIX<OPTION VALUE="BeOS">BeOS<OPTION VALUE="HP-UX">HP-UX<OPTION VALUE="IRIX">IRIX<OPTION VALUE="Neutrino">Neutrino<OPTION VALUE="OpenVMS">OpenVMS<OPTION VALUE="OS/2">OS/2<OPTION VALUE="OSF/1">OSF/1<OPTION VALUE="Solaris">Solaris<OPTION VALUE="SunOS">SunOS<OPTION VALUE="other">other</SELECT></TD>
- <TD>&nbsp;</TD>
- <TD ALIGN=RIGHT NOWRAP><b>Add CC:</b></TD>
- <TD><INPUT NAME=newcc SIZE=30 VALUE=""></TD>
-</TR><TR>
- <TD ALIGN=RIGHT><B><A HREF="describecomponents.cgi?product=">Component:</A></B></TD>
- <TD><SELECT NAME=component></SELECT></TD>
- <TD>&nbsp;</TD>
- <TD ALIGN=RIGHT><B>Version:</B></TD>
- <TD><SELECT NAME=version></SELECT></TD>
- <TD>&nbsp;</TD>
- <TD ROWSPAN=4 ALIGN=RIGHT VALIGN=TOP><B>Cc:</B></TD>
- <TD ROWSPAN=4 VALIGN=TOP> <SELECT NAME=cc MULTIPLE SIZE=5>
-<OPTION VALUE="Kevin_McGuire@oti.com">Kevin_McGuire@oti.com
-</SELECT><BR>
-<INPUT TYPE=CHECKBOX NAME=removecc>Remove selected CCs<br>
- </TD>
-</TR><TR>
- <TD ALIGN=RIGHT><B><A HREF="bug_status.html">Status:</A></B></TD>
- <TD>VERIFIED</TD>
- <TD>&nbsp;</TD>
- <TD ALIGN=RIGHT><B><A HREF="bug_status.html#priority">Priority:</A></B></TD>
- <TD><SELECT NAME=priority><OPTION VALUE="P1">P1<OPTION VALUE="P2">P2<OPTION SELECTED VALUE="P3">P3<OPTION VALUE="P4">P4<OPTION VALUE="P5">P5</SELECT></TD>
- <TD>&nbsp;</TD>
-</TR><TR>
- <TD ALIGN=RIGHT><B><A HREF="bug_status.html">Resolution:</A></B></TD>
- <TD>FIXED</TD>
- <TD>&nbsp;</TD>
- <TD ALIGN=RIGHT><B><A HREF="bug_status.html#severity">Severity:</A></B></TD>
- <TD><SELECT NAME=bug_severity><OPTION VALUE="blocker">blocker<OPTION VALUE="critical">critical<OPTION VALUE="major">major<OPTION SELECTED VALUE="normal">normal<OPTION VALUE="minor">minor<OPTION VALUE="trivial">trivial<OPTION VALUE="enhancement">enhancement</SELECT></TD>
- <TD>&nbsp;</TD>
-</TR><TR>
- <TD ALIGN=RIGHT><B><A HREF="bug_status.html#assigned_to">Assigned&nbsp;To:
- </A></B></TD>
- <TD>James_Moody@oti.com (James Moody)</TD>
- <TD>&nbsp;</TD><TD></TD><TD></TD><TD>&nbsp;</TD>
-</TR>
- <TR>
- <TD ALIGN="RIGHT"><B>URL:</B>
- <TD COLSPAN=7>
- <INPUT NAME=bug_file_loc VALUE="" SIZE=60></TD>
- </TR><TR>
- <TD ALIGN="RIGHT"><B>Summary:</B>
- <TD COLSPAN=7>
- <INPUT NAME=short_desc VALUE="Usability issue with external editors (1GE6IRL)" SIZE=60></TD>
- </TR><tr><td align=right><B>Attachments:</b></td>
-<td colspan=7><a href="createattachment.cgi?id=1">Create a new attachment</a> (proposed patch, testcase, etc.)</td></tr></table>
-<table><tr>
-<th align=right>Bug 1 depends on:</th><td></td><td><input name=dependson value=""></td>
-
-<td rowspan=2><a href="showdependencytree.cgi?id=1">Show dependency tree</a>
-
-<br><a href="showdependencygraph.cgi?id=1">Show dependency graph</a>
-</td></tr><tr><th align=right>Bug 1 blocks:</th><td></td><td><input name=blocked value=""></td>
-</tr></table>
-
-<br>
-<B>Additional Comments:</B>
-<BR>
-<TEXTAREA WRAP=HARD NAME=comment ROWS=10 COLS=80></TEXTAREA><BR><br>
-<INPUT TYPE=radio NAME=knob VALUE=none CHECKED>
- Leave as <b>VERIFIED FIXED</b><br><INPUT TYPE=radio NAME=knob VALUE=reopen> Reopen bug<br>
-<INPUT TYPE=radio NAME=knob VALUE=close>
- Mark bug as <b>CLOSED</b><br>
-
-<INPUT TYPE="submit" VALUE="Commit">
-<INPUT TYPE="reset" VALUE="Reset">
-<INPUT TYPE="hidden" name="form_name" VALUE="process_bug">
-<P>
-<FONT size="+1"><B>
- <A HREF="show_activity.cgi?id=1">View Bug Activity</A>
- &nbsp; | &nbsp;
- <A HREF="long_list.cgi?buglist=1">Format For Printing</A>
-</B></FONT>
-<BR></FORM>
-<table><tr><td align=left><B>Description:</B></td>
-<td align=right width=100%>Opened: 2001-10-10 17:34</td></tr></table>
-<HR>
-<PRE>- Setup a project that contains a *.gif resource&#013; - release project to CVS&#013; - edit the *.gif resource with an external editor, e.g. PaintShop&#013; - save and close external editor&#013; - in Navigator open the icon resource and verify that your changes are there&#013; - release project&#013; -&gt; nothing to release!&#013; - in Navigator open the icon resource and verify that your changes are still there&#013;&#013; Problem: because I never &quot;Refreshed from local&quot;, the workspace hasn't changed so &quot;Release&quot; didn't find anything.&#013; However opening the resource with an external editor found the modified file on disk and showed the changes.&#013;&#013; The real problem occurs if &quot;Release&quot; actually finds something to release but you don't spot that some resources are missing.&#013; This is extremely error prone: one of my changes didn't made it into build 110 because of this!&#013;&#013;NOTES:&#013;EG (5/23/01 3:00:33 PM)&#013; Release should do a refresh from local before doing the release.&#013; Moving to VCM&#013;&#013;&#013;KM (05/27/01 5:10:19 PM)&#013; Comments from JM in related email:&#013;&#013; Should not do this for free. Could have a setting which made it optoinal but should nt be mandatory. Default setting could be to have it on.&#013; Consider the SWT team who keep their workspaces on network drives. This will be slow. &#013;&#013; Side effects will be that a build runs when the refresh is completed unless you somehow do it in a workspace runnable and don't end the&#013; runnable until after the release. This would be less than optimal as some builders may be responsible for maintaining some invariants and deriving resources which are releasable. If you don't run the builders before releasing, the invariants will not be maintained and you will release inconsistent state.&#013;&#013; Summary: Offer to &quot;ensure local consistency&quot; before releasing.&#013;&#013;KM (5/31/01 1:30:35 PM)&#013; See also 1GEAG1A: ITPVCM:WINNT - Internal error comparing with a document&#013; which failed with an error. Never got log from Tod though.</PRE>
-<BR><BR><I>------- Additional Comments From <A HREF="mailto:James_Moody@oti.com">James Moody</A> 2001-10-19 06:32 -------</I><BR>
-<PRE>*** <strike><a href="show_bug.cgi?id=183" title="RESOLVED DUPLICATE - readme: must refresh from local if using external editors (1GFBQNI)">Bug 183</a></strike> has been marked as a duplicate of this bug. ***</PRE>
-<BR><BR><I>------- Additional Comments From <A HREF="mailto:James_Moody@oti.com">James Moody</A> 2001-10-19 12:36 -------</I><BR>
-<PRE>Implemented 'auto refresh' option. Default value is off.</PRE>
-<BR><BR><I>------- Additional Comments From <A HREF="mailto:DJ_Houghton@oti.com">DJ Houghton</A> 2001-10-23 19:39 -------</I><BR>
-<PRE>PRODUCT VERSION:&#013; 109&#013;&#013;</PRE>
-<BR><BR><I>------- Additional Comments From <A HREF="mailto:James_Moody@oti.com">James Moody</A> 2001-10-25 06:19 -------</I><BR>
-<PRE>Fixed in v206</PRE>
-
-<HR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF=query.cgi>Query page</A>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF=enter_bug.cgi>Enter new bug</A>
-<hr>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a HREF=query.cgi>Query page</a>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a HREF=enter_bug.cgi>Enter new bug</a>
-<table BORDER="0"><tr><td BGCOLOR="#000000" VALIGN="TOP">
-<table BORDER="0" CELLPADDING="10" CELLSPACING="0" WIDTH="100%"
-BGCOLOR="lightyellow">
-<tr><td>
-<form METHOD=GET ACTION="show_bug.cgi">
-<table width="100%"><tr><td>
-Actions:
-</td><td VALIGN="middle" NOWRAP>
-<a href='enter_bug.cgi'>New</a> | <a href='query.cgi'>Query</a> |
- <input TYPE=SUBMIT VALUE="Find"> bug # <input NAME=id SIZE=6> | <a
-href='reports.cgi'>Reports</a></td><td>&nbsp;</td><td valign=middle align=right>
-
- <a href="createaccount.cgi"><nobr>New account</nobr></a>
- | <nobr><a href=query.cgi?GoAheadAndLogIn=1>Log in</a></nobr></td></tr></form>
-</table><br>
-<a HREF="index.html">Eclipse Bugs Home</a>
-</td></tr>
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/platform-page.html b/org.eclipse.mylyn.bugzilla.tests/testdata/pages/platform-page.html
deleted file mode 100644
index d41b5c84d..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/platform-page.html
+++ /dev/null
@@ -1,299 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><!-- 1.0@bugzilla.org --><!-- 1.0@bugzilla.org --><title>Enter Bug</title></head>
-
-
-
-
-
-
-
-
- <body bgcolor="#ffffff" onload="" text="#000000" link="#0000ee" vlink="#551a8b" alink="#ff0000">
-
-
-<!-- 1.0@bugzilla.org -->
-
-
-
-
-
-<table border="0" cellspacing="0" cellpadding="0" width="100%"><tbody><tr><td width="100%"><table border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="#006699"><tbody><tr><td bgcolor="#000000" width="116"><img src="main_data/EclipseBannerPic.jpg" width="115" height="50"></td><td width="637"><a href="http://www.eclipse.org/"><img src="main_data/gradient.jpg" border="0" height="50" width="282"></a></td><td width="250"><img src="main_data/eproject-simple.gif" width="250" height="48"></td></tr></tbody></table></td></tr></tbody></table>
-
- <table border="0" cellspacing="0">
- <tbody><tr>
- <td valign="top" align="left">
- <table border="0" cellpadding="0" cellspacing="2">
- <tbody><tr>
- <td valign="top" align="left" nowrap="nowrap">
- <font size="+1"><b>Enter Bug</b></font>
- </td>
- </tr>
- </tbody></table>
- </td>
- <td valign="middle">&nbsp;</td>
- <td valign="middle" align="left">This page lets you enter a new bug into Bugzilla.</td>
- </tr>
- </tbody></table>
-
-<form method="post" action="post_bug.cgi">
-<input type="hidden" name="product" value="Platform">
-
-<input type="hidden" name="priority" value="P3">
-<input type="hidden" name="bug_status" value="NEW">
-
- <table cellspacing="2" cellpadding="0" border="0">
-
- <tbody><tr>
- <td><br></td>
- </tr>
-
- <tr>
- <td></td>
- <td colspan="3">
- <!-- 1.0@bugzilla.org -->
-
-
-
-
-
-
-Before reporting a bug, please read the <a href="https://bugs.eclipse.org/bugs/bugwritinghelp.html">
-bug writing guidelines</a>, please look at the list of
-<a href="https://bugs.eclipse.org/bugs/duplicates.cgi">most frequently reported bugs</a>, and please
-<a href="https://bugs.eclipse.org/bugs/query.cgi">search</a> for the bug.
- </td>
- </tr>
-
- <tr>
- <td><br></td>
- </tr>
-
- <tr>
- <td align="right" valign="top"><strong>Reporter:</strong></td>
- <td valign="top">tanya@cs.ubc.ca</td>
-
- <td align="right" valign="top"><strong>Product:</strong></td>
- <td valign="top">Platform</td>
- </tr>
-
-
- <tr>
- <td align="right" valign="top">
- <strong>Version:</strong>
- </td>
- <td>
- <select name="version" size="5"><option value="1.0">1.0 </option><option value="2.0">2.0 </option><option value="2.0.1">2.0.1 </option><option value="2.0.2">2.0.2 </option><option value="2.1">2.1 </option><option value="2.1.1">2.1.1 </option><option value="2.1.2">2.1.2 </option><option value="3.0" selected="selected">3.0 </option></select>
- </td>
-
- <td align="right" valign="top">
- <strong>
- <a href="https://bugs.eclipse.org/bugs/describecomponents.cgi?product=Platform">
- Component</a>:
- </strong>
- </td>
- <td>
- <select name="component" size="5"><option value="Ant">Ant </option><option value="Compare">Compare </option><option value="Core">Core </option><option value="CVS">CVS </option><option value="Debug">Debug </option><option value="Doc">Doc </option><option value="Help">Help </option><option value="Releng">Releng </option><option value="Scripting">Scripting </option><option value="Search">Search </option><option value="SWT">SWT </option><option value="Team">Team </option><option value="Text">Text </option><option value="UI">UI </option><option value="Update">Update </option><option value="WebDAV">WebDAV </option></select>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td colspan="3"></td>
- </tr>
-
- <tr><td align="right">
- <strong>
- <a href="https://bugs.eclipse.org/bugs/bug_status.html#rep_platform">Platform</a>:
- </strong>
- </td>
-
- <td>
- <select name="rep_platform"><option value="All">All </option><option value="Macintosh">Macintosh </option><option value="PC" selected="selected">PC </option><option value="Power PC">Power PC </option><option value="Sun">Sun </option><option value="Other">Other </option></select>
- </td>
- <td align="right">
- <strong>
- <a href="https://bugs.eclipse.org/bugs/bug_status.html#op_sys">OS</a>:
- </strong>
- </td>
-
- <td>
- <select name="op_sys"><option value="All">All </option><option value="AIX Motif">AIX Motif </option><option value="Windows 95">Windows 95 </option><option value="Windows 98">Windows 98 </option><option value="Windows CE">Windows CE </option><option value="Windows ME">Windows ME </option><option value="Windows 2000">Windows 2000 </option><option value="Windows NT">Windows NT </option><option value="Windows XP" selected="selected">Windows XP </option><option value="Windows All">Windows All </option><option value="MacOS X">MacOS X </option><option value="Linux">Linux </option><option value="Linux-GTK">Linux-GTK </option><option value="Linux-Motif">Linux-Motif </option><option value="HP-UX">HP-UX </option><option value="Neutrino">Neutrino </option><option value="QNX-Photon">QNX-Photon </option><option value="Solaris">Solaris </option><option value="Unix All">Unix All </option><option value="other">other </option></select>
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <strong>
- <a href="https://bugs.eclipse.org/bugs/bug_status.html#bug_severity">Severity</a>:
- </strong>
- </td>
-
- <td>
- <select name="bug_severity"><option value="blocker">blocker </option><option value="critical">critical </option><option value="major">major </option><option value="normal" selected="selected">normal </option><option value="minor">minor </option><option value="trivial">trivial </option><option value="enhancement">enhancement </option></select>
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td colspan="3"></td>
- </tr>
-
- <tr>
- <td align="right">
- <strong>
- <a href="https://bugs.eclipse.org/bugs/bug_status.html#assigned_to">Assigned To</a>:
- </strong>
- </td>
- <td colspan="3">
- <input name="assigned_to" size="32" value="">
- (Leave blank to assign to default component owner)
- </td>
- </tr>
-
- <tr>
- <td align="right"><strong>Cc:</strong></td>
- <td colspan="3">
- <input name="cc" size="45" value="">
- </td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td colspan="3"></td>
- </tr>
-
- <tr>
- <td colspan="3">
- <input type="hidden" input="" name="bug_file_loc" size="60" value="">
- </td>
- </tr>
-
- <tr>
- <td align="right"><strong>Summary:</strong></td>
- <td colspan="3">
- <input name="short_desc" size="60" value="">
- </td>
- </tr>
-
- <tr><td align="right" valign="top"><strong>Description:</strong></td>
- <td colspan="3">
- <textarea wrap="hard" name="comment" rows="10" cols="80"></textarea>
- <br>
- </td>
- </tr>
-
- <tr>
- <td></td>
- <td colspan="3">
- </td>
- </tr>
-
- <tr>
- <td></td>
- <td colspan="3">
- <input type="submit" value=" Commit " onclick="if (this.form.short_desc.value == '')
- { alert('Please enter a summary sentence for this bug.');
- return false; } return true;">
- &nbsp;&nbsp;&nbsp;&nbsp;
- <input type="submit" name="maketemplate" value="Remember values as bookmarkable template">
- </td>
- </tr>
-
- <tr>
- <td></td>
- <td colspan="3">
- <br>
- We've made a guess at your operating system and platform.
- Please check them and, if we got it wrong, email webmaster@eclipse.org.
- </td>
- </tr>
-
- </tbody></table>
- <input type="hidden" name="form_name" value="enter_bug">
-</form>
-<!-- 1.0@bugzilla.org -->
-
-
-
-
-
-
-<table border="0">
- <tbody><tr>
- <td bgcolor="#000000" valign="top">
- <table border="0" cellpadding="10" cellspacing="0" width="100%" bgcolor="lightyellow">
- <tbody><tr>
- <td>
-
-
-
- This is <b>Bugzilla</b>: the Mozilla bug system. For more
- information about what Bugzilla is and what it can do, see
- <a href="http://www.bugzilla.org/">bugzilla.org</a>.
-
-
-
- <br>
-
-
-<!-- 1.0@bugzilla.org -->
-
-
-
-
-
-
-<form method="get" action="show_bug.cgi">
- <table width="100%">
- <tbody><tr>
- <td>
- Actions:
- </td>
-
- <td valign="middle" nowrap="nowrap">
- <a href="https://bugs.eclipse.org/bugs/enter_bug.cgi">New</a> |
- <a href="https://bugs.eclipse.org/bugs/query.cgi">Query</a> |
-
- <input type="submit" value="Find"> bug #
- <input name="id" size="6"> |
-
- <a href="https://bugs.eclipse.org/bugs/reports.cgi">Reports</a>
-
- | <a href="https://bugs.eclipse.org/bugs/votes.cgi?action=show_user">My Votes</a>
- </td>
-
- <td>&nbsp;</td>
-
-
- <td valign="middle">
- Edit <a href="https://bugs.eclipse.org/bugs/userprefs.cgi">prefs</a>
-
- | <a href="https://bugs.eclipse.org/bugs/relogin.cgi">Log&nbsp;out</a>&nbsp;tanya@cs.ubc.ca
- </td>
- </tr>
-
-
-
-
- <tr>
- <td>
- Preset&nbsp;Queries:
- </td>
-
- <td colspan="3">
- <a href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=tanya%40cs.ubc.ca&amp;emailtype1=exact&amp;emailassigned_to1=1&amp;emailreporter1=1">My&nbsp;Bugs</a>
-
- </td>
- </tr>
-
-
- </tbody></table>
-</form>
-
- </td>
- </tr>
- </tbody></table>
- </td>
- </tr>
-</tbody></table>
-
-</body></html> \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/product-page-1-product-hipikat.html b/org.eclipse.mylyn.bugzilla.tests/testdata/pages/product-page-1-product-hipikat.html
deleted file mode 100644
index 53805b2d2..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/product-page-1-product-hipikat.html
+++ /dev/null
@@ -1,256 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- saved from url=(0073)http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/enter_bug.cgi -->
-<!-- 1.0@bugzilla.org --><!-- 1.0@bugzilla.org --><HTML><HEAD><TITLE>Enter Bug</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=windows-1252"><!-- 1.0@bugzilla.org --><!-- 1.0@bugzilla.org -->
-<SCRIPT
-type=text/javascript>
- <!--
-
- function initHelp() {}
- // -->
- </SCRIPT>
-
-<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
-<BODY bgColor=#ffffff onload=set_assign_to();><!-- 1.0@bugzilla.org -->
-<TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#000000 border=0>
- <TBODY>
- <TR>
- <TD>
- <CENTER><FONT color=#ffffff size=8>This is Bugzilla
- </FONT></CENTER></TD></TR></TBODY></TABLE>
-<CENTER><FONT size=-1><A href="http://www.bugzilla.org/">Bugzilla</A> Version
-2.17.6 </FONT></CENTER>
-<TABLE cellSpacing=0 width="100%" border=0>
- <TBODY>
- <TR>
- <TD vAlign=top align=left>
- <TABLE cellSpacing=2 cellPadding=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top noWrap align=left><FONT size=+1><B>Enter
- Bug</B></FONT> </TD></TR></TBODY></TABLE></TD>
- <TD vAlign=center align=left>&nbsp;</TD>
- <TD vAlign=center align=left>This page lets you enter a new bug into
- Bugzilla.</TD></TR></TBODY></TABLE>
-<SCRIPT language=JavaScript type=text/javascript>
-<!--
-
-var default_owners = new Array(1);
-var components = new Array(1);
- components[0] = "TestComponent";
- default_owners[0] = "cubranic\x40cs.ubc.ca";
-var last_default_owner;
-function set_assign_to() {
- // Based on the selected component, fill the "Assign To:" field
- // with the default component owner.
- var form = document.Create;
- assigned_to = form.assigned_to.value
- var index = -1;
- if (form.component.type == 'select-one') {
- index = form.component.selectedIndex;
- } else if (form.component.type == 'hidden') {
- // Assume there is only one component in the list
- index = 0;
- }
- if (index != -1) {
- var owner = default_owners[index];
- var component = components[index];
- if (assigned_to == last_default_owner
- || assigned_to == owner
- || assigned_to == ''
- || confirm('Would you like to change\n\n' +
- ' "Assign To: ' + assigned_to + '"\n\n' +
- 'to the default "' + component + '" owner:\n\n' +
- ' ' + owner + "?")) {
- form.assigned_to.value = owner;
- last_default_owner = owner;
- }
- }
-}
--->
-</SCRIPT>
-
-<FORM id=Create name=Create action=post_bug.cgi method=post><INPUT type=hidden
-value=TestProduct name=product>
-<TABLE cellSpacing=2 cellPadding=0 border=0>
- <TBODY>
- <TR>
- <TD><BR></TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3><!-- 1.0@bugzilla.org -->Before reporting a bug, please read
- the <A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/bugwritinghelp.html">bug
- writing guidelines</A>, please look at the list of <A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/duplicates.cgi">most
- frequently reported bugs</A>, and please <A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/query.cgi">search</A>
- for the bug. </TD></TR>
- <TR>
- <TD><BR></TD></TR>
- <TR>
- <TD vAlign=top align=right><STRONG>Reporter:</STRONG></TD>
- <TD vAlign=top>tanya@cs.ubc.ca</TD>
- <TD vAlign=top align=right><STRONG>Product:</STRONG></TD>
- <TD vAlign=top>TestProduct</TD></TR>
- <TR>
- <TD vAlign=top align=right><STRONG>Version:</STRONG> </TD>
- <TD><SELECT size=5 name=version> <OPTION value=other
- selected>other</OPTION></SELECT> </TD>
- <TD vAlign=top align=right><STRONG><A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/describecomponents.cgi?product=TestProduct">Component</A>:
- </STRONG></TD>
- <TD><SELECT onchange=set_assign_to(); size=5 name=component> <OPTION
- value=TestComponent selected>TestComponent</OPTION></SELECT> </TD></TR>
- <TR>
- <TD>&nbsp;</TD>
- <TD colSpan=3></TD></TR>
- <TR>
- <TD align=right><STRONG><A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/bug_status.html#rep_platform">Platform</A>:
- </STRONG></TD>
- <TD><SELECT name=rep_platform> <OPTION value=All>All</OPTION> <OPTION
- value=DEC>DEC</OPTION> <OPTION value=HP>HP</OPTION> <OPTION
- value=Macintosh>Macintosh</OPTION> <OPTION value=PC selected>PC</OPTION>
- <OPTION value=SGI>SGI</OPTION> <OPTION value=Sun>Sun</OPTION> <OPTION
- value=Other>Other</OPTION></SELECT> </TD>
- <TD align=right><STRONG><A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/bug_status.html#op_sys">OS</A>:
- </STRONG></TD>
- <TD><SELECT name=op_sys> <OPTION value=All>All</OPTION> <OPTION
- value="Windows 3.1">Windows 3.1</OPTION> <OPTION
- value="Windows 95">Windows 95</OPTION> <OPTION
- value="Windows 98">Windows 98</OPTION> <OPTION
- value="Windows ME">Windows ME</OPTION> <OPTION
- value="Windows 2000">Windows 2000</OPTION> <OPTION
- value="Windows NT">Windows NT</OPTION> <OPTION value="Windows XP"
- selected>Windows XP</OPTION> <OPTION value="Windows Server 2003">Windows
- Server 2003</OPTION> <OPTION value="Mac System 7">Mac System 7</OPTION>
- <OPTION value="Mac System 7.5">Mac System 7.5</OPTION> <OPTION
- value="Mac System 7.6.1">Mac System 7.6.1</OPTION> <OPTION
- value="Mac System 8.0">Mac System 8.0</OPTION> <OPTION
- value="Mac System 8.5">Mac System 8.5</OPTION> <OPTION
- value="Mac System 8.6">Mac System 8.6</OPTION> <OPTION
- value="Mac System 9.x">Mac System 9.x</OPTION> <OPTION
- value="Mac OS X 10.0">Mac OS X 10.0</OPTION> <OPTION
- value="Mac OS X 10.1">Mac OS X 10.1</OPTION> <OPTION
- value="Mac OS X 10.2">Mac OS X 10.2</OPTION> <OPTION
- value=Linux>Linux</OPTION> <OPTION value=BSD/OS>BSD/OS</OPTION> <OPTION
- value=FreeBSD>FreeBSD</OPTION> <OPTION value=NetBSD>NetBSD</OPTION>
- <OPTION value=OpenBSD>OpenBSD</OPTION> <OPTION value=AIX>AIX</OPTION>
- <OPTION value=BeOS>BeOS</OPTION> <OPTION value=HP-UX>HP-UX</OPTION>
- <OPTION value=IRIX>IRIX</OPTION> <OPTION
- value=Neutrino>Neutrino</OPTION> <OPTION value=OpenVMS>OpenVMS</OPTION>
- <OPTION value=OS/2>OS/2</OPTION> <OPTION value=OSF/1>OSF/1</OPTION>
- <OPTION value=Solaris>Solaris</OPTION> <OPTION
- value=SunOS>SunOS</OPTION> <OPTION value=other>other</OPTION></SELECT>
- </TD></TR>
- <TR>
- <TD align=right><STRONG><A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/bug_status.html#priority">Priority</A>:
- </STRONG></TD>
- <TD><SELECT name=priority> <OPTION value=P1>P1</OPTION> <OPTION value=P2
- selected>P2</OPTION> <OPTION value=P3>P3</OPTION> <OPTION
- value=P4>P4</OPTION> <OPTION value=P5>P5</OPTION></SELECT> </TD>
- <TD align=right><STRONG><A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/bug_status.html#bug_severity">Severity</A>:
- </STRONG></TD>
- <TD><SELECT name=bug_severity> <OPTION value=blocker>blocker</OPTION>
- <OPTION value=critical>critical</OPTION> <OPTION
- value=major>major</OPTION> <OPTION value=normal selected>normal</OPTION>
- <OPTION value=minor>minor</OPTION> <OPTION
- value=trivial>trivial</OPTION> <OPTION
- value=enhancement>enhancement</OPTION></SELECT> </TD></TR>
- <TR>
- <TD>&nbsp;</TD>
- <TD colSpan=3></TD></TR><INPUT type=hidden value=NEW name=bug_status>
- <TR>
- <TD align=right><STRONG><A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/bug_status.html#assigned_to">Assign
- To</A>: </STRONG></TD>
- <TD colSpan=3><INPUT size=32 name=assigned_to> <NOSCRIPT>(Leave blank to
- assign to default component owner)</NOSCRIPT> </TD></TR>
- <TR>
- <TD align=right><STRONG>Cc:</STRONG></TD>
- <TD colSpan=3><INPUT size=45 name=cc> </TD></TR>
- <TR>
- <TD>&nbsp;</TD>
- <TD colSpan=3></TD></TR>
- <TR>
- <TD align=right><STRONG>URL:</STRONG></TD>
- <TD colSpan=3><INPUT size=60 value=http:// name=bug_file_loc> </TD></TR>
- <TR>
- <TD align=right><STRONG>Summary:</STRONG></TD>
- <TD colSpan=3><INPUT size=60 name=short_desc> </TD></TR>
- <TR>
- <TD vAlign=top align=right><STRONG>Description:</STRONG></TD>
- <TD colSpan=3><TEXTAREA name=comment rows=10 wrap=hard cols=80></TEXTAREA>
- <BR></TD></TR>
- <TR>
- <TD vAlign=top align=right><STRONG><A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/describekeywords.cgi">Keywords</A>:
- </STRONG></TD>
- <TD colSpan=3><INPUT size=60 name=keywords> (optional) </TD></TR>
- <TR>
- <TD align=right><STRONG>Depends on:</STRONG> </TD>
- <TD><INPUT accessKey=d name=dependson> </TD></TR>
- <TR>
- <TD align=right><STRONG>Blocks:</STRONG> </TD>
- <TD><INPUT accessKey=b name=blocked> </TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3></TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3><INPUT onclick="if (this.form.short_desc.value == '')&#10; { alert('Please enter a summary sentence for this bug.');&#10; return false; } return true;" type=submit value=" Commit ">
- &nbsp;&nbsp;&nbsp;&nbsp; <INPUT type=submit value="Remember values as bookmarkable template" name=maketemplate>
- </TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3><BR>We've made a guess at your operating system and
- platform. Please check them and, if we got it wrong, emailTHE MAINTAINER
- HAS NOT YET BEEN SET. </TD></TR></TBODY></TABLE><INPUT type=hidden
-value=enter_bug name=form_name> </FORM><!-- 1.0@bugzilla.org --><!-- 1.0@bugzilla.org -->
-<TABLE border=0>
- <TBODY>
- <TR>
- <TD vAlign=top bgColor=#000000>
- <TABLE cellSpacing=0 cellPadding=10 width="100%" bgColor=lightyellow
- border=0>
- <TBODY>
- <TR>
- <TD><!-- 1.0@bugzilla.org -->
- <FORM action=show_bug.cgi method=get>
- <TABLE width="100%">
- <TBODY>
- <TR>
- <TD>Actions: </TD>
- <TD vAlign=center noWrap><A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/enter_bug.cgi">New</A>
- | <A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/query.cgi">Search</A>
- | <INPUT type=submit value=Find> bug # <INPUT size=6 name=id>
- | <A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/report.cgi">Reports</A>
- | <A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/request.cgi?requester=tanya%40cs.ubc.ca&amp;requestee=tanya%40cs.ubc.ca&amp;do_union=1&amp;group=type">My
- Requests</A> | <A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/votes.cgi?action=show_user">My
- Votes</A> </TD>
- <TD>&nbsp;</TD>
- <TD vAlign=center>Edit <A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/userprefs.cgi">prefs</A>,
- <A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/editproducts.cgi">products</A>,
- <A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/editflagtypes.cgi">flags</A>,
- <A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/editkeywords.cgi">keywords</A>
- | <A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/relogin.cgi">Log&nbsp;out</A>&nbsp;tanya@cs.ubc.ca
- </TD></TR>
- <TR>
- <TD>Saved&nbsp;Searches: </TD>
- <TD colSpan=3><A
- href="http://hipikat.cs.ubc.ca:8081/bugzilla-test/bugzilla-2.17.6/buglist.cgi?bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=tanya%40cs.ubc.ca&amp;emailtype1=exact&amp;emailassigned_to1=1&amp;emailreporter1=1">My&nbsp;Bugs</A>
- </TD></TR></TBODY></TABLE></FORM></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/test-report-220.html b/org.eclipse.mylyn.bugzilla.tests/testdata/pages/test-report-220.html
deleted file mode 100644
index 6e8adde46..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/test-report-220.html
+++ /dev/null
@@ -1,667 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <title>Bug 7 - summary</title>
-
-
-
-
-
-
- <script type="text/javascript">
- <!--
-
- function initHelp() {}
- // -->
- </script>
-
- <link href="skins/standard/global.css" rel="stylesheet" type="text/css">
- <link href="skins/custom/global.css" rel="stylesheet" type="text/css">
-
-
-
-
-
- </head>
-
-
-
- <body onload=""
- class="you-havent-visited-editparams-cgi-yet bz_bug bz_status_NEW bz_component_TestComponent bz_bug_7">
-
-
-<div id="banner">
- <div class="intro"></div>
- <p id="banner-name">
- <span>This is Bugzilla</span>
- </p>
- <p id="banner-version">
- <a href="http://www.bugzilla.org/"><span>Bugzilla</span></a>
- <span>Version 2.20</span>
- </p>
- <div class="outro"></div>
- </div>
-
-<div id="header">
- <h1>Bugzilla Bug 7</h1>
-
- <h2>summary</h2>
-
- <h3>Last modified: 2006-02-21 16:34:29</h3>
-</div>
-<i><font color="#777777">First</font></i>
- <i><font color="#777777">Last</font></i>
- <i><font color="#777777">Prev</font></i>
- <i><font color="#777777">Next</font></i>
- &nbsp;&nbsp;
- <i><font color="#777777">No search results available</font></i>
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="query.cgi">Search page</a>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="enter_bug.cgi">Enter new bug</a>
-
-<hr>
-<script type="text/javascript">
- <!--
-
- /* Outputs a link to call replyToComment(); used to reduce HTML output */
- function addReplyLink(id) {
- /* XXX this should really be updated to use the DOM Core's
- * createElement, but finding a container isn't trivial */
- document.write('[<a href="#add_comment" onclick="replyToComment(' +
- id + ');">reply<' + '/a>]');
- }
-
- /* Adds the reply text to the `comment' textarea */
- function replyToComment(id) {
- /* pre id="comment_name_N" */
- var text_elem = document.getElementById('comment_text_'+id);
- var text = getText(text_elem);
-
- /* make sure we split on all newlines -- IE or Moz use \r and \n
- * respectively */
- text = text.split(/\r|\n/);
-
- var replytext = "";
- for (var i=0; i < text.length; i++) {
- replytext += "> " + text[i] + "\n";
- }
-
- replytext = "(In reply to comment #" + id + ")\n" + replytext + "\n";
-
-
- /* <textarea id="comment"> */
- var textarea = document.getElementById('comment');
- textarea.value += replytext;
-
- textarea.focus();
- }
-
- if (!Node) {
- /* MSIE doesn't define Node, so provide a compatibility array */
- var Node = {
- TEXT_NODE: 3,
- ENTITY_REFERENCE_NODE: 5
- };
- }
-
- /* Concatenates all text from element's childNodes. This is used
- * instead of innerHTML because we want the actual text (and
- * innerText is non-standard) */
- function getText(element) {
- var child, text = "";
- for (var i=0; i < element.childNodes.length; i++) {
- child = element.childNodes[i];
- var type = child.nodeType;
- if (type == Node.TEXT_NODE || type == Node.ENTITY_REFERENCE_NODE) {
- text += child.nodeValue;
- } else {
- /* recurse into nodes of other types */
- text += getText(child);
- }
- }
- return text;
- }
-
-
- //-->
- </script>
-
-<form name="changeform" method="post" action="process_bug.cgi">
-
- <input type="hidden" name="delta_ts" value="2006-02-21 16:34:29">
- <input type="hidden" name="longdesclength" value="2">
- <input type="hidden" name="id" value="7">
-
-
-
- <table>
-
- <tr>
- <td valign="top">
- <table cellspacing="1" cellpadding="1">
-
- <tr>
- <td align="right">
- <b>Bug#:</b>
- </td>
- <td>
- <a href="http://you-havent-visited-editparams.cgi-yet/show_bug.cgi?id=7">7</a>
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b><u>P</u>roduct:</b>
- </td><td>
- <label for="product" accesskey="p">
- <select name="product" id="product">
- <option value="TestProduct" selected>TestProduct
- </option>
- </select>
- </label>
- </td>
- <td>&nbsp;</td>
- </tr>
-
-
-
- <tr>
- <td align="right">
- <b>
- <a href="describecomponents.cgi?product=TestProduct">
- Co<u>m</u>ponent</a>:
- </b>
- </td><td>
- <label for="component" accesskey="m">
- <select name="component" id="component">
- <option value="TestComponent" selected>TestComponent
- </option>
- </select>
- </label>
- </td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td align="right">
- <b>
- <a href="page.cgi?id=fields.html#status">Status</a>:
- </b>
- </td>
- <td>NEW</td>
- </tr>
-
- <tr>
- <td align="right">
- <b>
- <a href="page.cgi?id=fields.html#resolution">Resolution</a>:
- </b>
- </td>
- <td>
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b>
- <a href="page.cgi?id=fields.html#assigned_to">Assigned&nbsp;To</a>:
- </b>
- </td>
- <td>Robert Elves &lt;relves&#64;cs.ubc.ca&gt;</td>
- </tr>
-
- </table>
-
- </td>
- <td valign="top">
-
- <table cellspacing="1" cellpadding="1">
-
- <tr>
- <td align="right">
- <b><u>H</u>ardware:</b>
- </td><td>
- <label for="rep_platform" accesskey="h">
- <select name="rep_platform" id="rep_platform">
- <option value="All">All
- </option>
- <option value="PC" selected>PC
- </option>
- <option value="Macintosh">Macintosh
- </option>
- <option value="Other">Other
- </option>
- </select>
- </label>
- </td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td align="right">
- <b><u>O</u>S:</b>
- </td><td>
- <label for="op_sys" accesskey="o">
- <select name="op_sys" id="op_sys">
- <option value="All">All
- </option>
- <option value="Windows">Windows
- </option>
- <option value="Mac OS">Mac OS
- </option>
- <option value="Linux">Linux
- </option>
- <option value="Other" selected>Other
- </option>
- </select>
- </label>
- </td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td align="right">
- <b><u>V</u>ersion:</b>
- </td><td>
- <label for="version" accesskey="v">
- <select name="version" id="version">
- <option value="other" selected>other
- </option>
- </select>
- </label>
- </td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td align="right">
- <b><a href="page.cgi?id=fields.html#priority">Pr<u>i</u>ority</a>:</b>
- </td><td>
- <label for="priority" accesskey="i">
- <select name="priority" id="priority">
- <option value="P1">P1
- </option>
- <option value="P2" selected>P2
- </option>
- <option value="P3">P3
- </option>
- <option value="P4">P4
- </option>
- <option value="P5">P5
- </option>
- </select>
- </label>
- </td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td align="right">
- <b><a href="page.cgi?id=fields.html#bug_severity">S<u>e</u>verity</a>:</b>
- </td><td>
- <label for="bug_severity" accesskey="e">
- <select name="bug_severity" id="bug_severity">
- <option value="blocker">blocker
- </option>
- <option value="critical">critical
- </option>
- <option value="major">major
- </option>
- <option value="normal" selected>normal
- </option>
- <option value="minor">minor
- </option>
- <option value="trivial">trivial
- </option>
- <option value="enhancement">enhancement
- </option>
- </select>
- </label>
- </td>
- <td>&nbsp;</td>
- </tr>
-
-
- </table>
- </td>
-
- <td valign="top">
-
- <table cellpadding="1" cellspacing="1">
-
- <tr>
- <td align="right">
- <b>Reporter:</b>
- </td>
- <td>
- <a href="mailto:relves&#64;cs.ubc.ca">Robert Elves &lt;relves&#64;cs.ubc.ca&gt;</a>
- </td>
- </tr>
-
- <tr>
- <td align="right" valign="top">
- <b><u>A</u>dd&nbsp;CC:</b>
- </td>
- <td><input
- name="newcc"
- value="" accesskey="a" size="30"
->
- </td>
- </tr>
-
- <tr>
- <td align="right" valign="top">
- <b>CC:</b>
- </td>
- <td valign="top">
- <select name="cc" multiple="multiple" size="5">
- <option value="relves&#64;cs.ubc.ca">relves&#64;cs.ubc.ca</option>
- </select>
- <br>
- <input type="checkbox" name="removecc">Remove selected CCs
- <br>
- </td>
- </tr>
-
- </table>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2">
- <table cellspacing="1" cellpadding="1">
-
-
-
-
- <tr>
- <td align="right">
- <b>
- <u>U</u>RL:
- </b>
- </td>
- <td colspan="5">
- <input name="bug_file_loc" accesskey="u"
- value="" size="60">
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b><u>S</u>ummary:</b>
- </td>
- <td colspan="5">
- <input name="short_desc" accesskey="s"
- value="summary" size="60">
- </td>
- </tr>
-
-
-
- </table>
- </td>
-
- <td valign="top">
- <table cellspacing="1" cellpadding="1">
- <tr>
- <td colspan="2" valign="top">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
-
-
-
-<br>
-<table cellspacing="0" cellpadding="4" border="1">
- <tr>
- <th bgcolor="#cccccc" align="left">Attachment</th>
- <th bgcolor="#cccccc" align="left">Type</th>
- <th bgcolor="#cccccc" align="left">Created</th>
- <th bgcolor="#cccccc" align="left">Size</th>
- <th bgcolor="#cccccc" align="left">Actions</th>
- </tr>
-
- <tr>
- <td colspan="4">
- <a href="attachment.cgi?bugid=7&amp;action=enter">Create a New Attachment</a> (proposed patch, testcase, etc.)
- </td>
- <td class="bz_disabled">
- View All
- </td>
- </tr>
-</table>
-<br>
-
-
-
- <table>
- <tr><th align="right">Bug 7 <u>d</u>epends on:</th>
- <td>
- </td>
- <td>
- <input name="dependson" accesskey="d"
- value="">
- </td>
- <td rowspan="2">
- <a href="showdependencytree.cgi?id=7">Show
- dependency tree</a>
-
- <br>
- <a href="showdependencygraph.cgi?id=7">Show
- dependency graph</a>
- </td>
- </tr>
-
- <tr><th align="right">Bug 7 <u>b</u>locks:</th>
- <td>
- </td>
- <td>
- <input name="blocked" accesskey="b"
- value="">
- </td>
- </tr>
- </table>
-
-
-
-
- <br>
- <b>Additional <u>C</u>omments:</b>
- <br>
- <a name="add_comment"></a>
- <textarea name="comment" id="comment" rows="10" cols="80"
- accesskey="c"></textarea>
-
- <br>
- <label for="addselfcc">
- <input type="checkbox" id="addselfcc" name="addselfcc">
- Add to CC list
- </label>
- <br>
-
-<br>
- <input type="radio" id="knob-leave" name="knob" value="none" checked="checked">
- <label for="knob-leave">
- Leave as <b>NEW&nbsp;</b>
- </label>
- <br>
-
-
-
- <input type="radio" id="knob-accept" name="knob" value="accept">
- <label for="knob-accept">
- Accept bug (change
- status to <b>ASSIGNED</b>)
- </label>
- <br>
-
-
- <input type="radio" id="knob-resolve" name="knob" value="resolve">
- <label for="knob-resolve">
- Resolve bug, changing
- <a href="page.cgi?id=fields.html#resolution">resolution</a> to
- </label>
- <select name="resolution"
- onchange="document.changeform.knob[2].checked=true">
- <option value="FIXED">FIXED</option>
- <option value="INVALID">INVALID</option>
- <option value="WONTFIX">WONTFIX</option>
- <option value="LATER">LATER</option>
- <option value="REMIND">REMIND</option>
- <option value="WORKSFORME">WORKSFORME</option>
- </select>
- <br>
-
- <input type="radio" id="knob-duplicate" name="knob" value="duplicate">
- <label for="knob-duplicate">
- Resolve bug, mark it as duplicate of bug #
- </label>
- <input name="dup_id" size="6"
- onchange="if (this.value != '')
- {document.changeform.knob[3].checked=true}">
- <br>
-
- <input type="radio" id="knob-reassign" name="knob" value="reassign">
- <label for="knob-reassign">
- <a href="page.cgi?id=fields.html#assigned_to">Reassign</a> bug to
- </label><input
- name="assigned_to"
- value="relves&#64;cs.ubc.ca" onchange="if ((this.value != 'relves\x40cs.ubc.ca') &amp;&amp; (this.value != '')) {
- document.changeform.knob[4].checked=true;
- }" accesskey="b" size="32"
->
- <br>
-
- <input type="radio" id="knob-reassign-cmp" name="knob" value="reassignbycomponent">
- <label for="knob-reassign-cmp">
- Reassign bug to default assignee
- of selected component
- </label>
- <br>
-
- <input type="submit" value="Commit">
- <input type="hidden" name="form_name" value="process_bug">
- <p>
- <font size="+1">
- <b>
- <a href="show_activity.cgi?id=7">View Bug Activity</a>
- &nbsp; | &nbsp;
- <a href="show_bug.cgi?format=multiple&amp;id=7">Format For Printing</a>
- &nbsp; | &nbsp;
- <a href="enter_bug.cgi?cloned_bug_id=7">Clone This Bug</a>
-
-
- </b>
- </font>
-
- </p>
-
-
-
-<hr>
-<div >
- <table>
- <tr>
- <td align="left">
- <b><a name="c0" href="#c0">Description</a>:</b>&nbsp;&nbsp;<script
- type="text/javascript"><!--
- addReplyLink(0);
- //--></script>
- </td>
- <td align="left" width="30%">
- <b>Opened:</b> 2006-02-13 17:02
- </td>
- </tr>
- </table>
-
-
-
-<pre id="comment_text_0">test summary
-</pre>
- </div>
- <div >
- <br>
- <span class="bz_comment">
- ------- <i>Comment
- <a name="c1" href="#c1">#1</a> From
- <a href="mailto:relves&#64;cs.ubc.ca">Robert Elves</a>
- 2006-02-21 16:34
- </i>
- <script type="text/javascript"><!--
- addReplyLink(1); //--></script>
- -------
- </span>
-
-
-
-<pre id="comment_text_1">out
-</pre>
- </div>
-
-</form>
-
-<hr>
-<i><font color="#777777">First</font></i>
- <i><font color="#777777">Last</font></i>
- <i><font color="#777777">Prev</font></i>
- <i><font color="#777777">Next</font></i>
- &nbsp;&nbsp;
- <i><font color="#777777">No search results available</font></i>
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="query.cgi">Search page</a>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="enter_bug.cgi">Enter new bug</a>
-
-<br>
-<div id="footer">
- <div class="intro"></div>
-
-
-
-
-<form method="get" action="show_bug.cgi">
-<div id="useful-links">
- <div id="links-actions">
- <div class="label">Actions:</div>
- <div class="links">
- <a href="./">Home</a> |
- <a href="enter_bug.cgi">New</a> |
- <a href="query.cgi">Search</a> |
- bug # <input class="txt" name="id" size="6">
- <input class="btn" type="submit" value="Find"> |
-
- <a href="report.cgi">Reports</a>
-
- | <a href="request.cgi">Requests</a>
-
-
- | <a href="createaccount.cgi">New&nbsp;Account</a>
- | <a href="index.cgi?GoAheadAndLogIn=1">Log&nbsp;In</a>
- </div>
- </div>
-
-
-
-
-
- <div id="links-saved">
- <div class="label">
- </div>
- <div class="links">
-
- </div>
- </div>
-
-
-</div>
-</form>
-
- <div class="outro"></div>
-</div>
-
-</body>
-</html> \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/test-report-2201.html b/org.eclipse.mylyn.bugzilla.tests/testdata/pages/test-report-2201.html
deleted file mode 100644
index f93d6a5c8..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/test-report-2201.html
+++ /dev/null
@@ -1,859 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <title>Bug 125527 - bugzilla refresh incorrect for new reports and newly opened hits</title>
-
-
-
-
-
-
- <script type="text/javascript">
- <!--
-
- function initHelp() {}
- // -->
- </script>
-
- <link href="skins/standard/global.css" rel="stylesheet" type="text/css">
- <link href="skins/custom/global.css" rel="stylesheet" type="text/css">
-
-
-
-
-
- </head>
-
-
-
- <body onload=""
- class="bugs-eclipse-org-bugs bz_bug bz_status_RESOLVED bz_component_Bugzilla bz_bug_125527">
-
-
-<!-- 1.0@bugzilla.org -->
-
-
-
-
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr style="background-image: url(/bugs/header_bg.gif);">
- <td>
- <a href="http://www.eclipse.org/"><img src="/bugs/header_logo.gif" width="164" height="68" border="0" /></a>
- </td>
- <td align="right" style="color: white; font-family: verdana,arial,helvetica; font-size: 1.25em; font-style: italic;"><b>Eclipse bugs</b></font> <br /><font style="font-size: .5em;">Bugzilla 2.20.1 &#160;</font></td>
- </tr>
-</table>
-
-<div id="header">
- <h1>Bugzilla Bug 125527</h1>
-
- <h2>bugzilla refresh incorrect for new reports and newly opened hits</h2>
-
- <h3>Last modified: 2006-01-27 21:30:34</h3>
-</div>
-<i><font color="#777777">First</font></i>
- <i><font color="#777777">Last</font></i>
- <i><font color="#777777">Prev</font></i>
- <i><font color="#777777">Next</font></i>
- &nbsp;&nbsp;
- <i><font color="#777777">No search results available</font></i>
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="query.cgi">Search page</a>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="enter_bug.cgi">Enter new bug</a>
-
-<hr>
-<script type="text/javascript">
- <!--
-
- /* Outputs a link to call replyToComment(); used to reduce HTML output */
- function addReplyLink(id) {
- /* XXX this should really be updated to use the DOM Core's
- * createElement, but finding a container isn't trivial.
- */
- document.write('[<a href="#add_comment" onclick="replyToComment(' +
- id + ');">reply<' + '/a>]');
- }
-
- /* Adds the reply text to the `comment' textarea */
- function replyToComment(id) {
- /* pre id="comment_name_N" */
- var text_elem = document.getElementById('comment_text_'+id);
- var text = getText(text_elem);
-
- /* make sure we split on all newlines -- IE or Moz use \r and \n
- * respectively.
- */
- text = text.split(/\r|\n/);
-
- var replytext = "";
- for (var i=0; i < text.length; i++) {
- replytext += "> " + text[i] + "\n";
- }
-
- replytext = "(In reply to comment #" + id + ")\n" + replytext + "\n";
-
-
- /* <textarea id="comment"> */
- var textarea = document.getElementById('comment');
- textarea.value += replytext;
-
- textarea.focus();
- }
-
- if (typeof Node == 'undefined') {
- /* MSIE doesn't define Node, so provide a compatibility object */
- window.Node = {
- TEXT_NODE: 3,
- ENTITY_REFERENCE_NODE: 5
- };
- }
-
- /* Concatenates all text from element's childNodes. This is used
- * instead of innerHTML because we want the actual text (and
- * innerText is non-standard).
- */
- function getText(element) {
- var child, text = "";
- for (var i=0; i < element.childNodes.length; i++) {
- child = element.childNodes[i];
- var type = child.nodeType;
- if (type == Node.TEXT_NODE || type == Node.ENTITY_REFERENCE_NODE) {
- text += child.nodeValue;
- } else {
- /* recurse into nodes of other types */
- text += getText(child);
- }
- }
- return text;
- }
-
-
- //-->
- </script>
-
-<form name="changeform" method="post" action="process_bug.cgi">
-
- <input type="hidden" name="delta_ts" value="2006-01-27 21:30:34">
- <input type="hidden" name="longdesclength" value="2">
- <input type="hidden" name="id" value="125527">
-
-
-
- <table>
-
- <tr>
- <td valign="top">
- <table cellspacing="1" cellpadding="1">
-
- <tr>
- <td align="right">
- <b>[Technology]</b>
- <b>Bug#:</b>
- </td>
- <td>
- <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=125527">125527</a>
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b><u>P</u>roduct:</b>
- </td><td>
- <label for="product" accesskey="p">
- <select name="product" id="product">
- <option value="AJDT">AJDT
- </option>
- <option value="ALF">ALF
- </option>
- <option value="AspectJ">AspectJ
- </option>
- <option value="BIRT">BIRT
- </option>
- <option value="BPEL">BPEL
- </option>
- <option value="Buckminster">Buckminster
- </option>
- <option value="CDT">CDT
- </option>
- <option value="Community">Community
- </option>
- <option value="Dali">Dali
- </option>
- <option value="Dash">Dash
- </option>
- <option value="Data Tools">Data Tools
- </option>
- <option value="DSDP">DSDP
- </option>
- <option value="ECF">ECF
- </option>
- <option value="EMF">EMF
- </option>
- <option value="EMFT">EMFT
- </option>
- <option value="EPF">EPF
- </option>
- <option value="Equinox">Equinox
- </option>
- <option value="ERCP">ERCP
- </option>
- <option value="GEF">GEF
- </option>
- <option value="GMF">GMF
- </option>
- <option value="GMT">GMT
- </option>
- <option value="Higgins">Higgins
- </option>
- <option value="Hyades">Hyades
- </option>
- <option value="Java Server Faces">Java Server Faces
- </option>
- <option value="JDT">JDT
- </option>
- <option value="JSR220-ORM">JSR220-ORM
- </option>
- <option value="Laszlo">Laszlo
- </option>
- <option value="Lepido">Lepido
- </option>
- <option value="MDDi">MDDi
- </option>
- <option value="MTJ">MTJ
- </option>
- <option value="Mylar" selected>Mylar
- </option>
- <option value="OHF">OHF
- </option>
- <option value="PDE">PDE
- </option>
- <option value="Phoenix">Phoenix
- </option>
- <option value="Photran">Photran
- </option>
- <option value="Platform">Platform
- </option>
- <option value="PTP">PTP
- </option>
- <option value="SOA">SOA
- </option>
- <option value="Target Management">Target Management
- </option>
- <option value="TPTP">TPTP
- </option>
- <option value="UML2">UML2
- </option>
- <option value="VE">VE
- </option>
- <option value="VTP">VTP
- </option>
- <option value="Web Tools">Web Tools
- </option>
- <option value="XSD">XSD
- </option>
- </select>
- </label>
- </td>
- <td>&nbsp;</td>
- </tr>
-
-
-
- <tr>
- <td align="right">
- <b>
- <a href="describecomponents.cgi?product=Mylar">
- Co<u>m</u>ponent</a>:
- </b>
- </td><td>
- <label for="component" accesskey="m">
- <select name="component" id="component">
- <option value="Bugzilla" selected>Bugzilla
- </option>
- <option value="Core">Core
- </option>
- <option value="Doc">Doc
- </option>
- <option value="Java">Java
- </option>
- <option value="Jira">Jira
- </option>
- <option value="Monitor">Monitor
- </option>
- <option value="Tasks">Tasks
- </option>
- <option value="UI">UI
- </option>
- <option value="XML">XML
- </option>
- <option value="Zest">Zest
- </option>
- </select>
- </label>
- </td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td align="right">
- <b>
- <a href="page.cgi?id=fields.html#status">Status</a>:
- </b>
- </td>
- <td>RESOLVED</td>
- </tr>
-
- <tr>
- <td align="right">
- <b>
- <a href="page.cgi?id=fields.html#resolution">Resolution</a>:
- </b>
- </td>
- <td>FIXED
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b>
- <a href="page.cgi?id=fields.html#assigned_to">Assigned&nbsp;To</a>:
- </b>
- </td>
- <td>Robert Elves &lt;relves&#64;cs.ubc.ca&gt;</td>
- </tr>
-
- </table>
-
- </td>
- <td valign="top">
-
- <table cellspacing="1" cellpadding="1">
-
- <tr>
- <td align="right">
- <b><u>H</u>ardware:</b>
- </td><td>
- <label for="rep_platform" accesskey="h">
- <select name="rep_platform" id="rep_platform">
- <option value="All">All
- </option>
- <option value="Macintosh">Macintosh
- </option>
- <option value="Other">Other
- </option>
- <option value="PC" selected>PC
- </option>
- <option value="Power PC">Power PC
- </option>
- <option value="Sun">Sun
- </option>
- </select>
- </label>
- </td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td align="right">
- <b><u>O</u>S:</b>
- </td><td>
- <label for="op_sys" accesskey="o">
- <select name="op_sys" id="op_sys">
- <option value="All">All
- </option>
- <option value="AIX Motif">AIX Motif
- </option>
- <option value="HP-UX">HP-UX
- </option>
- <option value="Linux">Linux
- </option>
- <option value="Linux-GTK">Linux-GTK
- </option>
- <option value="Linux-Motif">Linux-Motif
- </option>
- <option value="Mac OS">Mac OS
- </option>
- <option value="MacOS X">MacOS X
- </option>
- <option value="Neutrino">Neutrino
- </option>
- <option value="other">other
- </option>
- <option value="QNX-Photon">QNX-Photon
- </option>
- <option value="Solaris">Solaris
- </option>
- <option value="Solaris-GTK">Solaris-GTK
- </option>
- <option value="Solaris-Motif">Solaris-Motif
- </option>
- <option value="SymbianOS-Series 80">SymbianOS-Series 80
- </option>
- <option value="Unix All">Unix All
- </option>
- <option value="Windows All" selected>Windows All
- </option>
- <option value="Windows 95">Windows 95
- </option>
- <option value="Windows 98">Windows 98
- </option>
- <option value="Windows 2000">Windows 2000
- </option>
- <option value="Windows 2003 Server">Windows 2003 Server
- </option>
- <option value="Windows CE">Windows CE
- </option>
- <option value="Windows ME">Windows ME
- </option>
- <option value="Windows Mobile 2003">Windows Mobile 2003
- </option>
- <option value="Windows NT">Windows NT
- </option>
- <option value="Windows XP">Windows XP
- </option>
- </select>
- </label>
- </td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td align="right">
- <b>Version:</b>
- </td><td>
- <label for="version" accesskey="o">
- <select name="version" id="version">
- <option value="0.2">0.2
- </option>
- <option value="0.3">0.3
- </option>
- <option value="0.4">0.4
- </option>
- <option value="unspecified" selected>unspecified
- </option>
- </select>
- </label>
- </td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td align="right">
- <b><a href="page.cgi?id=fields.html#priority">Pr<u>i</u>ority</a>:</b>
- </td><td>
- <label for="priority" accesskey="i">
- <select name="priority" id="priority">
- <option value="P1" selected>P1
- </option>
- <option value="P2">P2
- </option>
- <option value="P3">P3
- </option>
- <option value="P4">P4
- </option>
- <option value="P5">P5
- </option>
- </select>
- </label>
- </td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td align="right">
- <b><a href="page.cgi?id=fields.html#bug_severity">Severity</a>:</b>
- </td><td>
- <label for="bug_severity" accesskey="i">
- <select name="bug_severity" id="bug_severity">
- <option value="blocker">blocker
- </option>
- <option value="critical">critical
- </option>
- <option value="major">major
- </option>
- <option value="normal" selected>normal
- </option>
- <option value="minor">minor
- </option>
- <option value="trivial">trivial
- </option>
- <option value="enhancement">enhancement
- </option>
- </select>
- </label>
- </td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td align="right">
- <b>
- Target Milestone:
- </b>
- </td><td>
- <label for="target_milestone" accesskey="i">
- <select name="target_milestone" id="target_milestone">
- <option value="---" selected>---
- </option>
- <option value="0.5">0.5
- </option>
- <option value="0.6">0.6
- </option>
- </select>
- </label>
- </td>
- <td>&nbsp;</td>
- </tr>
-
- </table>
- </td>
-
- <td valign="top">
-
- <table cellpadding="1" cellspacing="1">
-
- <tr>
- <td align="right">
- <b>Reporter:</b>
- </td>
- <td>
- <a href="mailto:beatmik&#64;acm.org">Mik Kersten &lt;beatmik&#64;acm.org&gt;</a>
- </td>
- </tr>
-
- <tr>
- <td align="right" valign="top">
- <b><u>A</u>dd&nbsp;CC:</b>
- </td>
- <td><input
- name="newcc"
- value="" accesskey="a" size="30"
->
- </td>
- </tr>
-
- <tr>
- <td align="right" valign="top">
- <b>CC:</b>
- </td>
- <td valign="top">
- <select name="cc" multiple="multiple" size="5">
- <option value="beatmik&#64;acm.org">beatmik&#64;acm.org</option>
- </select>
- <br>
- <input type="checkbox" name="removecc">Remove selected CCs
- <br>
- </td>
- </tr>
-
- </table>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2">
- <table cellspacing="1" cellpadding="1">
-
-
-
- <tr>
- <td align="right">
- <b><u>Q</u>A Contact:</b>
- </td>
- <td colspan="7"><input
- name="qa_contact"
- value="" accesskey="q" size="60"
->
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b>
- <u>U</u>RL:
- </b>
- </td>
- <td colspan="5">
- <input name="bug_file_loc" accesskey="u"
- value="" size="60">
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b><u>S</u>ummary:</b>
- </td>
- <td colspan="5">
- <input name="short_desc" accesskey="s"
- value="bugzilla refresh incorrect for new reports and newly opened hits" size="60">
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b>Status <u>W</u>hiteboard:</b>
- </td>
- <td colspan="5">
- <input name="status_whiteboard" accesskey="w"
- value="" size="60">
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b>
- <a href="describekeywords.cgi"><u>K</u>eywords</a>:
- </b>
- <td colspan="5">
- <input name="keywords" accesskey="k"
- value="" size="60">
- </td>
- </tr>
-
- </table>
- </td>
-
- <td valign="top">
- <table cellspacing="1" cellpadding="1">
- <tr>
- <td colspan="2" valign="top">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
-
-
-
-<br>
-<table cellspacing="0" cellpadding="4" border="1">
- <tr>
- <th bgcolor="#cccccc" align="left">Attachment</th>
- <th bgcolor="#cccccc" align="left">Type</th>
- <th bgcolor="#cccccc" align="left">Created</th>
- <th bgcolor="#cccccc" align="left">Size</th>
- <th bgcolor="#cccccc" align="left">Actions</th>
- </tr>
-
- <tr>
- <td colspan="4">
- <a href="attachment.cgi?bugid=125527&amp;action=enter">Create a New Attachment</a> (proposed patch, testcase, etc.)
- </td>
- <td class="bz_disabled">
- View All
- </td>
- </tr>
-</table>
-<br>
-
-
-
- <table>
- <tr><th align="right">Bug 125527 depends on:</th>
- <td>
- </td>
- <td>
- <input name="dependson" accesskey="i"
- value="">
- </td>
- <td rowspan="2">
- <a href="showdependencytree.cgi?id=125527">Show
- dependency tree</a>
-
- </td>
- </tr>
-
- <tr><th align="right">Bug 125527 <u>b</u>locks:</th>
- <td>
- </td>
- <td>
- <input name="blocked" accesskey="b"
- value="">
- </td>
- </tr>
- </table>
-
- <table>
- <tr>
- <th>
- <a href="page.cgi?id=voting.html">Votes</a>:
- </th>
- <td>0&nbsp;&nbsp;&nbsp;
- <a href="votes.cgi?action=show_bug&amp;bug_id=125527">Show
- votes for this bug</a>&nbsp;&nbsp;&nbsp;
- <a href="votes.cgi?action=show_user&amp;bug_id=125527#vote_125527">Vote
- for this bug</a>
- </td>
- </tr>
- </table>
-
-
-
- <br>
- <b>Additional <u>C</u>omments:</b>
- <br>
- <a name="add_comment"></a>
- <textarea name="comment" id="comment" rows="10" cols="80"
- accesskey="c"></textarea>
-
- <br>
- <label for="addselfcc">
- <input type="checkbox" id="addselfcc" name="addselfcc">
- Add to CC list
- </label>
- <br>
-
-<br>
- <input type="radio" id="knob-leave" name="knob" value="none" checked="checked">
- <label for="knob-leave">
- Leave as <b>RESOLVED&nbsp;FIXED</b>
- </label>
- <br>
-
-
-
-
- <input type="radio" id="knob-reopen" name="knob" value="reopen">
- <label for="knob-reopen">
- Reopen bug
- </label>
- <br>
- <input type="radio" id="knob-verify" name="knob" value="verify">
- <label for="knob-verify">
- Mark bug as <b>VERIFIED</b>
- </label>
- <br>
- <input type="radio" id="knob-close" name="knob" value="close">
- <label for="knob-close">
- Mark bug as <b>CLOSED</b>
- </label>
- <br>
-
- <input type="submit" value="Commit">
- <input type="hidden" name="form_name" value="process_bug">
- <p>
- <font size="+1">
- <b>
- <a href="show_activity.cgi?id=125527">View Bug Activity</a>
- &nbsp; | &nbsp;
- <a href="show_bug.cgi?format=multiple&amp;id=125527">Format For Printing</a>
- &nbsp; | &nbsp;
- <a href="enter_bug.cgi?cloned_bug_id=125527">Clone This Bug</a>
-
-
- </b>
- </font>
-
- </p>
-
-
-
-<hr>
-<div >
- <table>
- <tr>
- <td align="left">
- <b><a name="c0" href="show_bug.cgi?id=125527#c0">
- Description</a>:</b>&nbsp;&nbsp;<script type="text/javascript"><!--
- addReplyLink(0);
- //--></script>
- </td>
- <td align="left" width="30%">
- <b>Opened:</b> 2006-01-27 13:36
- </td>
- </tr>
- </table>
-
-
-
-<pre id="comment_text_0">After bug report is added, description is always blank, and it's opened in
-wrong editor (ExistingBugEditor, not MylarTaskEditor).
-
-After hit is opened and becomes a task, task stays italic.
-</pre>
- </div>
- <div >
- <br>
- <span class="bz_comment">
- ------- <i>Comment
- <a name="c1" href="show_bug.cgi?id=125527#c1">
- #1</a> From
- <a href="mailto:beatmik&#64;acm.org">Mik Kersten</a>
- 2006-01-27 21:30
- </i>
- <script type="text/javascript"><!--
- addReplyLink(1); //--></script>
- -------
- </span>
-
-
-
-<pre id="comment_text_1">Done.
-</pre>
- </div>
-
-</form>
-
-<hr>
-<i><font color="#777777">First</font></i>
- <i><font color="#777777">Last</font></i>
- <i><font color="#777777">Prev</font></i>
- <i><font color="#777777">Next</font></i>
- &nbsp;&nbsp;
- <i><font color="#777777">No search results available</font></i>
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="query.cgi">Search page</a>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="enter_bug.cgi">Enter new bug</a>
-
-<br>
-<div id="footer">
- <div class="intro"></div>
-
-
-
-
-<form method="get" action="show_bug.cgi">
-<div id="useful-links">
- <div id="links-actions">
- <div class="label">Actions:</div>
- <div class="links">
- <a href="./">Home</a> |
- <a href="enter_bug.cgi">New</a> |
- <a href="query.cgi">Search</a> |
- bug # <input class="txt" name="id" size="6">
- <input class="btn" type="submit" value="Find"> |
-
- <a href="report.cgi">Reports</a>
-
- | <a href="request.cgi">Requests</a>
-
-
- | <a href="createaccount.cgi">New&nbsp;Account</a>
- | <a href="index.cgi?GoAheadAndLogIn=1">Log&nbsp;In</a>
- </div>
- </div>
-
-
-
-
-
- <div id="links-saved">
- <div class="label">
- </div>
- <div class="links">
-
- </div>
- </div>
-
-
-</div>
-</form>
-
- <div class="outro"></div>
-</div>
-
-</body>
-</html> \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/test-report-222attachment.html b/org.eclipse.mylyn.bugzilla.tests/testdata/pages/test-report-222attachment.html
deleted file mode 100644
index 6248ce40d..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/test-report-222attachment.html
+++ /dev/null
@@ -1,859 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <title>Bug 4 - Another Test</title>
-
-
-<link rel="Top" href="http://mylar.eclipse.org/bugs222/">
-
-
- <link rel="Up" href="buglist.cgi?regetlastlist=1">
-
- <link rel="First" href="show_bug.cgi?id=1">
- <link rel="Last" href="show_bug.cgi?id=4">
-
-
-
- <link rel="Prev" href="show_bug.cgi?id=3">
-
-
-
-
-
- <link rel="Show" title="Dependency Tree"
- href="showdependencytree.cgi?id=4">
- <link rel="Show" title="Dependency Graph"
- href="showdependencygraph.cgi?id=4">
-
-
- <link rel="Show" title="Bug Activity"
- href="show_activity.cgi?id=4">
-
- <link rel="Show" title="Printer-Friendly Version"
- href="show_bug.cgi?format=multiple&amp;id=4">
-
-
-
- <link rel="Saved&nbsp;Searches" title="My Bugs"
- href="buglist.cgi?bug_status=UNCONFIRMED&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;emailassigned_to1=1&amp;emailreporter1=1&amp;emailtype1=exact&amp;email1=relves%40cs.ubc.ca&amp;field0-0-0=bug_status&amp;type0-0-0=notequals&amp;value0-0-0=UNCONFIRMED&amp;field0-0-1=reporter&amp;type0-0-1=equals&amp;value0-0-1=relves%40cs.ubc.ca">
-
-
- <link rel="Administration" title="Parameters"
- href="editparams.cgi"><link rel="Administration" title="Users"
- href="editusers.cgi"><link rel="Administration" title="Products"
- href="editproducts.cgi"><link rel="Administration" title="Flag Types"
- href="editflagtypes.cgi"><link rel="Administration" title="Groups"
- href="editgroups.cgi"><link rel="Administration" title="Keywords"
- href="editkeywords.cgi"><link rel="Administration" title="Whining"
- href="editwhines.cgi"><link rel="Administration" title="Sanity Check"
- href="sanitycheck.cgi">
-
-
-
- <script type="text/javascript">
- <!--
-
- function initHelp() {}
- // -->
- </script>
-
- <link href="skins/standard/global.css" rel="stylesheet" type="text/css">
-
- <link href="skins/custom/global.css" rel="stylesheet" type="text/css">
-
-
-
-
-
- </head>
-
-
-
- <body onload=""
- class="mylar-eclipse-org-bugs222 bz_bug bz_status_NEW bz_component_TestComponent bz_bug_4">
-
-
-<div id="banner">
- <div class="intro"></div>
-
- <p id="banner-name">
- <span>This is Bugzilla</span>
- </p>
- <p id="banner-version">
- <a href="http://www.bugzilla.org/"><span>Bugzilla</span></a>
- <span>Version 2.22rc1</span>
- </p>
-
- <div class="outro"></div>
- </div>
-
-<div id="header">
- <h1>Bugzilla Bug 4</h1>
-
- <h2>Another Test</h2>
-
- <h3>Last modified: 2006-03-10 14:11:48</h3>
-
-</div>
-
-<b>Bug List:</b>
- (4 of 4)
-
- <a href="show_bug.cgi?id=1">First</a>
- <a href="show_bug.cgi?id=4">Last</a>
-
- <a href="show_bug.cgi?id=3">Prev</a>
-
- <i><font color="#777777">Next</font></i>
-
- &nbsp;&nbsp;<a href="buglist.cgi?regetlastlist=1">Show last search results</a>
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="query.cgi">Search page</a>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="enter_bug.cgi">Enter new bug</a>
-
-<hr>
-<script type="text/javascript">
- <!--
-
- /* Outputs a link to call replyToComment(); used to reduce HTML output */
- function addReplyLink(id) {
- /* XXX this should really be updated to use the DOM Core's
- * createElement, but finding a container isn't trivial.
- */
- document.write('[<a href="#add_comment" onclick="replyToComment(' +
- id + ');">reply<' + '/a>]');
- }
-
- /* Adds the reply text to the `comment' textarea */
- function replyToComment(id) {
- /* pre id="comment_name_N" */
- var text_elem = document.getElementById('comment_text_'+id);
- var text = getText(text_elem);
-
- /* make sure we split on all newlines -- IE or Moz use \r and \n
- * respectively.
- */
- text = text.split(/\r|\n/);
-
- var replytext = "";
- for (var i=0; i < text.length; i++) {
- replytext += "> " + text[i] + "\n";
- }
-
- replytext = "(In reply to comment #" + id + ")\n" + replytext + "\n";
-
-
- /* <textarea id="comment"> */
- var textarea = document.getElementById('comment');
- textarea.value += replytext;
-
- textarea.focus();
- }
-
- if (typeof Node == 'undefined') {
- /* MSIE doesn't define Node, so provide a compatibility object */
- window.Node = {
- TEXT_NODE: 3,
- ENTITY_REFERENCE_NODE: 5
- };
- }
-
- /* Concatenates all text from element's childNodes. This is used
- * instead of innerHTML because we want the actual text (and
- * innerText is non-standard).
- */
- function getText(element) {
- var child, text = "";
- for (var i=0; i < element.childNodes.length; i++) {
- child = element.childNodes[i];
- var type = child.nodeType;
- if (type == Node.TEXT_NODE || type == Node.ENTITY_REFERENCE_NODE) {
- text += child.nodeValue;
- } else {
- /* recurse into nodes of other types */
- text += getText(child);
- }
- }
- return text;
- }
-
-
- function updateCommentTagControl(checkbox, form) {
- if (checkbox.checked) {
- form.comment.className='bz_private';
- } else {
- form.comment.className='';
- }
- }
-
- //-->
- </script>
-
-<form name="changeform" method="post" action="process_bug.cgi">
-
- <input type="hidden" name="delta_ts" value="2006-03-10 14:11:48">
-
- <input type="hidden" name="longdesclength" value="2">
- <input type="hidden" name="id" value="4">
-
-
-
- <table>
-
- <tr>
- <td valign="top">
- <table cellspacing="1" cellpadding="1">
- <tr>
-
- <td align="right">
- <b>Bug#:</b>
- </td>
- <td>
- <a href="http://mylar.eclipse.org/bugs222/show_bug.cgi?id=4">4</a>
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b><u>P</u>roduct:</b>
- </td><td>
- <label for="product" accesskey="p">
- <select name="product" id="product">
- <option value="TestProduct" selected>TestProduct
- </option>
-
- </select>
- </label>
- </td>
- </tr>
-
-
-
- <tr>
- <td align="right">
- <b>
- <a href="describecomponents.cgi?product=TestProduct">
-
- Co<u>m</u>ponent</a>:
- </b>
- </td><td>
- <label for="component" accesskey="m">
- <select name="component" id="component">
- <option value="TestComponent" selected>TestComponent
- </option>
- </select>
-
- </label>
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b>
- <a href="page.cgi?id=fields.html#status">Status</a>:
- </b>
-
- </td>
- <td>NEW</td>
- </tr>
-
- <tr>
- <td align="right">
- <b>
- <a href="page.cgi?id=fields.html#resolution">Resolution</a>:
- </b>
-
- </td>
- <td>
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b>
- <a href="page.cgi?id=fields.html#assigned_to">Assigned&nbsp;To</a>:
- </b>
-
- </td>
- <td>Robert Elves &lt;relves&#64;cs.ubc.ca&gt;</td>
- </tr>
-
- </table>
-
- </td>
- <td valign="top">
-
- <table cellspacing="1" cellpadding="1">
-
- <tr>
- <td align="right">
- <b><u>H</u>ardware:</b>
- </td><td>
- <label for="rep_platform" accesskey="h">
- <select name="rep_platform" id="rep_platform">
-
- <option value="All">All
- </option>
- <option value="PC" selected>PC
- </option>
- <option value="Macintosh">Macintosh
- </option>
- <option value="Other">Other
- </option>
- </select>
- </label>
- </td>
-
- </tr>
-
- <tr>
- <td align="right">
- <b><u>O</u>S:</b>
- </td><td>
- <label for="op_sys" accesskey="o">
- <select name="op_sys" id="op_sys">
-
- <option value="All">All
- </option>
- <option value="Windows">Windows
- </option>
- <option value="Mac OS">Mac OS
- </option>
- <option value="Linux">Linux
- </option>
- <option value="Other" selected>Other
- </option>
- </select>
-
- </label>
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b>Version:</b>
- </td><td>
- <label for="version" accesskey="o">
-
- <select name="version" id="version">
- <option value="other" selected>other
- </option>
- </select>
- </label>
- </td>
- </tr>
-
- <tr>
- <td align="right">
-
- <b><a href="page.cgi?id=fields.html#priority">Pr<u>i</u>ority</a>:</b>
- </td><td>
- <label for="priority" accesskey="i">
- <select name="priority" id="priority">
- <option value="P1">P1
- </option>
- <option value="P2">P2
- </option>
-
- <option value="P3" selected>P3
- </option>
- <option value="P4">P4
- </option>
- <option value="P5">P5
- </option>
- </select>
- </label>
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b><a href="page.cgi?id=fields.html#bug_severity">Severity</a>:</b>
- </td><td>
- <label for="bug_severity" accesskey="i">
- <select name="bug_severity" id="bug_severity">
- <option value="blocker">blocker
- </option>
-
- <option value="critical">critical
- </option>
- <option value="major">major
- </option>
- <option value="normal" selected>normal
- </option>
- <option value="minor">minor
- </option>
- <option value="trivial">trivial
- </option>
- <option value="enhancement">enhancement
- </option>
-
- </select>
- </label>
- </td>
- </tr>
-
- <tr>
- <td align="right">
- <b>
- Target Milestone:
- </b>
-
- </td><td>
- <label for="target_milestone" accesskey="i">
- <select name="target_milestone" id="target_milestone">
- <option value="---" selected>---
- </option>
- </select>
- </label>
- </td>
- </tr>
-
- </table>
- </td>
-
- <td valign="top">
-
- <table cellpadding="1" cellspacing="1">
-
- <tr>
- <td align="right">
- <b>Reporter:</b>
-
- </td>
- <td>
- <a href="mailto:relves&#64;cs.ubc.ca">Robert Elves &lt;relves&#64;cs.ubc.ca&gt;</a>
- </td>
- </tr>
-
- <tr>
- <td align="right" valign="top">
-
- <b><u>A</u>dd&nbsp;CC:</b>
- </td>
- <td><input
- name="newcc"
- value="" accesskey="a" size="30"
->
- </td>
- </tr>
-
- <tr>
- <td align="right" valign="top">
-
- <b>CC:</b>
- </td>
- <td valign="top">
- <input type="hidden" name="cc" value="">
- </td>
- </tr>
-
- </table>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="2">
- <table cellspacing="1" cellpadding="1">
-
-
-
-
- <tr>
- <td align="right">
- <b>
-
- <u>U</u>RL:
- </b>
- </td>
- <td colspan="5">
- <input name="bug_file_loc" accesskey="u"
- value="" size="60">
- </td>
- </tr>
-
- <tr>
-
- <td align="right">
- <b><u>S</u>ummary:</b>
- </td>
- <td colspan="5">
- <input name="short_desc" accesskey="s"
- value="Another Test" size="60">
- </td>
- </tr>
-
-
- </table>
- </td>
-
- <td valign="top">
- <table cellspacing="1" cellpadding="1">
- <tr>
- <td colspan="2" valign="top">
- </td>
-
- </tr>
- </table>
- </td>
- </tr>
- </table>
-
-
-
-<br>
-<table cellspacing="0" cellpadding="4" border="1">
- <tr>
-
- <th bgcolor="#cccccc" align="left">Attachment</th>
- <th bgcolor="#cccccc" align="left">Type</th>
- <th bgcolor="#cccccc" align="left">Creator</th>
- <th bgcolor="#cccccc" align="left">Created</th>
- <th bgcolor="#cccccc" align="left">Size</th>
- <th bgcolor="#cccccc" align="left">Actions</th>
-
- </tr>
- <tr >
- <td valign="top">
- <a href="attachment.cgi?id=1">Testing upload</a>
- </td>
-
- <td valign="top">text/plain
- </td>
-
- <td valign="top">
-
- <a href="mailto:relves&#64;cs.ubc.ca">Robert Elves
- </a>
- </td>
- <td valign="top">2006-03-10 14:11</td>
- <td valign="top">6.87 KB</td>
-
-
- <td valign="top">
- <a href="attachment.cgi?id=1&amp;action=edit">Edit</a>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="5">
- <a href="attachment.cgi?bugid=4&amp;action=enter">Create a New Attachment</a> (proposed patch, testcase, etc.)
- </td>
- <td>
- <a href="attachment.cgi?bugid=4&amp;action=viewall">View All</a>
-
- </td>
- </tr>
-</table>
-<br>
-
-
-
- <table>
- <tr><th align="right">Bug 4 depends on:</th>
- <td>
- </td>
-
- <td>
- <input name="dependson" accesskey="i"
- value="">
- </td>
- <td rowspan="2">
- <a href="showdependencytree.cgi?id=4">Show
- dependency tree</a>
-
- <br>
- <a href="showdependencygraph.cgi?id=4">Show
- dependency graph</a>
-
- </td>
- </tr>
-
- <tr><th align="right">Bug 4 <u>b</u>locks:</th>
- <td>
- </td>
- <td>
- <input name="blocked" accesskey="b"
- value="">
-
- </td>
- </tr>
- </table>
-
-
-
-
- <br>
- <b>Additional <u>C</u>omments:</b>
-
- <br>
- <a name="add_comment"></a>
- <textarea name="comment" id="comment" rows="10" cols="80"
- accesskey="c"></textarea>
-
- <br>
- <label for="addselfcc">
- <input type="checkbox" id="addselfcc" name="addselfcc">
- Add relves&#64;cs.ubc.ca to CC list
- </label>
-
- <br>
-
-<br>
- <input type="radio" id="knob-leave" name="knob" value="none" checked="checked">
- <label for="knob-leave">
- Leave as <b>NEW&nbsp;</b>
- </label>
- <br>
-
-
- <input type="radio" id="knob-accept" name="knob" value="accept">
- <label for="knob-accept">
- Accept bug (change
- status to <b>ASSIGNED</b>)
- </label>
- <br>
-
-
- <input type="radio" id="knob-resolve" name="knob" value="resolve">
-
- <label for="knob-resolve">
- Resolve bug, changing
- <a href="page.cgi?id=fields.html#resolution">resolution</a> to
- </label>
- <select name="resolution"
- onchange="document.changeform.knob[2].checked=true">
- <option value="FIXED">FIXED</option>
- <option value="INVALID">INVALID</option>
- <option value="WONTFIX">WONTFIX</option>
-
- <option value="LATER">LATER</option>
- <option value="REMIND">REMIND</option>
- <option value="WORKSFORME">WORKSFORME</option>
- </select>
- <br>
-
- <input type="radio" id="knob-duplicate" name="knob" value="duplicate">
- <label for="knob-duplicate">
-
- Resolve bug, mark it as duplicate of bug #
- </label>
- <input name="dup_id" size="6"
- onchange="if (this.value != '')
- {document.changeform.knob[3].checked=true}">
- <br>
-
- <input type="radio" id="knob-reassign" name="knob" value="reassign">
- <label for="knob-reassign">
- <a href="page.cgi?id=fields.html#assigned_to">Reassign</a> bug to
- </label><input
- name="assigned_to"
- value="relves&#64;cs.ubc.ca" onchange="if ((this.value != 'relves\x40cs.ubc.ca') &amp;&amp; (this.value != '')) {
- document.changeform.knob[4].checked=true;
- }" accesskey="b" size="32"
->
-
- <br>
-
- <input type="radio" id="knob-reassign-cmp" name="knob" value="reassignbycomponent">
- <label for="knob-reassign-cmp">
- Reassign bug to default assignee
- of selected component
- </label>
- <br>
-
- <input type="submit" value="Commit">
- <input type="hidden" name="form_name" value="process_bug">
-
- <p>
- <font size="+1">
- <b>
- <a href="show_activity.cgi?id=4">View Bug Activity</a>
- &nbsp; | &nbsp;
- <a href="show_bug.cgi?format=multiple&amp;id=4">Format For Printing</a>
- &nbsp; | &nbsp;
-
- <a href="show_bug.cgi?ctype=xml&amp;id=4">XML</a>
- &nbsp; | &nbsp;
- <a href="enter_bug.cgi?cloned_bug_id=4">Clone This Bug</a>
-
-
- </b>
- </font>
-
- </p>
-
-
-
-<hr>
-<script type="text/javascript">
- <!--
- function updateCommentPrivacy(checkbox, id) {
- var text_elem = document.getElementById('comment_text_'+id);
- if (checkbox.checked) {
- text_elem.parentNode.className='bz_private';
- } else {
- text_elem.parentNode.className='';
- }
- }
- //-->
- </script>
-
-
-
-
-
-
-
-
-<div >
- <table>
-
- <tr>
- <td align="left">
- <b><a name="c0" href="show_bug.cgi?id=4#c0">
- Description</a>:</b>&nbsp;&nbsp;<script type="text/javascript"><!--
- addReplyLink(0);
- //--></script>
- </td>
- <td align="left" width="30%">
- <b>Opened:</b> 2006-03-09 13:09
- </td>
-
- </tr>
- </table>
-
-
-
-<pre id="comment_text_0">Testing new 2.22 version capability
-</pre>
- </div>
- <div >
- <br>
- <span class="bz_comment">
- ------- <i>Comment
- <a name="c1" href="show_bug.cgi?id=4#c1">
-
- #1</a> From
- <a href="mailto:relves&#64;cs.ubc.ca">Robert Elves</a>
- 2006-03-10 14:11:48
- </i>
- <script type="text/javascript"><!--
- addReplyLink(1); //--></script>
- -------
- </span>
-
-
-
-<pre id="comment_text_1"><span class=""><a href="attachment.cgi?id=1&amp;action=view" title="Testing upload">Created an attachment (id=1)</a> <a href="attachment.cgi?id=1&amp;action=edit" title="Testing upload">[edit]</a></span>
-
-Testing upload
-
-The comment
-</pre>
- </div>
-
-</form>
-
-<hr>
-<b>Bug List:</b>
- (4 of 4)
-
- <a href="show_bug.cgi?id=1">First</a>
- <a href="show_bug.cgi?id=4">Last</a>
-
- <a href="show_bug.cgi?id=3">Prev</a>
-
- <i><font color="#777777">Next</font></i>
-
- &nbsp;&nbsp;<a href="buglist.cgi?regetlastlist=1">Show last search results</a>
-
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="query.cgi">Search page</a>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="enter_bug.cgi">Enter new bug</a>
-
-<br>
-<div id="footer">
- <div class="intro"></div>
-
-
-
-
-<div id="useful-links">
- <div id="links-actions">
- <div class="label">Actions:</div>
- <div class="links">
-
- <a href="./">Home</a> |
- <a href="enter_bug.cgi">New</a> |
- <a href="query.cgi">Search</a> |
-
- <form action="buglist.cgi" method="get"
- onsubmit="if (this.quicksearch.value == '')
- { alert('Please enter one or more search terms first.');
- return false; } return true;">
- <input class="txt" type="text" name="quicksearch">
- <input class="btn" type="submit" value="Find">
- </form> |
-
- <a href="report.cgi">Reports</a>
-
- | <a href="request.cgi?requester=relves%40cs.ubc.ca&amp;requestee=relves%40cs.ubc.ca&amp;do_union=1&amp;group=type">My Requests</a>
-
-
- | <a href="votes.cgi?action=show_user">My&nbsp;Votes</a>
- | <a href="sanitycheck.cgi">Sanity&nbsp;check</a>
- | <a href="relogin.cgi">Log&nbsp;out</a>&nbsp;relves&#64;cs.ubc.ca
- </div>
- </div>
-
-
- <div id="links-edit">
- <div class="label">Edit:</div>
- <div class="links">
-
- <a href="userprefs.cgi">Prefs</a> | <a href="editparams.cgi">Parameters</a> | <a href="editsettings.cgi">User Preferences</a> | <a href="editusers.cgi">Users</a> | <a href="editproducts.cgi">Products</a> | <a href="editflagtypes.cgi">Flags</a> | <a href="editvalues.cgi">Field Values</a> | <a href="editgroups.cgi">Groups</a> | <a href="editkeywords.cgi">Keywords</a> | <a href="editwhines.cgi">Whining</a>
-
- </div>
- </div>
-
-
-
-
- <div id="links-saved">
- <div class="label">
- Saved&nbsp;Searches:
- </div>
- <div class="links">
- <a href="buglist.cgi?bug_status=UNCONFIRMED&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;emailassigned_to1=1&amp;emailreporter1=1&amp;emailtype1=exact&amp;email1=relves%40cs.ubc.ca&amp;field0-0-0=bug_status&amp;type0-0-0=notequals&amp;value0-0-0=UNCONFIRMED&amp;field0-0-1=reporter&amp;type0-0-1=equals&amp;value0-0-1=relves%40cs.ubc.ca">My&nbsp;Bugs</a>
-
- </div>
- </div>
-
-
-<div id="links-special">
- <div class="label">&nbsp;</div>
- <div class="links">
- <form action="buglist.cgi" method="get">
- <input type="hidden" name="cmdtype" value="doit">
- <input type="hidden" name="remtype" value="asnamed">
-
- <input type="hidden" name="add_bugids" value="1">
- <input type="submit" value="Add"> bugs
- <input type="text" name="bug_ids" size="8" maxlength="80"> to
- the new saved search:
- <input type="text" name="newqueryname" size="20" maxlength="64">
- </form>
- </div>
- </div>
-
-
-</div>
-
- <div class="outro"></div>
-</div>
-
-</body>
-</html>
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/ve-page.html b/org.eclipse.mylyn.bugzilla.tests/testdata/pages/ve-page.html
deleted file mode 100644
index e5423da71..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/pages/ve-page.html
+++ /dev/null
@@ -1,178 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- saved from url=(0054)https://bugs.eclipse.org/bugs/enter_bug.cgi?product=VE -->
-<!-- 1.0@bugzilla.org --><!-- 1.0@bugzilla.org --><HTML><HEAD><TITLE>Enter Bug</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
-<BODY text=#000000 vLink=#551a8b aLink=#ff0000 link=#0000ee bgColor=#ffffff
-onload=""><!-- 1.0@bugzilla.org -->
-<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
- <TBODY>
- <TR>
- <TD width="100%">
- <TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#006699
- border=0><TBODY>
- <TR>
- <TD width=116 bgColor=#000000><IMG height=50
- src="VE_files/EclipseBannerPic.jpg" width=115></TD>
- <TD width=637><A href="http://www.eclipse.org/"><IMG height=50
- src="VE_files/gradient.jpg" width=282 border=0></A></TD>
- <TD width=250><IMG height=48 src="VE_files/eproject-simple.gif"
- width=250></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
-<TABLE cellSpacing=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top align=left>
- <TABLE cellSpacing=2 cellPadding=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top noWrap align=left><FONT size=+1><B>Enter
- Bug</B></FONT> </TD></TR></TBODY></TABLE></TD>
- <TD vAlign=center>&nbsp;</TD>
- <TD vAlign=center align=left>This page lets you enter a new bug into
- Bugzilla.</TD></TR></TBODY></TABLE>
-<FORM action=post_bug.cgi method=post><INPUT type=hidden value=VE name=product>
-<TABLE cellSpacing=2 cellPadding=0 border=0>
- <TBODY>
- <TR>
- <TD><BR></TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3><!-- 1.0@bugzilla.org -->Before reporting a bug, please read
- the <A href="https://bugs.eclipse.org/bugs/bugwritinghelp.html">bug
- writing guidelines</A>, please look at the list of <A
- href="https://bugs.eclipse.org/bugs/duplicates.cgi">most frequently
- reported bugs</A>, and please <A
- href="https://bugs.eclipse.org/bugs/query.cgi">search</A> for the bug.
- </TD></TR>
- <TR>
- <TD><BR></TD></TR>
- <TR>
- <TD vAlign=top align=right><STRONG>Reporter:</STRONG></TD>
- <TD vAlign=top>tanya@cs.ubc.ca</TD>
- <TD vAlign=top align=right><STRONG>Product:</STRONG></TD>
- <TD vAlign=top>VE</TD></TR>
- <TR>
- <TD vAlign=top align=right><STRONG>Version:</STRONG> </TD>
- <TD><SELECT size=5 name=version> <OPTION value=0.5.0>0.5.0</OPTION>
- <OPTION value=1.0.0>1.0.0</OPTION> <OPTION value=unspecified
- selected>unspecified</OPTION></SELECT> </TD>
- <TD vAlign=top align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/describecomponents.cgi?product=VE">Component</A>:
- </STRONG></TD>
- <TD><SELECT size=5 name=component> <OPTION value=CDE>CDE</OPTION>
- <OPTION value=Doc>Doc</OPTION> <OPTION value="Java Core">Java
- Core</OPTION> <OPTION value="Java Model (JEM)">Java Model (JEM)</OPTION>
- <OPTION value=JFC/Swing>JFC/Swing</OPTION> <OPTION
- value=SWT>SWT</OPTION></SELECT> </TD></TR>
- <TR>
- <TD>&nbsp;</TD>
- <TD colSpan=3></TD></TR>
- <TR>
- <TD align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#rep_platform">Platform</A>:
- </STRONG></TD>
- <TD><SELECT name=rep_platform> <OPTION value=All>All</OPTION> <OPTION
- value=Macintosh>Macintosh</OPTION> <OPTION value=PC selected>PC</OPTION>
- <OPTION value="Power PC">Power PC</OPTION> <OPTION
- value=Sun>Sun</OPTION> <OPTION value=Other>Other</OPTION></SELECT> </TD>
- <TD align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#op_sys">OS</A>:
- </STRONG></TD>
- <TD><SELECT name=op_sys> <OPTION value=All>All</OPTION> <OPTION
- value="AIX Motif">AIX Motif</OPTION> <OPTION value="Windows 95">Windows
- 95</OPTION> <OPTION value="Windows 98">Windows 98</OPTION> <OPTION
- value="Windows CE">Windows CE</OPTION> <OPTION
- value="Windows ME">Windows ME</OPTION> <OPTION
- value="Windows 2000">Windows 2000</OPTION> <OPTION
- value="Windows NT">Windows NT</OPTION> <OPTION value="Windows XP"
- selected>Windows XP</OPTION> <OPTION value="Windows All">Windows
- All</OPTION> <OPTION value="MacOS X">MacOS X</OPTION> <OPTION
- value=Linux>Linux</OPTION> <OPTION value=Linux-GTK>Linux-GTK</OPTION>
- <OPTION value=Linux-Motif>Linux-Motif</OPTION> <OPTION
- value=HP-UX>HP-UX</OPTION> <OPTION value=Neutrino>Neutrino</OPTION>
- <OPTION value=QNX-Photon>QNX-Photon</OPTION> <OPTION
- value=Solaris>Solaris</OPTION> <OPTION value="Unix All">Unix
- All</OPTION> <OPTION value=other>other</OPTION></SELECT> </TD></TR>
- <TR><INPUT type=hidden value=P3 name=priority>
- <TD align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#bug_severity">Severity</A>:
- </STRONG></TD>
- <TD><SELECT name=bug_severity> <OPTION value=blocker>blocker</OPTION>
- <OPTION value=critical>critical</OPTION> <OPTION
- value=major>major</OPTION> <OPTION value=normal selected>normal</OPTION>
- <OPTION value=minor>minor</OPTION> <OPTION
- value=trivial>trivial</OPTION> <OPTION
- value=enhancement>enhancement</OPTION></SELECT> </TD></TR>
- <TR>
- <TD>&nbsp;</TD>
- <TD colSpan=3></TD></TR><INPUT type=hidden value=NEW name=bug_status>
- <TR>
- <TD align=right><STRONG><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#assigned_to">Assigned
- To</A>: </STRONG></TD>
- <TD colSpan=3><INPUT size=32 name=assigned_to> (Leave blank to assign to
- default component owner) </TD></TR>
- <TR>
- <TD align=right><STRONG>Cc:</STRONG></TD>
- <TD colSpan=3><INPUT size=45 name=cc> </TD></TR>
- <TR>
- <TD>&nbsp;</TD>
- <TD colSpan=3></TD></TR>
- <TR>
- <TD colSpan=3><INPUT type=hidden size=60 name=bug_file_loc input> </TD></TR>
- <TR>
- <TD align=right><STRONG>Summary:</STRONG></TD>
- <TD colSpan=3><INPUT size=60 name=short_desc> </TD></TR>
- <TR>
- <TD vAlign=top align=right><STRONG>Description:</STRONG></TD>
- <TD colSpan=3><TEXTAREA name=comment rows=10 wrap=hard cols=80></TEXTAREA>
- <BR></TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3></TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3><INPUT onclick="if (this.form.short_desc.value == '') &#10; { alert('Please enter a summary sentence for this bug.'); &#10; return false; } return true;" type=submit value=" Commit ">
- &nbsp;&nbsp;&nbsp;&nbsp; <INPUT type=submit value="Remember values as bookmarkable template" name=maketemplate>
- </TD></TR>
- <TR>
- <TD></TD>
- <TD colSpan=3><BR>We've made a guess at your operating system and
- platform. Please check them and, if we got it wrong, email
- webmaster@eclipse.org. </TD></TR></TBODY></TABLE><INPUT type=hidden
-value=enter_bug name=form_name> </FORM><!-- 1.0@bugzilla.org -->
-<TABLE border=0>
- <TBODY>
- <TR>
- <TD vAlign=top bgColor=#000000>
- <TABLE cellSpacing=0 cellPadding=10 width="100%" bgColor=lightyellow
- border=0>
- <TBODY>
- <TR>
- <TD>This is <B>Bugzilla</B>: the Mozilla bug system. For more
- information about what Bugzilla is and what it can do, see <A
- href="http://www.bugzilla.org/">bugzilla.org</A>. <BR><!-- 1.0@bugzilla.org -->
- <FORM action=show_bug.cgi method=get>
- <TABLE width="100%">
- <TBODY>
- <TR>
- <TD>Actions: </TD>
- <TD vAlign=center noWrap><A
- href="https://bugs.eclipse.org/bugs/enter_bug.cgi">New</A> |
- <A href="https://bugs.eclipse.org/bugs/query.cgi">Query</A> | <INPUT type=submit value=Find> bug # <INPUT size=6 name=id> |
- <A
- href="https://bugs.eclipse.org/bugs/reports.cgi">Reports</A> |
- <A
- href="https://bugs.eclipse.org/bugs/votes.cgi?action=show_user">My
- Votes</A> </TD>
- <TD>&nbsp;</TD>
- <TD vAlign=center>Edit <A
- href="https://bugs.eclipse.org/bugs/userprefs.cgi">prefs</A> |
- <A
- href="https://bugs.eclipse.org/bugs/relogin.cgi">Log&nbsp;out</A>&nbsp;tanya@cs.ubc.ca
- </TD></TR>
- <TR>
- <TD>Preset&nbsp;Queries: </TD>
- <TD colSpan=3><A
- href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=tanya%40cs.ubc.ca&amp;emailtype1=exact&amp;emailassigned_to1=1&amp;emailreporter1=1">My&nbsp;Bugs</A>
- </TD></TR></TBODY></TABLE></FORM></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/1.html b/org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/1.html
deleted file mode 100644
index cf50a3d46..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/1.html
+++ /dev/null
@@ -1,377 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- saved from url=(0050)https://bugs.eclipse.org/bugs/show_bug.cgi?id=4548 -->
-<!-- 1.0@bugzilla.org --><!-- 1.0@bugzilla.org --><HTML><HEAD><TITLE>Bug 4548 - DCR: TableTree should support icon in 1st column (1G06WFT)</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><LINK
-href="show_bug.cgi?id=36310" rel=Next><LINK href="show_bug.cgi?id=76101"
-rel=Last><LINK href="buglist.cgi?regetlastlist=1" rel=Up><LINK
-href="buglist.cgi?regetlastlist=1" rel=Contents>
-<META content="MSHTML 6.00.2800.1476" name=GENERATOR></HEAD>
-<BODY text=#000000 vLink=#551a8b aLink=#ff0000 link=#0000ee bgColor=#ffffff
-onload=""><!-- 1.0@bugzilla.org -->
-<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
- <TBODY>
- <TR>
- <TD width="100%">
- <TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#006699
- border=0><TBODY>
- <TR>
- <TD width=116 bgColor=#000000><IMG height=50
- src="4548_files/EclipseBannerPic.jpg" width=115></TD>
- <TD width=637><A href="http://www.eclipse.org/"><IMG height=50
- src="4548_files/gradient.jpg" width=282 border=0></A></TD>
- <TD width=250><IMG height=48 src="4548_files/eproject-simple.gif"
- width=250></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
-<TABLE cellSpacing=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top align=left>
- <TABLE cellSpacing=2 cellPadding=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top noWrap align=left><FONT size=+1><B>Bugzilla Bug
- 4548</B></FONT> </TD></TR></TBODY></TABLE></TD>
- <TD vAlign=center>&nbsp;</TD>
- <TD vAlign=center align=left>DCR: TableTree should support icon in 1st
- column (1G06WFT)</TD></TR></TBODY></TABLE><!-- 1.0@bugzilla.org --><B>Bug
-List:</B> <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=36310">First</A> <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=76101">Last</A> (This bug is
-not in your list) &nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/buglist.cgi?regetlastlist=1">Show list</A>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/query.cgi">Query page</A>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/enter_bug.cgi">Enter new bug</A>
-<HR>
-
-<FORM name=changeform action=process_bug.cgi method=post><INPUT type=hidden
-value=20020527161709 name=delta_ts> <INPUT type=hidden value=2
-name=longdesclength> <INPUT type=hidden value=4548 name=id>
-<TABLE cellSpacing=1 cellPadding=1 border=0>
- <TBODY>
- <TR>
- <TD align=right><B>Bug#:</B> </TD>
- <TD><A href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=4548">4548</A>
- </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>Platform:</B> </TD>
- <TD><SELECT name=rep_platform> <OPTION value=All selected>All</OPTION>
- <OPTION value=Macintosh>Macintosh</OPTION> <OPTION value=PC>PC</OPTION>
- <OPTION value="Power PC">Power PC</OPTION> <OPTION
- value=Sun>Sun</OPTION> <OPTION value=Other>Other</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>Reporter:</B> </TD>
- <TD>erich_gamma@ch.ibm.com (Erich Gamma) </TD></TR>
- <TR>
- <TD align=right><B>Product:</B> </TD>
- <TD><SELECT name=product> <OPTION value=AJDT>AJDT</OPTION> <OPTION
- value=AspectJ>AspectJ</OPTION> <OPTION value=Birt>Birt</OPTION> <OPTION
- value=CDT>CDT</OPTION> <OPTION value=CME>CME</OPTION> <OPTION
- value=Community>Community</OPTION> <OPTION value=ECESIS>ECESIS</OPTION>
- <OPTION value=ECF>ECF</OPTION> <OPTION value=EMF>EMF</OPTION> <OPTION
- value=Equinox>Equinox</OPTION> <OPTION value=ERCP>ERCP</OPTION> <OPTION
- value=GEF>GEF</OPTION> <OPTION value=GMT>GMT</OPTION> <OPTION
- value=Hyades>Hyades</OPTION> <OPTION value=JDT>JDT</OPTION> <OPTION
- value=OMELET>OMELET</OPTION> <OPTION value=PDE>PDE</OPTION> <OPTION
- value=Platform selected>Platform</OPTION> <OPTION
- value=Pollinate>Pollinate</OPTION> <OPTION
- value=Stellation>Stellation</OPTION> <OPTION value=UML2>UML2</OPTION>
- <OPTION value=VE>VE</OPTION> <OPTION value="Web Tools">Web
- Tools</OPTION> <OPTION value=WSVT>WSVT</OPTION> <OPTION
- value=XSD>XSD</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>OS:</B> </TD>
- <TD><SELECT name=op_sys> <OPTION value=All selected>All</OPTION> <OPTION
- value="AIX Motif">AIX Motif</OPTION> <OPTION value="Windows 95">Windows
- 95</OPTION> <OPTION value="Windows 98">Windows 98</OPTION> <OPTION
- value="Windows CE">Windows CE</OPTION> <OPTION
- value="Windows ME">Windows ME</OPTION> <OPTION
- value="Windows 2000">Windows 2000</OPTION> <OPTION
- value="Windows NT">Windows NT</OPTION> <OPTION
- value="Windows XP">Windows XP</OPTION> <OPTION
- value="Windows All">Windows All</OPTION> <OPTION value="MacOS X">MacOS
- X</OPTION> <OPTION value=Linux>Linux</OPTION> <OPTION
- value=Linux-GTK>Linux-GTK</OPTION> <OPTION
- value=Linux-Motif>Linux-Motif</OPTION> <OPTION
- value=HP-UX>HP-UX</OPTION> <OPTION value=Neutrino>Neutrino</OPTION>
- <OPTION value=QNX-Photon>QNX-Photon</OPTION> <OPTION
- value=Solaris>Solaris</OPTION> <OPTION
- value=Solaris-GTK>Solaris-GTK</OPTION> <OPTION
- value=Solaris-Motif>Solaris-Motif</OPTION> <OPTION value="Unix All">Unix
- All</OPTION> <OPTION value=other>other</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>Add&nbsp;CC:</B> </TD>
- <TD><INPUT size=30 name=newcc> </TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/describecomponents.cgi?product=Platform">Component</A>:
- </B></TD>
- <TD><SELECT name=component> <OPTION value=Ant>Ant</OPTION> <OPTION
- value=Compare>Compare</OPTION> <OPTION value=CVS>CVS</OPTION> <OPTION
- value=Debug>Debug</OPTION> <OPTION value=Doc>Doc</OPTION> <OPTION
- value=Help>Help</OPTION> <OPTION value=Intro>Intro</OPTION> <OPTION
- value=Releng>Releng</OPTION> <OPTION value=Resources>Resources</OPTION>
- <OPTION value=Runtime>Runtime</OPTION> <OPTION
- value=Scripting>Scripting</OPTION> <OPTION value=Search>Search</OPTION>
- <OPTION value=SWT selected>SWT</OPTION> <OPTION value=Team>Team</OPTION>
- <OPTION value=Text>Text</OPTION> <OPTION value=UI>UI</OPTION> <OPTION
- value=Update>Update</OPTION> <OPTION value=WebDAV>WebDAV</OPTION></SELECT>
- </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>Version:</B> </TD>
- <TD><SELECT name=version> <OPTION value=1.0>1.0</OPTION> <OPTION
- value=2.0 selected>2.0</OPTION> <OPTION value=2.0.1>2.0.1</OPTION>
- <OPTION value=2.0.2>2.0.2</OPTION> <OPTION value=2.1>2.1</OPTION>
- <OPTION value=2.1.1>2.1.1</OPTION> <OPTION value=2.1.2>2.1.2</OPTION>
- <OPTION value=2.1.3>2.1.3</OPTION> <OPTION value=3.0>3.0</OPTION>
- <OPTION value=3.0.1>3.0.1</OPTION> <OPTION value=3.1>3.1</OPTION></SELECT>
- </TD>
- <TD>&nbsp;</TD>
- <TD vAlign=top align=right rowSpan=4><B>CC:</B> </TD>
- <TD vAlign=top rowSpan=4><INPUT type=hidden name=cc> </TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html">Status</A>: </B></TD>
- <TD>RESOLVED</TD>
- <TD>&nbsp;</TD>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#priority">Priority</A>:</B>
- </TD>
- <TD><SELECT name=priority> <OPTION value=P1>P1</OPTION> <OPTION
- value=P2>P2</OPTION> <OPTION value=P3>P3</OPTION> <OPTION
- value=P4>P4</OPTION> <OPTION value=P5 selected>P5</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html">Resolution</A>:
- </B></TD>
- <TD>WONTFIX</TD>
- <TD>&nbsp;</TD>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#severity">Severity</A>:</B>
- </TD>
- <TD><SELECT name=bug_severity> <OPTION value=blocker>blocker</OPTION>
- <OPTION value=critical>critical</OPTION> <OPTION
- value=major>major</OPTION> <OPTION value=normal selected>normal</OPTION>
- <OPTION value=minor>minor</OPTION> <OPTION
- value=trivial>trivial</OPTION> <OPTION
- value=enhancement>enhancement</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#assigned_to">Assigned&nbsp;To</A>:
- </B></TD>
- <TD>veronika_irvine@ca.ibm.com (Veronika Irvine)</TD>
- <TD>&nbsp;</TD>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/notargetmilestone.html">Target
- Milestone</A>: </B></TD>
- <TD><SELECT name=target_milestone> <OPTION value="2.0 M1">2.0
- M1</OPTION> <OPTION value="2.0 M2">2.0 M2</OPTION> <OPTION
- value="2.0 M3">2.0 M3</OPTION> <OPTION value="2.0 M4">2.0 M4</OPTION>
- <OPTION value="2.0 M5">2.0 M5</OPTION> <OPTION value="2.0 M6">2.0
- M6</OPTION> <OPTION value="2.0 F1">2.0 F1</OPTION> <OPTION
- value="2.0 F2">2.0 F2</OPTION> <OPTION value="2.0 F3">2.0 F3</OPTION>
- <OPTION value="2.0 F4">2.0 F4</OPTION> <OPTION
- value=2.0.1>2.0.1</OPTION> <OPTION value=2.0.2>2.0.2</OPTION> <OPTION
- value=2.1>2.1</OPTION> <OPTION value="2.1 M1">2.1 M1</OPTION> <OPTION
- value="2.1 M2">2.1 M2</OPTION> <OPTION value="2.1 M3">2.1 M3</OPTION>
- <OPTION value="2.1 M4">2.1 M4</OPTION> <OPTION value="2.1 M5">2.1
- M5</OPTION> <OPTION value="2.1 RC1">2.1 RC1</OPTION> <OPTION
- value="2.1 RC2">2.1 RC2</OPTION> <OPTION value="2.1 RC3">2.1
- RC3</OPTION> <OPTION value="2.1 RC4">2.1 RC4</OPTION> <OPTION
- value=2.1.1>2.1.1</OPTION> <OPTION value=2.1.2>2.1.2</OPTION> <OPTION
- value=2.1.3>2.1.3</OPTION> <OPTION value=3.0>3.0</OPTION> <OPTION
- value="3.0 M1">3.0 M1</OPTION> <OPTION value="3.0 M2">3.0 M2</OPTION>
- <OPTION value="3.0 M3">3.0 M3</OPTION> <OPTION value="3.0 M4">3.0
- M4</OPTION> <OPTION value="3.0 M5">3.0 M5</OPTION> <OPTION
- value="3.0 M6">3.0 M6</OPTION> <OPTION value="3.0 M7">3.0 M7</OPTION>
- <OPTION value="3.0 M8">3.0 M8</OPTION> <OPTION value="3.0 M9">3.0
- M9</OPTION> <OPTION value="3.0 RC1">3.0 RC1</OPTION> <OPTION
- value="3.0 RC2">3.0 RC2</OPTION> <OPTION value="3.0 RC3">3.0
- RC3</OPTION> <OPTION value="3.0 RC4">3.0 RC4</OPTION> <OPTION
- value=3.0.1>3.0.1</OPTION> <OPTION value=3.0.2>3.0.2</OPTION> <OPTION
- value=3.1>3.1</OPTION> <OPTION value="3.1 M1">3.1 M1</OPTION> <OPTION
- value="3.1 M2">3.1 M2</OPTION> <OPTION value="3.1 M3">3.1 M3</OPTION>
- <OPTION value="3.1 M4">3.1 M4</OPTION> <OPTION value="3.1 M5">3.1
- M5</OPTION> <OPTION value="3.1 M6">3.1 M6</OPTION> <OPTION value=---
- selected>---</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD></TR>
- <TR>
- <TD align=right><B>URL: </B></TD>
- <TD colSpan=7><INPUT size=60 name=bug_file_loc> </TD></TR>
- <TR>
- <TD align=right><B>Summary:</B> </TD>
- <TD colSpan=7><INPUT size=60
- value="DCR: TableTree should support icon in 1st column (1G06WFT)"
- name=short_desc> </TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/describekeywords.cgi">Keywords</A>:
- </B>
- <TD colSpan=7><INPUT size=60 name=keywords> </TD></TR></TBODY></TABLE><!-- 1.0@bugzilla.org --><BR>
-<TABLE cellSpacing=0 cellPadding=4 border=1>
- <TBODY>
- <TR>
- <TH align=left bgColor=#cccccc>Attachment</TH>
- <TH align=left bgColor=#cccccc>Type</TH>
- <TH align=left bgColor=#cccccc>Modified</TH>
- <TH align=left bgColor=#cccccc>Status</TH>
- <TH align=left bgColor=#cccccc>Actions</TH></TR>
- <TR>
- <TD colSpan=4><A
- href="https://bugs.eclipse.org/bugs/attachment.cgi?bugid=4548&amp;action=enter">Create
- a New Attachment</A> (proposed patch, testcase, etc.) </TD>
- <TD><A
- href="https://bugs.eclipse.org/bugs/attachment.cgi?bugid=4548&amp;action=viewall">View
- All</A> </TD></TR></TBODY></TABLE><BR>
-<TABLE>
- <TBODY>
- <TR>
- <TH align=right>Bug 4548 depends on:</TH>
- <TD></TD>
- <TD><INPUT name=dependson> </TD>
- <TD rowSpan=2><A
- href="https://bugs.eclipse.org/bugs/showdependencytree.cgi?id=4548">Show
- dependency tree</A> </TD></TR>
- <TR>
- <TH align=right>Bug 4548 blocks:</TH>
- <TD></TD>
- <TD><INPUT name=blocked> </TD></TR></TBODY></TABLE>
-<TABLE>
- <TBODY>
- <TR>
- <TH><A href="https://bugs.eclipse.org/bugs/votehelp.html">Votes</A>: </TH>
- <TD>0&nbsp;&nbsp;&nbsp; <A
- href="https://bugs.eclipse.org/bugs/votes.cgi?action=show_bug&amp;bug_id=4548">Show
- votes for this bug</A>&nbsp;&nbsp;&nbsp; <A
- href="https://bugs.eclipse.org/bugs/votes.cgi?action=show_user&amp;bug_id=4548">Vote
- for this bug</A> </TD></TR></TBODY></TABLE><BR><B>Additional Comments:</B> <BR><TEXTAREA accessKey=c name=comment rows=10 wrap=hard cols=80></TEXTAREA>
-<BR><BR><INPUT type=radio CHECKED value=none name=knob> Leave as
-<B>RESOLVED&nbsp;WONTFIX</B> <BR><INPUT type=radio value=reopen name=knob>
-Reopen bug <BR><INPUT type=radio value=verify name=knob> Mark bug as
-<B>VERIFIED</B><BR><INPUT type=radio value=close name=knob> Mark bug as
-<B>CLOSED</B><BR><INPUT type=submit value=Commit> <INPUT type=hidden
-value=process_bug name=form_name>
-<P><FONT size=+1><B><A
-href="https://bugs.eclipse.org/bugs/show_activity.cgi?id=4548">View Bug
-Activity</A> &nbsp; | &nbsp; <A
-href="https://bugs.eclipse.org/bugs/long_list.cgi?buglist=4548">Format For
-Printing</A> </B></FONT></P></FORM>
-<TABLE>
- <TBODY>
- <TR>
- <TD align=left><B><A
- href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=4548#c0"
- name=c0>Description</A>: </B></TD>
- <TD align=right width="100%">Opened: 2001-10-11 14:18 </TD></TR></TBODY></TABLE>
-<HR>
-<!-- 1.0@bugzilla.org --><PRE>EG (8/24/00 3:41:25 PM)
- TableTree doesn't support showing an icon in the first column. The icon is eaten up
- by the +/- icon.
- Not being able to have an icon in the first column reduces the applicability
- of TableTree (we would like to use it in the Java plugin, but we can't).
-
-NOTES:
-
-VI (8/24/00 10:54:39 AM)
- TableTree is implemented using the Windows table widget and this only allows
- one image per column. Sorry, there's nothing we can do.
-
-AW (24.08.00 17:31:06)
- Why not combining the +/- icon with the client's icon into a single icon?
-
-EG (8/29/00 3:35:01 PM)
- JFace has support for compositing icons see:
- com.ibm.jface.examples.compositeimage.CompositeImageExample
-
-CM (3/17/01 5:29:49 PM)
- P1/M1 (April 1st, 2001)
- Need to know the priority of 1GAJ9KP: SWT:ALL - TableTree class has no selection support for the SWT.CHECK style
- because these two PRs may conflict.
-
-CM (3/28/01 5:09:33 PM)
- We investigated using the Windows "state image" feature in Table, but this is already being used by
- checkboxes if the Table is created with check style. It would also mean that we would have to provide
- platform-specific public API on Table to allow TableTree class to set/get state images. So we decided
- against this.
-
- VI is going to investigate merging the [+]/[-] images with the user's image. We would try to write it
- in such a way that only those who actually put an image in the first column would have to pay for
- the added slowness. We suspect there may be issues such as background color/transparency
- problems, hit test problems, selection highlight problems, and cheese problems, but we will have
- to try it first before we know for sure.
-
-VI (4/4/2001 10:41:59 AM)
- Two major issues which prevent us from merging the [+]/[-] with the user's image and using the normal first column image:
- 1) Images of different sizes can be added to the control, however the size of the image displayed in the associated
- Windows Common Control will be constrained to the size of the first image added to the ImageList.
- Images for all columns are added to the same ImageList and therefore must have the exact same height and WIDTH.
- This makes merging the +/- and the first column image have impact on every image in the TableTree
- 2) There is a limit to how may images I can cram in the ImageList. Having potentially 3 per row I think will quickly exceed the limit.
-
-VI (4/4/2001 05:20 PM)
-
- We have a PR that requests support for an image in the first column of a TableTree and I believe that you
- are the prime requestor.
-
- I have tried to make this work and below is the best I can do. As you can see, there is a limitation on the
- underlying native widget which is that all images in the TableTree must have the exact same height and width.
- Consequently, when I leave enough room to merge the +/- image with the image you wish to show in the first column,
- this causes all the other images in the TableTree to be stretched width wise.
-
- &lt;picture&gt;
-
- It is my opinion that the current TableTree can not be made to work any better than this. If this is not
- adequate for your use, the only alternative is to write a custom widget that does this and does not
- use the native widget. Writing a full custom widget is not trivial. It will probably require a month or
- two and will probably not give all the capability that is present in native List or Tree widgets (just
- because there are a lot of subtle things going on there and I won't have time to get them all). I need
- to know if I should commence with a custom widget. Also, as I have other responsibilities, Mike and I will
- have to discuss which of them will be set aside before I can do this work.
-
-VI (4/27/2001 8:42:19 AM)
- Have received no feedback requesting a custom Tree or implementation of the solution presented above.
- Moving to Inactive.</PRE><BR><I>------- Additional Comment <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=4548#c1" name=c1>#1</A> From
-<A href="mailto:veronika_irvine@ca.ibm.com">Veronika Irvine</A> 2002-05-27 16:17
-------- </I><PRE>java.lang.NullPointerException Closing this bug report. A new DCR should be raised from a better custom table
-tree.</PRE>
-<HR>
-<!-- 1.0@bugzilla.org --><B>Bug List:</B> <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=36310">First</A> <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=76101">Last</A> (This bug is
-not in your list) &nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/buglist.cgi?regetlastlist=1">Show list</A>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/query.cgi">Query page</A>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/enter_bug.cgi">Enter new bug</A> <BR><!-- 1.0@bugzilla.org -->
-<TABLE border=0>
- <TBODY>
- <TR>
- <TD vAlign=top bgColor=#000000>
- <TABLE cellSpacing=0 cellPadding=10 width="100%" bgColor=lightyellow
- border=0>
- <TBODY>
- <TR>
- <TD>This is <B>Bugzilla</B>: the Mozilla bug system. For more
- information about what Bugzilla is and what it can do, see <A
- href="http://www.bugzilla.org/">bugzilla.org</A>. <BR><!-- 1.0@bugzilla.org -->
- <FORM action=show_bug.cgi method=get>
- <TABLE width="100%">
- <TBODY>
- <TR>
- <TD>Actions: </TD>
- <TD vAlign=center noWrap><A
- href="https://bugs.eclipse.org/bugs/enter_bug.cgi">New</A> |
- <A href="https://bugs.eclipse.org/bugs/query.cgi">Query</A> | <INPUT type=submit value=Find> bug # <INPUT size=6 name=id> |
- <A
- href="https://bugs.eclipse.org/bugs/reports.cgi">Reports</A>
- </TD>
- <TD>&nbsp;</TD>
- <TD vAlign=center align=right><A
- href="https://bugs.eclipse.org/bugs/createaccount.cgi">New&nbsp;Account</A>
- | <A
- href="https://bugs.eclipse.org/bugs/query.cgi?GoAheadAndLogIn=1">Log&nbsp;In</A>
- </TD></TR></TBODY></TABLE></FORM></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/2.html b/org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/2.html
deleted file mode 100644
index 6bae80545..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/2.html
+++ /dev/null
@@ -1,406 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- saved from url=(0051)https://bugs.eclipse.org/bugs/show_bug.cgi?id=76146 -->
-<!-- 1.0@bugzilla.org --><!-- 1.0@bugzilla.org --><HTML><HEAD><TITLE>Bug 76146 - NPE using quickfix in Aspect opened with java editor</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><LINK
-href="show_bug.cgi?id=36310" rel=Next><LINK href="show_bug.cgi?id=76101"
-rel=Last><LINK href="buglist.cgi?regetlastlist=1" rel=Up><LINK
-href="buglist.cgi?regetlastlist=1" rel=Contents>
-<META content="MSHTML 6.00.2800.1476" name=GENERATOR></HEAD>
-<BODY text=#000000 vLink=#551a8b aLink=#ff0000 link=#0000ee bgColor=#ffffff
-onload=""><!-- 1.0@bugzilla.org -->
-<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
- <TBODY>
- <TR>
- <TD width="100%">
- <TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#006699
- border=0><TBODY>
- <TR>
- <TD width=116 bgColor=#000000><IMG height=50
- src="76146_files/EclipseBannerPic.jpg" width=115></TD>
- <TD width=637><A href="http://www.eclipse.org/"><IMG height=50
- src="76146_files/gradient.jpg" width=282 border=0></A></TD>
- <TD width=250><IMG height=48 src="76146_files/eproject-simple.gif"
- width=250></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
-<TABLE cellSpacing=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top align=left>
- <TABLE cellSpacing=2 cellPadding=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top noWrap align=left><FONT size=+1><B>Bugzilla Bug
- 76146</B></FONT> </TD></TR></TBODY></TABLE></TD>
- <TD vAlign=center>&nbsp;</TD>
- <TD vAlign=center align=left>NPE using quickfix in Aspect opened with java
- editor</TD></TR></TBODY></TABLE><!-- 1.0@bugzilla.org --><B>Bug List:</B> <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=36310">First</A> <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=76101">Last</A> (This bug is
-not in your list) &nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/buglist.cgi?regetlastlist=1">Show list</A>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/query.cgi">Query page</A>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/enter_bug.cgi">Enter new bug</A>
-<HR>
-
-<FORM name=changeform action=process_bug.cgi method=post><INPUT type=hidden
-value=20041013045125 name=delta_ts> <INPUT type=hidden value=1
-name=longdesclength> <INPUT type=hidden value=76146 name=id>
-<TABLE cellSpacing=1 cellPadding=1 border=0>
- <TBODY>
- <TR>
- <TD align=right><B>Bug#:</B> </TD>
- <TD><A
- href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=76146">76146</A> </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>Platform:</B> </TD>
- <TD><SELECT name=rep_platform> <OPTION value=All>All</OPTION> <OPTION
- value=Macintosh>Macintosh</OPTION> <OPTION value=PC selected>PC</OPTION>
- <OPTION value="Power PC">Power PC</OPTION> <OPTION
- value=Sun>Sun</OPTION> <OPTION value=Other>Other</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>Reporter:</B> </TD>
- <TD>hawkinsh@uk.ibm.com (Helen Hawkins) </TD></TR>
- <TR>
- <TD align=right><B>Product:</B> </TD>
- <TD><SELECT name=product> <OPTION value=AJDT selected>AJDT</OPTION>
- <OPTION value=AspectJ>AspectJ</OPTION> <OPTION value=Birt>Birt</OPTION>
- <OPTION value=CDT>CDT</OPTION> <OPTION value=CME>CME</OPTION> <OPTION
- value=Community>Community</OPTION> <OPTION value=ECESIS>ECESIS</OPTION>
- <OPTION value=ECF>ECF</OPTION> <OPTION value=EMF>EMF</OPTION> <OPTION
- value=Equinox>Equinox</OPTION> <OPTION value=ERCP>ERCP</OPTION> <OPTION
- value=GEF>GEF</OPTION> <OPTION value=GMT>GMT</OPTION> <OPTION
- value=Hyades>Hyades</OPTION> <OPTION value=JDT>JDT</OPTION> <OPTION
- value=OMELET>OMELET</OPTION> <OPTION value=PDE>PDE</OPTION> <OPTION
- value=Platform>Platform</OPTION> <OPTION
- value=Pollinate>Pollinate</OPTION> <OPTION
- value=Stellation>Stellation</OPTION> <OPTION value=UML2>UML2</OPTION>
- <OPTION value=VE>VE</OPTION> <OPTION value="Web Tools">Web
- Tools</OPTION> <OPTION value=WSVT>WSVT</OPTION> <OPTION
- value=XSD>XSD</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>OS:</B> </TD>
- <TD><SELECT name=op_sys> <OPTION value=All>All</OPTION> <OPTION
- value="AIX Motif">AIX Motif</OPTION> <OPTION value="Windows 95">Windows
- 95</OPTION> <OPTION value="Windows 98">Windows 98</OPTION> <OPTION
- value="Windows CE">Windows CE</OPTION> <OPTION
- value="Windows ME">Windows ME</OPTION> <OPTION
- value="Windows 2000">Windows 2000</OPTION> <OPTION
- value="Windows NT">Windows NT</OPTION> <OPTION value="Windows XP"
- selected>Windows XP</OPTION> <OPTION value="Windows All">Windows
- All</OPTION> <OPTION value="MacOS X">MacOS X</OPTION> <OPTION
- value=Linux>Linux</OPTION> <OPTION value=Linux-GTK>Linux-GTK</OPTION>
- <OPTION value=Linux-Motif>Linux-Motif</OPTION> <OPTION
- value=HP-UX>HP-UX</OPTION> <OPTION value=Neutrino>Neutrino</OPTION>
- <OPTION value=QNX-Photon>QNX-Photon</OPTION> <OPTION
- value=Solaris>Solaris</OPTION> <OPTION
- value=Solaris-GTK>Solaris-GTK</OPTION> <OPTION
- value=Solaris-Motif>Solaris-Motif</OPTION> <OPTION value="Unix All">Unix
- All</OPTION> <OPTION value=other>other</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>Add&nbsp;CC:</B> </TD>
- <TD><INPUT size=30 name=newcc> </TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/describecomponents.cgi?product=AJDT">Component</A>:
- </B></TD>
- <TD><SELECT name=component> <OPTION value=Core>Core</OPTION> <OPTION
- value=Doc>Doc</OPTION> <OPTION value=UI selected>UI</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>Version:</B> </TD>
- <TD><SELECT name=version> <OPTION value=1.1.11>1.1.11</OPTION> <OPTION
- value=1.1.12 selected>1.1.12</OPTION> <OPTION value=1.1.3>1.1.3</OPTION>
- <OPTION value=1.1.4>1.1.4</OPTION> <OPTION value=1.1.7>1.1.7</OPTION>
- <OPTION value=1.2.0>1.2.0</OPTION> <OPTION value="1.2.0 M1">1.2.0
- M1</OPTION> <OPTION value=unspecified>unspecified</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD>
- <TD vAlign=top align=right rowSpan=4><B>CC:</B> </TD>
- <TD vAlign=top rowSpan=4><INPUT type=hidden name=cc> </TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html">Status</A>: </B></TD>
- <TD>NEW</TD>
- <TD>&nbsp;</TD>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#priority">Priority</A>:</B>
- </TD>
- <TD><SELECT name=priority> <OPTION value=P1>P1</OPTION> <OPTION
- value=P2>P2</OPTION> <OPTION value=P3 selected>P3</OPTION> <OPTION
- value=P4>P4</OPTION> <OPTION value=P5>P5</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html">Resolution</A>:
- </B></TD>
- <TD></TD>
- <TD>&nbsp;</TD>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#severity">Severity</A>:</B>
- </TD>
- <TD><SELECT name=bug_severity> <OPTION value=blocker>blocker</OPTION>
- <OPTION value=critical>critical</OPTION> <OPTION
- value=major>major</OPTION> <OPTION value=normal selected>normal</OPTION>
- <OPTION value=minor>minor</OPTION> <OPTION
- value=trivial>trivial</OPTION> <OPTION
- value=enhancement>enhancement</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#assigned_to">Assigned&nbsp;To</A>:
- </B></TD>
- <TD>mchapman@uk.ibm.com (Matt Chapman)</TD>
- <TD>&nbsp;</TD>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/notargetmilestone.html">Target
- Milestone</A>: </B></TD>
- <TD><SELECT name=target_milestone> <OPTION value=---
- selected>---</OPTION> <OPTION value=1.1.12>1.1.12</OPTION> <OPTION
- value=1.1.13>1.1.13</OPTION> <OPTION value=1.1.3>1.1.3</OPTION> <OPTION
- value=1.1.4>1.1.4</OPTION> <OPTION value=1.2.0>1.2.0</OPTION> <OPTION
- value="1.2.0 M1">1.2.0 M1</OPTION> <OPTION value="1.2.0 M2">1.2.0
- M2</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD></TR>
- <TR>
- <TD align=right><B>URL: </B></TD>
- <TD colSpan=7><INPUT size=60 name=bug_file_loc> </TD></TR>
- <TR>
- <TD align=right><B>Summary:</B> </TD>
- <TD colSpan=7><INPUT size=60
- value="NPE using quickfix in Aspect opened with java editor"
- name=short_desc> </TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/describekeywords.cgi">Keywords</A>:
- </B>
- <TD colSpan=7><INPUT size=60 name=keywords> </TD></TR></TBODY></TABLE><!-- 1.0@bugzilla.org --><BR>
-<TABLE cellSpacing=0 cellPadding=4 border=1>
- <TBODY>
- <TR>
- <TH align=left bgColor=#cccccc>Attachment</TH>
- <TH align=left bgColor=#cccccc>Type</TH>
- <TH align=left bgColor=#cccccc>Modified</TH>
- <TH align=left bgColor=#cccccc>Status</TH>
- <TH align=left bgColor=#cccccc>Actions</TH></TR>
- <TR>
- <TD colSpan=4><A
- href="https://bugs.eclipse.org/bugs/attachment.cgi?bugid=76146&amp;action=enter">Create
- a New Attachment</A> (proposed patch, testcase, etc.) </TD>
- <TD><A
- href="https://bugs.eclipse.org/bugs/attachment.cgi?bugid=76146&amp;action=viewall">View
- All</A> </TD></TR></TBODY></TABLE><BR>
-<TABLE>
- <TBODY>
- <TR>
- <TH align=right>Bug 76146 depends on:</TH>
- <TD></TD>
- <TD><INPUT name=dependson> </TD>
- <TD rowSpan=2><A
- href="https://bugs.eclipse.org/bugs/showdependencytree.cgi?id=76146">Show
- dependency tree</A> </TD></TR>
- <TR>
- <TH align=right>Bug 76146 blocks:</TH>
- <TD></TD>
- <TD><INPUT name=blocked> </TD></TR></TBODY></TABLE><BR><B>Additional
-Comments:</B> <BR><TEXTAREA accessKey=c name=comment rows=10 wrap=hard cols=80></TEXTAREA>
-<BR><BR><INPUT type=radio CHECKED value=none name=knob> Leave as
-<B>NEW&nbsp;</B> <BR><INPUT type=radio value=accept name=knob> Accept bug
-(change status to <B>ASSIGNED</B>) <BR><INPUT type=radio value=resolve
-name=knob> Resolve bug, changing <A
-href="https://bugs.eclipse.org/bugs/bug_status.html">resolution</A> to <SELECT
-onchange=document.changeform.knob[2].checked=true name=resolution> <OPTION
- value=FIXED selected>FIXED</OPTION> <OPTION value=INVALID>INVALID</OPTION>
- <OPTION value=WONTFIX>WONTFIX</OPTION> <OPTION value=LATER>LATER</OPTION>
- <OPTION value=REMIND>REMIND</OPTION> <OPTION
- value=WORKSFORME>WORKSFORME</OPTION></SELECT> <BR><INPUT type=radio
-value=duplicate name=knob> Resolve bug, mark it as duplicate of bug # <INPUT
-onchange="if (this.value != '')&#10; {document.changeform.knob[3].checked=true}"
-size=6 name=dup_id> <BR><INPUT type=radio value=reassign name=knob> <A
-href="https://bugs.eclipse.org/bugs/bug_status.html#assigned_to">Reassign</A>
-bug to <INPUT
-onchange="if ((this.value != 'mchapman@uk.ibm.com') &amp;&amp; &#10; (this.value != '')) {&#10; document.changeform.knob[4].checked=true; &#10; }"
-size=32 value=mchapman@uk.ibm.com name=assigned_to> <BR><INPUT type=radio
-value=reassignbycomponent name=knob> Reassign bug to owner of selected component
-<BR><INPUT type=submit value=Commit> <INPUT type=hidden value=process_bug
-name=form_name>
-<P><FONT size=+1><B><A
-href="https://bugs.eclipse.org/bugs/show_activity.cgi?id=76146">View Bug
-Activity</A> &nbsp; | &nbsp; <A
-href="https://bugs.eclipse.org/bugs/long_list.cgi?buglist=76146">Format For
-Printing</A> </B></FONT></P></FORM>
-<TABLE>
- <TBODY>
- <TR>
- <TD align=left><B><A
- href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=76146#c0"
- name=c0>Description</A>: </B></TD>
- <TD align=right width="100%">Opened: 2004-10-13 04:51 </TD></TR></TBODY></TABLE>
-<HR>
-<!-- 1.0@bugzilla.org --><PRE>To recreate:
-
-- Check out the QuickFix project from ajdt.test project
-java.lang.NullPointerException- Open TestAspect.java in the Java Editor (right click &gt; open with &gt; Java
-Editor)
-- Click on the lightbulb with the error marker (the same line as File f = new
-File("tmp");
-java.lang.NullPointerException- An Internal Error appear in the Error log with the following stack trace:
-
-
-
-java.lang.NullPointerException
-at
-org.eclipse.jdt.internal.ui.text.correction.UnresolvedElementsSubProcessor.getT
-ypeProposals(UnresolvedElementsSubProcessor.java:395)
-at org.eclipse.jdt.internal.ui.text.correction.QuickFixProcessor.process
-(QuickFixProcessor.java:270)
-at org.eclipse.jdt.internal.ui.text.correction.QuickFixProcessor.getCorrections
-(QuickFixProcessor.java:202)
-at
-org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.collectCorr
-ections(JavaCorrectionProcessor.java:240)
-at
-org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.processAnno
-tations(JavaCorrectionProcessor.java:208)
-at
-org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.computeComp
-letionProposals(JavaCorrectionProcessor.java:177)
-at
-org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposal
-s(ContentAssistant.java:1472)
-at
-org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals
-(CompletionProposalPopup.java:242)
-at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$7
-(CompletionProposalPopup.java:238)
-at org.eclipse.jface.text.contentassist.CompletionProposalPopup$1.run
-(CompletionProposalPopup.java:197)
-at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
-at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals
-(CompletionProposalPopup.java:192)
-at
-org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions
-(ContentAssistant.java:1320)
-at
-org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionAssistant.showPossibl
-eCompletions(JavaCorrectionAssistant.java:159)
-at
-org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewe
-r.doOperation(CompilationUnitEditor.java:184)
-at org.eclipse.jdt.internal.ui.javaeditor.JavaSelectAnnotationRulerAction.run
-(JavaSelectAnnotationRulerAction.java:78)
-at org.eclipse.ui.texteditor.AbstractRulerActionDelegate.run
-(AbstractRulerActionDelegate.java:99)
-at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276)
-at org.eclipse.ui.internal.PluginAction.run(PluginAction.java:238)
-at org.eclipse.ui.texteditor.AbstractTextEditor$11.triggerAction
-(AbstractTextEditor.java:2110)
-at org.eclipse.ui.texteditor.AbstractTextEditor$11.mouseUp
-(AbstractTextEditor.java:2117)
-at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:136)
-at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
-at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
-at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
-at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
-at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
-at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
-at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
-at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
-at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
-at org.eclipse.core.internal.runtime.PlatformActivator$1.run
-(PlatformActivator.java:335)
-at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
-at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
-at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-at sun.reflect.NativeMethodAccessorImpl.invoke
-(NativeMethodAccessorImpl.java:39)
-at sun.reflect.DelegatingMethodAccessorImpl.invoke
-(DelegatingMethodAccessorImpl.java:25)
-at java.lang.reflect.Method.invoke(Method.java:324)
-at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
-at org.eclipse.core.launcher.Main.run(Main.java:644)
-at org.eclipse.core.launcher.Main.main(Main.java:628)
-
-
-Looking at the jdt code in UnresolvedElementsSubProcessor.java, at line 395,
-the parent field is null:
-
- ASTNode parent= selectedNode.getParent();
- while (parent.getLength() == selectedNode.getLength()) { // line 395
- parent= parent.getParent();
- }
-
-java.lang.NullPointerException There just needs to be a null check as there is above:
-
-
- ASTNode selectedNode= problem.getCoveringNode(context.getASTRoot());
- if (selectedNode == null) {
- return;
- }
- int kind= SimilarElementsRequestor.ALL_TYPES;
-
- ASTNode parent= selectedNode.getParent();
- while (parent.getLength() == selectedNode.getLength()) {
- parent= parent.getParent();
- }
-
-should become:
-
-
- ASTNode selectedNode= problem.getCoveringNode(context.getASTRoot());
- if (selectedNode == null) {
- return;
- }
- int kind= SimilarElementsRequestor.ALL_TYPES;
-
- ASTNode parent= selectedNode.getParent();
- if (parent == null) {
- return;
- }
- while (parent.getLength() == selectedNode.getLength()) {
- parent= parent.getParent();
- }
-
-
-This needs to be raised as a jdt bug, since we don't pass through any ajdt
-code in order to get here.
-
-Raising this bug against ajdt is just for tracking.
-
-(note this happens on 1.1.12, but also on the latest AJDT dev build).</PRE>
-<HR>
-<!-- 1.0@bugzilla.org --><B>Bug List:</B> <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=36310">First</A> <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=76101">Last</A> (This bug is
-not in your list) &nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/buglist.cgi?regetlastlist=1">Show list</A>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/query.cgi">Query page</A>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/enter_bug.cgi">Enter new bug</A> <BR><!-- 1.0@bugzilla.org -->
-<TABLE border=0>
- <TBODY>
- <TR>
- <TD vAlign=top bgColor=#000000>
- <TABLE cellSpacing=0 cellPadding=10 width="100%" bgColor=lightyellow
- border=0>
- <TBODY>
- <TR>
- <TD>This is <B>Bugzilla</B>: the Mozilla bug system. For more
- information about what Bugzilla is and what it can do, see <A
- href="http://www.bugzilla.org/">bugzilla.org</A>. <BR><!-- 1.0@bugzilla.org -->
- <FORM action=show_bug.cgi method=get>
- <TABLE width="100%">
- <TBODY>
- <TR>
- <TD>Actions: </TD>
- <TD vAlign=center noWrap><A
- href="https://bugs.eclipse.org/bugs/enter_bug.cgi">New</A> |
- <A href="https://bugs.eclipse.org/bugs/query.cgi">Query</A> | <INPUT type=submit value=Find> bug # <INPUT size=6 name=id> |
- <A
- href="https://bugs.eclipse.org/bugs/reports.cgi">Reports</A>
- </TD>
- <TD>&nbsp;</TD>
- <TD vAlign=center align=right><A
- href="https://bugs.eclipse.org/bugs/createaccount.cgi">New&nbsp;Account</A>
- | <A
- href="https://bugs.eclipse.org/bugs/query.cgi?GoAheadAndLogIn=1">Log&nbsp;In</A>
- </TD></TR></TBODY></TABLE></FORM></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/40152.html b/org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/40152.html
deleted file mode 100644
index fb15d0fa8..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/40152.html
+++ /dev/null
@@ -1,1228 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- saved from url=(0051)https://bugs.eclipse.org/bugs/show_bug.cgi?id=40152 -->
-<!-- 1.0@bugzilla.org --><!-- 1.0@bugzilla.org --><HTML><HEAD><TITLE>Bug 40152 - Junit tests fail on GTK</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><LINK
-href="show_bug.cgi?id=4862" rel=First><LINK href="show_bug.cgi?id=40059"
-rel=Prev><LINK href="show_bug.cgi?id=40723" rel=Next><LINK
-href="show_bug.cgi?id=79413" rel=Last><LINK href="buglist.cgi?regetlastlist=1"
-rel=Up><LINK href="buglist.cgi?regetlastlist=1" rel=Contents>
-<META content="MSHTML 6.00.2800.1476" name=GENERATOR></HEAD>
-<BODY text=#000000 vLink=#551a8b aLink=#ff0000 link=#0000ee bgColor=#ffffff
-onload=""><!-- 1.0@bugzilla.org -->
-<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
- <TBODY>
- <TR>
- <TD width="100%">
- <TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#006699
- border=0><TBODY>
- <TR>
- <TD width=116 bgColor=#000000><IMG height=50
- src="40152_files/EclipseBannerPic.jpg" width=115></TD>
- <TD width=637><A href="http://www.eclipse.org/"><IMG height=50
- src="40152_files/gradient.jpg" width=282 border=0></A></TD>
- <TD width=250><IMG height=48 src="40152_files/eproject-simple.gif"
- width=250></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
-<TABLE cellSpacing=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top align=left>
- <TABLE cellSpacing=2 cellPadding=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top noWrap align=left><FONT size=+1><B>Bugzilla Bug
- 40152</B></FONT> </TD></TR></TBODY></TABLE></TD>
- <TD vAlign=center>&nbsp;</TD>
- <TD vAlign=center align=left>Junit tests fail on GTK</TD></TR></TBODY></TABLE><!-- 1.0@bugzilla.org --><B>Bug List:</B> (18 of
-183) <A href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=4862">First</A> <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=79413">Last</A> <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=40059">Prev</A> <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=40723">Next</A>
-&nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/buglist.cgi?regetlastlist=1">Show list</A>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/query.cgi">Query page</A>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/enter_bug.cgi">Enter new bug</A>
-<HR>
-
-<FORM name=changeform action=process_bug.cgi method=post><INPUT type=hidden
-value=20040525174037 name=delta_ts> <INPUT type=hidden value=2
-name=longdesclength> <INPUT type=hidden value=40152 name=id>
-<TABLE cellSpacing=1 cellPadding=1 border=0>
- <TBODY>
- <TR>
- <TD align=right><B>Bug#:</B> </TD>
- <TD><A
- href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=40152">40152</A> </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>Platform:</B> </TD>
- <TD><SELECT name=rep_platform> <OPTION value=All>All</OPTION> <OPTION
- value=Macintosh>Macintosh</OPTION> <OPTION value=PC selected>PC</OPTION>
- <OPTION value="Power PC">Power PC</OPTION> <OPTION
- value=Sun>Sun</OPTION> <OPTION value=Other>Other</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>Reporter:</B> </TD>
- <TD>christophe_cornu@ca.ibm.com (Christophe Cornu) </TD></TR>
- <TR>
- <TD align=right><B>Product:</B> </TD>
- <TD><SELECT name=product> <OPTION value=AJDT>AJDT</OPTION> <OPTION
- value=AspectJ>AspectJ</OPTION> <OPTION value=Birt>Birt</OPTION> <OPTION
- value=CDT>CDT</OPTION> <OPTION value=CME>CME</OPTION> <OPTION
- value=Community>Community</OPTION> <OPTION value=ECESIS>ECESIS</OPTION>
- <OPTION value=ECF>ECF</OPTION> <OPTION value=EMF>EMF</OPTION> <OPTION
- value=Equinox>Equinox</OPTION> <OPTION value=ERCP>ERCP</OPTION> <OPTION
- value=GEF>GEF</OPTION> <OPTION value=GMT>GMT</OPTION> <OPTION
- value=Hyades>Hyades</OPTION> <OPTION value=JDT>JDT</OPTION> <OPTION
- value=OMELET>OMELET</OPTION> <OPTION value=PDE>PDE</OPTION> <OPTION
- value=Platform selected>Platform</OPTION> <OPTION
- value=Pollinate>Pollinate</OPTION> <OPTION
- value=Stellation>Stellation</OPTION> <OPTION value=UML2>UML2</OPTION>
- <OPTION value=VE>VE</OPTION> <OPTION value="Web Tools">Web
- Tools</OPTION> <OPTION value=WSVT>WSVT</OPTION> <OPTION
- value=XSD>XSD</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>OS:</B> </TD>
- <TD><SELECT name=op_sys> <OPTION value=All>All</OPTION> <OPTION
- value="AIX Motif">AIX Motif</OPTION> <OPTION value="Windows 95">Windows
- 95</OPTION> <OPTION value="Windows 98">Windows 98</OPTION> <OPTION
- value="Windows CE">Windows CE</OPTION> <OPTION
- value="Windows ME">Windows ME</OPTION> <OPTION
- value="Windows 2000">Windows 2000</OPTION> <OPTION
- value="Windows NT">Windows NT</OPTION> <OPTION
- value="Windows XP">Windows XP</OPTION> <OPTION
- value="Windows All">Windows All</OPTION> <OPTION value="MacOS X">MacOS
- X</OPTION> <OPTION value=Linux>Linux</OPTION> <OPTION value=Linux-GTK
- selected>Linux-GTK</OPTION> <OPTION
- value=Linux-Motif>Linux-Motif</OPTION> <OPTION
- value=HP-UX>HP-UX</OPTION> <OPTION value=Neutrino>Neutrino</OPTION>
- <OPTION value=QNX-Photon>QNX-Photon</OPTION> <OPTION
- value=Solaris>Solaris</OPTION> <OPTION
- value=Solaris-GTK>Solaris-GTK</OPTION> <OPTION
- value=Solaris-Motif>Solaris-Motif</OPTION> <OPTION value="Unix All">Unix
- All</OPTION> <OPTION value=other>other</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>Add&nbsp;CC:</B> </TD>
- <TD><INPUT size=30 name=newcc> </TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/describecomponents.cgi?product=Platform">Component</A>:
- </B></TD>
- <TD><SELECT name=component> <OPTION value=Ant>Ant</OPTION> <OPTION
- value=Compare>Compare</OPTION> <OPTION value=CVS>CVS</OPTION> <OPTION
- value=Debug>Debug</OPTION> <OPTION value=Doc>Doc</OPTION> <OPTION
- value=Help>Help</OPTION> <OPTION value=Intro>Intro</OPTION> <OPTION
- value=Releng>Releng</OPTION> <OPTION value=Resources>Resources</OPTION>
- <OPTION value=Runtime>Runtime</OPTION> <OPTION
- value=Scripting>Scripting</OPTION> <OPTION value=Search>Search</OPTION>
- <OPTION value=SWT selected>SWT</OPTION> <OPTION value=Team>Team</OPTION>
- <OPTION value=Text>Text</OPTION> <OPTION value=UI>UI</OPTION> <OPTION
- value=Update>Update</OPTION> <OPTION value=WebDAV>WebDAV</OPTION></SELECT>
- </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>Version:</B> </TD>
- <TD><SELECT name=version> <OPTION value=1.0>1.0</OPTION> <OPTION
- value=2.0>2.0</OPTION> <OPTION value=2.0.1>2.0.1</OPTION> <OPTION
- value=2.0.2>2.0.2</OPTION> <OPTION value=2.1>2.1</OPTION> <OPTION
- value=2.1.1>2.1.1</OPTION> <OPTION value=2.1.2>2.1.2</OPTION> <OPTION
- value=2.1.3>2.1.3</OPTION> <OPTION value=3.0 selected>3.0</OPTION>
- <OPTION value=3.0.1>3.0.1</OPTION> <OPTION value=3.1>3.1</OPTION></SELECT>
- </TD>
- <TD>&nbsp;</TD>
- <TD vAlign=top align=right rowSpan=4><B>CC:</B> </TD>
- <TD vAlign=top rowSpan=4><INPUT type=hidden name=cc> </TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html">Status</A>: </B></TD>
- <TD>NEW</TD>
- <TD>&nbsp;</TD>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#priority">Priority</A>:</B>
- </TD>
- <TD><SELECT name=priority> <OPTION value=P1>P1</OPTION> <OPTION
- value=P2>P2</OPTION> <OPTION value=P3 selected>P3</OPTION> <OPTION
- value=P4>P4</OPTION> <OPTION value=P5>P5</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html">Resolution</A>:
- </B></TD>
- <TD></TD>
- <TD>&nbsp;</TD>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#severity">Severity</A>:</B>
- </TD>
- <TD><SELECT name=bug_severity> <OPTION value=blocker>blocker</OPTION>
- <OPTION value=critical>critical</OPTION> <OPTION value=major
- selected>major</OPTION> <OPTION value=normal>normal</OPTION> <OPTION
- value=minor>minor</OPTION> <OPTION value=trivial>trivial</OPTION>
- <OPTION value=enhancement>enhancement</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#assigned_to">Assigned&nbsp;To</A>:
- </B></TD>
- <TD>felipe_heidrich@ca.ibm.com (Felipe Heidrich)</TD>
- <TD>&nbsp;</TD>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/notargetmilestone.html">Target
- Milestone</A>: </B></TD>
- <TD><SELECT name=target_milestone> <OPTION value="2.0 M1">2.0
- M1</OPTION> <OPTION value="2.0 M2">2.0 M2</OPTION> <OPTION
- value="2.0 M3">2.0 M3</OPTION> <OPTION value="2.0 M4">2.0 M4</OPTION>
- <OPTION value="2.0 M5">2.0 M5</OPTION> <OPTION value="2.0 M6">2.0
- M6</OPTION> <OPTION value="2.0 F1">2.0 F1</OPTION> <OPTION
- value="2.0 F2">2.0 F2</OPTION> <OPTION value="2.0 F3">2.0 F3</OPTION>
- <OPTION value="2.0 F4">2.0 F4</OPTION> <OPTION
- value=2.0.1>2.0.1</OPTION> <OPTION value=2.0.2>2.0.2</OPTION> <OPTION
- value=2.1>2.1</OPTION> <OPTION value="2.1 M1">2.1 M1</OPTION> <OPTION
- value="2.1 M2">2.1 M2</OPTION> <OPTION value="2.1 M3">2.1 M3</OPTION>
- <OPTION value="2.1 M4">2.1 M4</OPTION> <OPTION value="2.1 M5">2.1
- M5</OPTION> <OPTION value="2.1 RC1">2.1 RC1</OPTION> <OPTION
- value="2.1 RC2">2.1 RC2</OPTION> <OPTION value="2.1 RC3">2.1
- RC3</OPTION> <OPTION value="2.1 RC4">2.1 RC4</OPTION> <OPTION
- value=2.1.1>2.1.1</OPTION> <OPTION value=2.1.2>2.1.2</OPTION> <OPTION
- value=2.1.3>2.1.3</OPTION> <OPTION value=3.0>3.0</OPTION> <OPTION
- value="3.0 M1">3.0 M1</OPTION> <OPTION value="3.0 M2">3.0 M2</OPTION>
- <OPTION value="3.0 M3">3.0 M3</OPTION> <OPTION value="3.0 M4">3.0
- M4</OPTION> <OPTION value="3.0 M5">3.0 M5</OPTION> <OPTION
- value="3.0 M6">3.0 M6</OPTION> <OPTION value="3.0 M7">3.0 M7</OPTION>
- <OPTION value="3.0 M8">3.0 M8</OPTION> <OPTION value="3.0 M9">3.0
- M9</OPTION> <OPTION value="3.0 RC1">3.0 RC1</OPTION> <OPTION
- value="3.0 RC2">3.0 RC2</OPTION> <OPTION value="3.0 RC3">3.0
- RC3</OPTION> <OPTION value="3.0 RC4">3.0 RC4</OPTION> <OPTION
- value=3.0.1>3.0.1</OPTION> <OPTION value=3.0.2>3.0.2</OPTION> <OPTION
- value=3.1>3.1</OPTION> <OPTION value="3.1 M1">3.1 M1</OPTION> <OPTION
- value="3.1 M2">3.1 M2</OPTION> <OPTION value="3.1 M3">3.1 M3</OPTION>
- <OPTION value="3.1 M4">3.1 M4</OPTION> <OPTION value="3.1 M5">3.1
- M5</OPTION> <OPTION value="3.1 M6">3.1 M6</OPTION> <OPTION value=---
- selected>---</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD></TR>
- <TR>
- <TD align=right><B>URL: </B></TD>
- <TD colSpan=7><INPUT size=60 name=bug_file_loc> </TD></TR>
- <TR>
- <TD align=right><B>Summary:</B> </TD>
- <TD colSpan=7><INPUT size=60 value="Junit tests fail on GTK"
- name=short_desc> </TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/describekeywords.cgi">Keywords</A>:
- </B>
- <TD colSpan=7><INPUT size=60 name=keywords> </TD></TR></TBODY></TABLE><!-- 1.0@bugzilla.org --><BR>
-<TABLE cellSpacing=0 cellPadding=4 border=1>
- <TBODY>
- <TR>
- <TH align=left bgColor=#cccccc>Attachment</TH>
- <TH align=left bgColor=#cccccc>Type</TH>
- <TH align=left bgColor=#cccccc>Modified</TH>
- <TH align=left bgColor=#cccccc>Status</TH>
- <TH align=left bgColor=#cccccc>Actions</TH></TR>
- <TR>
- <TD colSpan=4><A
- href="https://bugs.eclipse.org/bugs/attachment.cgi?bugid=40152&amp;action=enter">Create
- a New Attachment</A> (proposed patch, testcase, etc.) </TD>
- <TD><A
- href="https://bugs.eclipse.org/bugs/attachment.cgi?bugid=40152&amp;action=viewall">View
- All</A> </TD></TR></TBODY></TABLE><BR>
-<TABLE>
- <TBODY>
- <TR>
- <TH align=right>Bug 40152 depends on:</TH>
- <TD></TD>
- <TD><INPUT name=dependson> </TD>
- <TD rowSpan=2><A
- href="https://bugs.eclipse.org/bugs/showdependencytree.cgi?id=40152">Show
- dependency tree</A> </TD></TR>
- <TR>
- <TH align=right>Bug 40152 blocks:</TH>
- <TD></TD>
- <TD><INPUT name=blocked> </TD></TR></TBODY></TABLE>
-<TABLE>
- <TBODY>
- <TR>
- <TH><A href="https://bugs.eclipse.org/bugs/votehelp.html">Votes</A>: </TH>
- <TD>0&nbsp;&nbsp;&nbsp; <A
- href="https://bugs.eclipse.org/bugs/votes.cgi?action=show_bug&amp;bug_id=40152">Show
- votes for this bug</A>&nbsp;&nbsp;&nbsp; <A
- href="https://bugs.eclipse.org/bugs/votes.cgi?action=show_user&amp;bug_id=40152">Vote
- for this bug</A> </TD></TR></TBODY></TABLE><BR><B>Additional Comments:</B> <BR><TEXTAREA accessKey=c name=comment rows=10 wrap=hard cols=80></TEXTAREA>
-<BR><BR><INPUT type=radio CHECKED value=none name=knob> Leave as
-<B>NEW&nbsp;</B> <BR><INPUT type=radio value=accept name=knob> Accept bug
-(change status to <B>ASSIGNED</B>) <BR><INPUT type=radio value=resolve
-name=knob> Resolve bug, changing <A
-href="https://bugs.eclipse.org/bugs/bug_status.html">resolution</A> to <SELECT
-onchange=document.changeform.knob[2].checked=true name=resolution> <OPTION
- value=FIXED selected>FIXED</OPTION> <OPTION value=INVALID>INVALID</OPTION>
- <OPTION value=WONTFIX>WONTFIX</OPTION> <OPTION value=LATER>LATER</OPTION>
- <OPTION value=REMIND>REMIND</OPTION> <OPTION
- value=WORKSFORME>WORKSFORME</OPTION></SELECT> <BR><INPUT type=radio
-value=duplicate name=knob> Resolve bug, mark it as duplicate of bug # <INPUT
-onchange="if (this.value != '')&#10; {document.changeform.knob[3].checked=true}"
-size=6 name=dup_id> <BR><INPUT type=radio value=reassign name=knob> <A
-href="https://bugs.eclipse.org/bugs/bug_status.html#assigned_to">Reassign</A>
-bug to <INPUT
-onchange="if ((this.value != 'felipe_heidrich@ca.ibm.com') &amp;&amp; &#10; (this.value != '')) {&#10; document.changeform.knob[4].checked=true; &#10; }"
-size=32 value=felipe_heidrich@ca.ibm.com name=assigned_to> <BR><INPUT type=radio
-value=reassignbycomponent name=knob> Reassign bug to owner of selected component
-<BR><INPUT type=submit value=Commit> <INPUT type=hidden value=process_bug
-name=form_name>
-<P><FONT size=+1><B><A
-href="https://bugs.eclipse.org/bugs/show_activity.cgi?id=40152">View Bug
-Activity</A> &nbsp; | &nbsp; <A
-href="https://bugs.eclipse.org/bugs/long_list.cgi?buglist=40152">Format For
-Printing</A> </B></FONT></P></FORM>
-<TABLE>
- <TBODY>
- <TR>
- <TD align=left><B><A
- href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=40152#c0"
- name=c0>Description</A>: </B></TD>
- <TD align=right width="100%">Opened: 2003-07-15 16:25 </TD></TR></TBODY></TABLE>
-<HR>
-<!-- 1.0@bugzilla.org --><PRE>latest from head (20030715) generate about 30 errors/failures.
-
-.........................................
-.........................................
-.........................E................
-..........4
-5
-...............................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-...........F.....F...........F.E.E............
-.................F....F....................
-..........
-(&lt;unknown&gt;:6548): Gdk-CRITICAL **: file gdkdraw.c: line 238
-(gdk_drawable_get_display): assertion `GDK_IS_DRAWABLE (drawable)' failed
-
-(&lt;unknown&gt;:6548): Gdk-CRITICAL **: file gdkdisplay.c: line 498
-(gdk_display_get_window_at_pointer): assertion `GDK_IS_DISPLAY (display)'
-failed
-........
-(&lt;unknown&gt;:6548): Gdk-CRITICAL **: file gdkdraw.c: line 238
-(gdk_drawable_get_display): assertion `GDK_IS_DRAWABLE (drawable)' failed
-
-(&lt;unknown&gt;:6548): Gdk-CRITICAL **: file gdkdisplay.c: line 498
-(gdk_display_get_window_at_pointer): assertion `GDK_IS_DISPLAY (display)'
-failed
-.......................
-.........................................
-..............F...........................
-.........................................
-....................................F.....
-.........................................
-.........................................
-.........................................
-.......................................
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtkwidget.c: line 5139
-(gtk_widget_set_size_request): assertion `width &gt;= -1' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtkwidget.c: line 5139
-(gtk_widget_set_size_request): assertion `width &gt;= -1' failed
-..
-...................
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtkwidget.c: line 5139
-(gtk_widget_set_size_request): assertion `width &gt;= -1' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtkwidget.c: line 5139
-(gtk_widget_set_size_request): assertion `width &gt;= -1' failed
-......................
-.........................................
-..................................
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 9817
-(gtk_tree_view_get_path_at_pos): assertion `tree_view-&gt;priv-&gt;bin_window !=
-NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 9817
-(gtk_tree_view_get_path_at_pos): assertion `tree_view-&gt;priv-&gt;bin_window !=
-NULL' failed
-.......
-...
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtkliststore.c: line 533
-(gtk_list_store_get_path): assertion `iter-&gt;stamp == GTK_LIST_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtkliststore.c: line 533
-(gtk_list_store_get_path): assertion `iter-&gt;stamp == GTK_LIST_STORE
-(tree_model)-&gt;stamp' failed
-.........
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtkliststore.c: line 533
-(gtk_list_store_get_path): assertion `iter-&gt;stamp == GTK_LIST_STORE
-(tree_model)-&gt;stamp' failed
-..
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 9817
-(gtk_tree_view_get_path_at_pos): assertion `tree_view-&gt;priv-&gt;bin_window !=
-NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 9817
-(gtk_tree_view_get_path_at_pos): assertion `tree_view-&gt;priv-&gt;bin_window !=
-NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 9817
-(gtk_tree_view_get_path_at_pos): assertion `tree_view-&gt;priv-&gt;bin_window !=
-NULL' failed
-F...........................
-.........................................
-........................................F.
-............F........F........F...F..........
-.........................................
-.........................................
-.....................F.F...................
-.........................................
-.........................................
-................................
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 9817
-(gtk_tree_view_get_path_at_pos): assertion `tree_view-&gt;priv-&gt;bin_window !=
-NULL' failed
-F.
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreestore.c: line 569
-(gtk_tree_store_get_path): assertion `iter-&gt;stamp == GTK_TREE_STORE
-(tree_model)-&gt;stamp' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 369
-(gtk_tree_path_get_depth): assertion `path != NULL' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreeview.c: line 8800
-(gtk_tree_view_scroll_to_cell): assertion `path != NULL || column != NULL'
-failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtktreemodel.c: line 400
-(gtk_tree_path_free): assertion `path != NULL' failed
-........
-.........................................
-.........................................
-...........................F..............
-.........................................
-.........................................
-.............
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtkeditable.c: line 172
-(gtk_editable_delete_selection): assertion `GTK_IS_EDITABLE (editable)' failed
-
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtkeditable.c: line 172
-(gtk_editable_delete_selection): assertion `GTK_IS_EDITABLE (editable)' failed
-F....F.......F.......F.E.......E..
-.........................................
-.........................................
-.............................
-(&lt;unknown&gt;:6548): Gtk-CRITICAL **: file gtkframe.c: line 362
-(gtk_frame_set_label_widget): assertion `label_widget == NULL || label_widget-
-&gt;parent == NULL' failed
-............
-.........................................
-.........................................
-................F.........................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.......................................F.F.
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-...........F.F.............................
-..F....F..E.E................................
-....F.F....................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.........................................
-.......
-Time: 111.199
-There were 7 errors:
-1) test_getFontData
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_graphics_Font)
-java.lang.NullPointerException
- at org.eclipse.swt.graphics.Font.dispose(Font.java:143)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_graphics_Font.test_getFontData
-(Test_org_eclipse_swt_graphics_Font.java:239)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_graphics_Font.runTest
-(Test_org_eclipse_swt_graphics_Font.java:308)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-2) test_setText$Ljava_lang_String
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableItem)
-org.eclipse.swt.SWTError: Cannot get text
- at org.eclipse.swt.SWT.error(SWT.java:2391)
- at org.eclipse.swt.SWT.error(SWT.java:2295)
- at org.eclipse.swt.widgets.Widget.error(Widget.java:375)
- at org.eclipse.swt.widgets.TableItem.getText(TableItem.java:350)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableItem.test_setText
-$Ljava_lang_String(Test_org_eclipse_swt_widgets_TableItem.java:359)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableItem.runTest
-(Test_org_eclipse_swt_widgets_TableItem.java:518)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-3) test_setTextILjava_lang_String
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableItem)
-org.eclipse.swt.SWTError: Cannot get text
- at org.eclipse.swt.SWT.error(SWT.java:2391)
- at org.eclipse.swt.SWT.error(SWT.java:2295)
- at org.eclipse.swt.widgets.Widget.error(Widget.java:375)
- at org.eclipse.swt.widgets.TableItem.getText(TableItem.java:350)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableItem.test_setText
-ILjava_lang_String(Test_org_eclipse_swt_widgets_TableItem.java:396)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableItem.runTest
-(Test_org_eclipse_swt_widgets_TableItem.java:519)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-4) test_removeII
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo)
-java.lang.IllegalArgumentException: Index out of bounds
- at org.eclipse.swt.SWT.error(SWT.java:2351)
- at org.eclipse.swt.SWT.error(SWT.java:2295)
- at org.eclipse.swt.widgets.Widget.error(Widget.java:375)
- at org.eclipse.swt.widgets.Combo.remove(Combo.java:938)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.test_removeII
-(Test_org_eclipse_swt_widgets_Combo.java:397)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.runTest
-(Test_org_eclipse_swt_widgets_Combo.java:688)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-5) test_setItemILjava_lang_String
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo)
-java.lang.ArrayIndexOutOfBoundsException: 0
- at org.eclipse.swt.widgets.Combo.setItem(Combo.java:1103)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.test_setItemILja
-va_lang_String(Test_org_eclipse_swt_widgets_Combo.java:503)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.runTest
-(Test_org_eclipse_swt_widgets_Combo.java:695)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-6) test_print
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText)
-java.lang.NullPointerException
- at org.eclipse.swt.custom.StyledText$Printing.&lt;init&gt;
-(StyledText.java:200)
- at org.eclipse.swt.custom.StyledText.print(StyledText.java:5933)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText.test_print
-(Test_org_eclipse_swt_custom_StyledText.java:1690)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText.runTest
-(Test_org_eclipse_swt_custom_StyledText.java:4165)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-7) test_printLorg_eclipse_swt_printing_Printer
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText)
-java.lang.NullPointerException
- at org.eclipse.swt.custom.StyledText$Printing.&lt;init&gt;
-(StyledText.java:200)
- at org.eclipse.swt.custom.StyledText.print(StyledText.java:5988)
- at org.eclipse.swt.custom.StyledText.print(StyledText.java:5963)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText.test_printLo
-rg_eclipse_swt_printing_Printer
-(Test_org_eclipse_swt_custom_StyledText.java:1710)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText.runTest
-(Test_org_eclipse_swt_custom_StyledText.java:4166)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-There were 30 failures:
-1) test_getBoundsI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableItem)
-junit.framework.AssertionFailedError: :a:
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableItem.test_getBoun
-dsI(Test_org_eclipse_swt_widgets_TableItem.java:85)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableItem.runTest
-(Test_org_eclipse_swt_widgets_TableItem.java:501)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-2) test_getImageBoundsI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableItem)
-junit.framework.AssertionFailedError: :e:
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableItem.test_getImag
-eBoundsI(Test_org_eclipse_swt_widgets_TableItem.java:177)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableItem.runTest
-(Test_org_eclipse_swt_widgets_TableItem.java:506)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-3) test_setImageIndentI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableItem)
-junit.framework.AssertionFailedError: expected:&lt;1&gt; but was:&lt;0&gt;
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableItem.test_setImag
-eIndentI(Test_org_eclipse_swt_widgets_TableItem.java:338)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableItem.runTest
-(Test_org_eclipse_swt_widgets_TableItem.java:517)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-4) test_getWidth
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableColumn)
-junit.framework.AssertionFailedError: :a: width=0 should be=10
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableColumn.test_getWi
-dth(Test_org_eclipse_swt_widgets_TableColumn.java:122)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableColumn.runTest
-(Test_org_eclipse_swt_widgets_TableColumn.java:264)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-5) test_setAlignmentI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableColumn)
-junit.framework.AssertionFailedError: :c: Should not be allowed to set
-alignment of the first column
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableColumn.test_setAl
-ignmentI(Test_org_eclipse_swt_widgets_TableColumn.java:177)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TableColumn.runTest
-(Test_org_eclipse_swt_widgets_TableColumn.java:268)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-6) test_setDefaultItemLorg_eclipse_swt_widgets_MenuItem
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Menu)
-junit.framework.AssertionFailedError: expected:&lt;null&gt; but was:&lt;MenuItem {}&gt;
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Menu.test_setDefaultIt
-emLorg_eclipse_swt_widgets_MenuItem(Test_org_eclipse_swt_widgets_Menu.java:272)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Menu.runTest
-(Test_org_eclipse_swt_widgets_Menu.java:387)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-7) test_getMonitor
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Shell)
-junit.framework.AssertionFailedError
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Control.test_getMonito
-r(Test_org_eclipse_swt_widgets_Control.java:287)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Control.runTest
-(Test_org_eclipse_swt_widgets_Control.java:819)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Scrollable.runTest
-(Test_org_eclipse_swt_widgets_Scrollable.java:72)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Composite.runTest
-(Test_org_eclipse_swt_widgets_Composite.java:159)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Canvas.runTest
-(Test_org_eclipse_swt_widgets_Canvas.java:115)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Decorations.runTest
-(Test_org_eclipse_swt_widgets_Decorations.java:250)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Shell.runTest
-(Test_org_eclipse_swt_widgets_Shell.java:428)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-8) test_setTopIndexI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_List)
-junit.framework.AssertionFailedError: expected:&lt;0&gt; but was:&lt;1&gt;
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_List.test_setTopIndexI
-(Test_org_eclipse_swt_widgets_List.java:2019)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_List.runTest
-(Test_org_eclipse_swt_widgets_List.java:2144)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-9) test_getDoubleClickEnabled
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Text)
-junit.framework.AssertionFailedError: expected:&lt;false&gt; but was:&lt;true&gt;
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Text.test_getDoubleCli
-ckEnabled(Test_org_eclipse_swt_widgets_Text.java:316)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Text.runTest
-(Test_org_eclipse_swt_widgets_Text.java:953)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-10) test_getTopIndex
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Text)
-junit.framework.AssertionFailedError: expected:&lt;1&gt; but was:&lt;0&gt;
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Text.test_getTopIndex
-(Test_org_eclipse_swt_widgets_Text.java:424)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Text.runTest
-(Test_org_eclipse_swt_widgets_Text.java:966)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-11) test_setDoubleClickEnabledZ
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Text)
-junit.framework.AssertionFailedError: expected:&lt;false&gt; but was:&lt;true&gt;
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Text.test_setDoubleCli
-ckEnabledZ(Test_org_eclipse_swt_widgets_Text.java:599)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Text.runTest
-(Test_org_eclipse_swt_widgets_Text.java:974)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-12) test_setTabsI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Text)
-junit.framework.AssertionFailedError: expected:&lt;8&gt; but was:&lt;0&gt;
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Text.test_setTabsI
-(Test_org_eclipse_swt_widgets_Text.java:759)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Text.runTest
-(Test_org_eclipse_swt_widgets_Text.java:982)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-13) test_setTopIndexI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Text)
-junit.framework.AssertionFailedError: expected:&lt;1&gt; but was:&lt;0&gt;
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Text.test_setTopIndexI
-(Test_org_eclipse_swt_widgets_Text.java:820)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Text.runTest
-(Test_org_eclipse_swt_widgets_Text.java:985)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-14) test_setMaximumI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_ScrollBar)
-junit.framework.AssertionFailedError: expected:&lt;1&gt; but was:&lt;10&gt;
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_ScrollBar.check
-(Test_org_eclipse_swt_widgets_ScrollBar.java:67)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_ScrollBar.report
-(Test_org_eclipse_swt_widgets_ScrollBar.java:61)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_ScrollBar.test_setMaxi
-mumI(Test_org_eclipse_swt_widgets_ScrollBar.java:757)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_ScrollBar.runTest
-(Test_org_eclipse_swt_widgets_ScrollBar.java:892)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-15) test_setMinimumI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_ScrollBar)
-junit.framework.AssertionFailedError: expected:&lt;10&gt; but was:&lt;9&gt;
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_ScrollBar.check
-(Test_org_eclipse_swt_widgets_ScrollBar.java:68)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_ScrollBar.report
-(Test_org_eclipse_swt_widgets_ScrollBar.java:61)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_ScrollBar.test_setMini
-mumI(Test_org_eclipse_swt_widgets_ScrollBar.java:773)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_ScrollBar.runTest
-(Test_org_eclipse_swt_widgets_ScrollBar.java:893)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-16) test_setTopItemLorg_eclipse_swt_widgets_TreeItem
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Tree)
-junit.framework.AssertionFailedError: expected:&lt;TreeItem {}&gt; but was:&lt;null&gt;
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Tree.test_setTopItemLo
-rg_eclipse_swt_widgets_TreeItem(Test_org_eclipse_swt_widgets_Tree.java:424)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Tree.runTest
-(Test_org_eclipse_swt_widgets_Tree.java:538)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-17) test_setSelectionI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TabFolder)
-junit.framework.AssertionFailedError: expected:&lt;0&gt; but was:&lt;1&gt;
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TabFolder.test_setSele
-ctionI(Test_org_eclipse_swt_widgets_TabFolder.java:307)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_TabFolder.runTest
-(Test_org_eclipse_swt_widgets_TabFolder.java:405)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-18) test_clearSelection
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo)
-junit.framework.AssertionFailedError: :d:
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.test_clearSelect
-ion(Test_org_eclipse_swt_widgets_Combo.java:130)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.runTest
-(Test_org_eclipse_swt_widgets_Combo.java:669)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-19) test_deselectI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo)
-junit.framework.AssertionFailedError: :b:0
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.test_deselectI
-(Test_org_eclipse_swt_widgets_Combo.java:155)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.runTest
-(Test_org_eclipse_swt_widgets_Combo.java:673)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-20) test_getSelectionIndex
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo)
-junit.framework.AssertionFailedError: expected:&lt;1&gt; but was:&lt;0&gt;
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.test_getSelectio
-nIndex(Test_org_eclipse_swt_widgets_Combo.java:219)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.runTest
-(Test_org_eclipse_swt_widgets_Combo.java:680)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-21) test_removeI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo)
-junit.framework.AssertionFailedError: index 0 expected:&lt;0&gt; but was:&lt;-1&gt;
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.test_removeI
-(Test_org_eclipse_swt_widgets_Combo.java:356)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.runTest
-(Test_org_eclipse_swt_widgets_Combo.java:687)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-22) test_getRowCount
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_ToolBar)
-junit.framework.AssertionFailedError: :a:1
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_ToolBar.test_getRowCou
-nt(Test_org_eclipse_swt_widgets_ToolBar.java:132)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_ToolBar.runTest
-(Test_org_eclipse_swt_widgets_ToolBar.java:206)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-23) test_setMaximumI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Slider)
-junit.framework.AssertionFailedError: setMaximum(11): Thumb Expected: 1
-Actual: 10
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Slider.check
-(Test_org_eclipse_swt_widgets_Slider.java:67)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Slider.report
-(Test_org_eclipse_swt_widgets_Slider.java:60)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Slider.test_setMaximum
-I(Test_org_eclipse_swt_widgets_Slider.java:743)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Slider.runTest
-(Test_org_eclipse_swt_widgets_Slider.java:836)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-24) test_setMinimumI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Slider)
-junit.framework.AssertionFailedError: setMinimum(91): Thumb Expected: 9
-Actual: 10
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Slider.check
-(Test_org_eclipse_swt_widgets_Slider.java:67)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Slider.report
-(Test_org_eclipse_swt_widgets_Slider.java:60)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Slider.test_setMinimum
-I(Test_org_eclipse_swt_widgets_Slider.java:755)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Slider.runTest
-(Test_org_eclipse_swt_widgets_Slider.java:837)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-25) test_copy
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText)
-junit.framework.AssertionFailedError: :a:
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText.test_copy
-(Test_org_eclipse_swt_custom_StyledText.java:559)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText.runTest
-(Test_org_eclipse_swt_custom_StyledText.java:4127)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-26) test_cut
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText)
-junit.framework.AssertionFailedError: :a:
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText.test_cut
-(Test_org_eclipse_swt_custom_StyledText.java:619)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText.runTest
-(Test_org_eclipse_swt_custom_StyledText.java:4128)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-27) test_getTopIndex
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText)
-junit.framework.AssertionFailedError: :d:
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText.test_getTopI
-ndex(Test_org_eclipse_swt_custom_StyledText.java:1388)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText.runTest
-(Test_org_eclipse_swt_custom_StyledText.java:4159)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-28) test_invokeActionI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText)
-junit.framework.ComparisonFailure: expected:&lt;...
-...&gt; but was:&lt;......&gt;
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText.test_invokeA
-ctionI(Test_org_eclipse_swt_custom_StyledText.java:1593)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText.runTest
-(Test_org_eclipse_swt_custom_StyledText.java:4163)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-29) test_setTopIndexI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText)
-junit.framework.AssertionFailedError: :e:
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText.test_setTopI
-ndexI(Test_org_eclipse_swt_custom_StyledText.java:3943)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText.runTest
-(Test_org_eclipse_swt_custom_StyledText.java:4202)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-30) test_setTopPixelI
-(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText)
-junit.framework.AssertionFailedError: :f:
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText.test_setTopP
-ixelI(Test_org_eclipse_swt_custom_StyledText.java:3972)
- at
-org.eclipse.swt.tests.junit.Test_org_eclipse_swt_custom_StyledText.runTest
-(Test_org_eclipse_swt_custom_StyledText.java:4203)
- at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
-
-FAILURES!!!
-Tests run: 4148, Failures: 30, Errors: 7
-
-
-Calls to warnUnimpl: 958</PRE><BR><I>------- Additional Comment <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=40152#c1" name=c1>#1</A>
-From <A href="mailto:felipe_heidrich@ca.ibm.com">Felipe Heidrich</A> 2003-07-28
-17:17 ------- </I><PRE>I was able to get rid of the GTK warnings, we still have 2 errors and 28
-Failures.
-</PRE>
-<HR>
-<!-- 1.0@bugzilla.org --><B>Bug List:</B> (18 of 183) <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=4862">First</A> <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=79413">Last</A> <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=40059">Prev</A> <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=40723">Next</A>
-&nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/buglist.cgi?regetlastlist=1">Show list</A>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/query.cgi">Query page</A>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/enter_bug.cgi">Enter new bug</A> <BR><!-- 1.0@bugzilla.org -->
-<TABLE border=0>
- <TBODY>
- <TR>
- <TD vAlign=top bgColor=#000000>
- <TABLE cellSpacing=0 cellPadding=10 width="100%" bgColor=lightyellow
- border=0>
- <TBODY>
- <TR>
- <TD>This is <B>Bugzilla</B>: the Mozilla bug system. For more
- information about what Bugzilla is and what it can do, see <A
- href="http://www.bugzilla.org/">bugzilla.org</A>. <BR><!-- 1.0@bugzilla.org -->
- <FORM action=show_bug.cgi method=get>
- <TABLE width="100%">
- <TBODY>
- <TR>
- <TD>Actions: </TD>
- <TD vAlign=center noWrap><A
- href="https://bugs.eclipse.org/bugs/enter_bug.cgi">New</A> |
- <A href="https://bugs.eclipse.org/bugs/query.cgi">Query</A> | <INPUT type=submit value=Find> bug # <INPUT size=6 name=id> |
- <A
- href="https://bugs.eclipse.org/bugs/reports.cgi">Reports</A>
- </TD>
- <TD>&nbsp;</TD>
- <TD vAlign=center align=right><A
- href="https://bugs.eclipse.org/bugs/createaccount.cgi">New&nbsp;Account</A>
- | <A
- href="https://bugs.eclipse.org/bugs/query.cgi?GoAheadAndLogIn=1">Log&nbsp;In</A>
- </TD></TR></TBODY></TABLE></FORM></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
diff --git a/org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/4548.html b/org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/4548.html
deleted file mode 100644
index b7047a40b..000000000
--- a/org.eclipse.mylyn.bugzilla.tests/testdata/reports-stacktrace/4548.html
+++ /dev/null
@@ -1,377 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- saved from url=(0050)https://bugs.eclipse.org/bugs/show_bug.cgi?id=4548 -->
-<!-- 1.0@bugzilla.org --><!-- 1.0@bugzilla.org --><HTML><HEAD><TITLE>Bug 4548 - DCR: TableTree should support icon in 1st column (1G06WFT)</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><LINK
-href="show_bug.cgi?id=36310" rel=Next><LINK href="show_bug.cgi?id=76101"
-rel=Last><LINK href="buglist.cgi?regetlastlist=1" rel=Up><LINK
-href="buglist.cgi?regetlastlist=1" rel=Contents>
-<META content="MSHTML 6.00.2800.1476" name=GENERATOR></HEAD>
-<BODY text=#000000 vLink=#551a8b aLink=#ff0000 link=#0000ee bgColor=#ffffff
-onload=""><!-- 1.0@bugzilla.org -->
-<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
- <TBODY>
- <TR>
- <TD width="100%">
- <TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#006699
- border=0><TBODY>
- <TR>
- <TD width=116 bgColor=#000000><IMG height=50
- src="4548_files/EclipseBannerPic.jpg" width=115></TD>
- <TD width=637><A href="http://www.eclipse.org/"><IMG height=50
- src="4548_files/gradient.jpg" width=282 border=0></A></TD>
- <TD width=250><IMG height=48 src="4548_files/eproject-simple.gif"
- width=250></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
-<TABLE cellSpacing=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top align=left>
- <TABLE cellSpacing=2 cellPadding=0 border=0>
- <TBODY>
- <TR>
- <TD vAlign=top noWrap align=left><FONT size=+1><B>Bugzilla Bug
- 4548</B></FONT> </TD></TR></TBODY></TABLE></TD>
- <TD vAlign=center>&nbsp;</TD>
- <TD vAlign=center align=left>DCR: TableTree should support icon in 1st
- column (1G06WFT)</TD></TR></TBODY></TABLE><!-- 1.0@bugzilla.org --><B>Bug
-List:</B> <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=36310">First</A> <A
-href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=76101">Last</A> (This bug is
-not in your list) &nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/buglist.cgi?regetlastlist=1">Show list</A>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/query.cgi">Query page</A>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A
-href="https://bugs.eclipse.org/bugs/enter_bug.cgi">Enter new bug</A>
-<HR>
-
-<FORM name=changeform action=process_bug.cgi method=post><INPUT type=hidden
-value=20020527161709 name=delta_ts> <INPUT type=hidden value=2
-name=longdesclength> <INPUT type=hidden value=4548 name=id>
-<TABLE cellSpacing=1 cellPadding=1 border=0>
- <TBODY>
- <TR>
- <TD align=right><B>Bug#:</B> </TD>
- <TD><A href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=4548">4548</A>
- </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>Platform:</B> </TD>
- <TD><SELECT name=rep_platform> <OPTION value=All selected>All</OPTION>
- <OPTION value=Macintosh>Macintosh</OPTION> <OPTION value=PC>PC</OPTION>
- <OPTION value="Power PC">Power PC</OPTION> <OPTION
- value=Sun>Sun</OPTION> <OPTION value=Other>Other</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>Reporter:</B> </TD>
- <TD>erich_gamma@ch.ibm.com (Erich Gamma) </TD></TR>
- <TR>
- <TD align=right><B>Product:</B> </TD>
- <TD><SELECT name=product> <OPTION value=AJDT>AJDT</OPTION> <OPTION
- value=AspectJ>AspectJ</OPTION> <OPTION value=Birt>Birt</OPTION> <OPTION
- value=CDT>CDT</OPTION> <OPTION value=CME>CME</OPTION> <OPTION
- value=Community>Community</OPTION> <OPTION value=ECESIS>ECESIS</OPTION>
- <OPTION value=ECF>ECF</OPTION> <OPTION value=EMF>EMF</OPTION> <OPTION
- value=Equinox>Equinox</OPTION> <OPTION value=ERCP>ERCP</OPTION> <OPTION
- value=GEF>GEF</OPTION> <OPTION value=GMT>GMT</OPTION> <OPTION
- value=Hyades>Hyades</OPTION> <OPTION value=JDT>JDT</OPTION> <OPTION
- value=OMELET>OMELET</OPTION> <OPTION value=PDE>PDE</OPTION> <OPTION
- value=Platform selected>Platform</OPTION> <OPTION
- value=Pollinate>Pollinate</OPTION> <OPTION
- value=Stellation>Stellation</OPTION> <OPTION value=UML2>UML2</OPTION>
- <OPTION value=VE>VE</OPTION> <OPTION value="Web Tools">Web
- Tools</OPTION> <OPTION value=WSVT>WSVT</OPTION> <OPTION
- value=XSD>XSD</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>OS:</B> </TD>
- <TD><SELECT name=op_sys> <OPTION value=All selected>All</OPTION> <OPTION
- value="AIX Motif">AIX Motif</OPTION> <OPTION value="Windows 95">Windows
- 95</OPTION> <OPTION value="Windows 98">Windows 98</OPTION> <OPTION
- value="Windows CE">Windows CE</OPTION> <OPTION
- value="Windows ME">Windows ME</OPTION> <OPTION
- value="Windows 2000">Windows 2000</OPTION> <OPTION
- value="Windows NT">Windows NT</OPTION> <OPTION
- value="Windows XP">Windows XP</OPTION> <OPTION
- value="Windows All">Windows All</OPTION> <OPTION value="MacOS X">MacOS
- X</OPTION> <OPTION value=Linux>Linux</OPTION> <OPTION
- value=Linux-GTK>Linux-GTK</OPTION> <OPTION
- value=Linux-Motif>Linux-Motif</OPTION> <OPTION
- value=HP-UX>HP-UX</OPTION> <OPTION value=Neutrino>Neutrino</OPTION>
- <OPTION value=QNX-Photon>QNX-Photon</OPTION> <OPTION
- value=Solaris>Solaris</OPTION> <OPTION
- value=Solaris-GTK>Solaris-GTK</OPTION> <OPTION
- value=Solaris-Motif>Solaris-Motif</OPTION> <OPTION value="Unix All">Unix
- All</OPTION> <OPTION value=other>other</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>Add&nbsp;CC:</B> </TD>
- <TD><INPUT size=30 name=newcc> </TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/describecomponents.cgi?product=Platform">Component</A>:
- </B></TD>
- <TD><SELECT name=component> <OPTION value=Ant>Ant</OPTION> <OPTION
- value=Compare>Compare</OPTION> <OPTION value=CVS>CVS</OPTION> <OPTION
- value=Debug>Debug</OPTION> <OPTION value=Doc>Doc</OPTION> <OPTION
- value=Help>Help</OPTION> <OPTION value=Intro>Intro</OPTION> <OPTION
- value=Releng>Releng</OPTION> <OPTION value=Resources>Resources</OPTION>
- <OPTION value=Runtime>Runtime</OPTION> <OPTION
- value=Scripting>Scripting</OPTION> <OPTION value=Search>Search</OPTION>
- <OPTION value=SWT selected>SWT</OPTION> <OPTION value=Team>Team</OPTION>
- <OPTION value=Text>Text</OPTION> <OPTION value=UI>UI</OPTION> <OPTION
- value=Update>Update</OPTION> <OPTION value=WebDAV>WebDAV</OPTION></SELECT>
- </TD>
- <TD>&nbsp;</TD>
- <TD align=right><B>Version:</B> </TD>
- <TD><SELECT name=version> <OPTION value=1.0>1.0</OPTION> <OPTION
- value=2.0 selected>2.0</OPTION> <OPTION value=2.0.1>2.0.1</OPTION>
- <OPTION value=2.0.2>2.0.2</OPTION> <OPTION value=2.1>2.1</OPTION>
- <OPTION value=2.1.1>2.1.1</OPTION> <OPTION value=2.1.2>2.1.2</OPTION>
- <OPTION value=2.1.3>2.1.3</OPTION> <OPTION value=3.0>3.0</OPTION>
- <OPTION value=3.0.1>3.0.1</OPTION> <OPTION value=3.1>3.1</OPTION></SELECT>
- </TD>
- <TD>&nbsp;</TD>
- <TD vAlign=top align=right rowSpan=4><B>CC:</B> </TD>
- <TD vAlign=top rowSpan=4><INPUT type=hidden name=cc> </TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html">Status</A>: </B></TD>
- <TD>RESOLVED</TD>
- <TD>&nbsp;</TD>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#priority">Priority</A>:</B>
- </TD>
- <TD><SELECT name=priority> <OPTION value=P1>P1</OPTION> <OPTION
- value=P2>P2</OPTION> <OPTION value=P3>P3</OPTION> <OPTION
- value=P4>P4</OPTION> <OPTION value=P5 selected>P5</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html">Resolution</A>:
- </B></TD>
- <TD>WONTFIX</TD>
- <TD>&nbsp;</TD>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#severity">Severity</A>:</B>
- </TD>
- <TD><SELECT name=bug_severity> <OPTION value=blocker>blocker</OPTION>
- <OPTION value=critical>critical</OPTION> <OPTION
- value=major>major</OPTION> <OPTION value=normal selected>normal</OPTION>
- <OPTION value=minor>minor</OPTION> <OPTION
- value=trivial>trivial</OPTION> <OPTION
- value=enhancement>enhancement</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/bug_status.html#assigned_to">Assigned&nbsp;To</A>:
- </B></TD>
- <TD>veronika_irvine@ca.ibm.com (Veronika Irvine)</TD>
- <TD>&nbsp;</TD>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/notargetmilestone.html">Target
- Milestone</A>: </B></TD>
- <TD><SELECT name=target_milestone> <OPTION value="2.0 M1">2.0
- M1</OPTION> <OPTION value="2.0 M2">2.0 M2</OPTION> <OPTION
- value="2.0 M3">2.0 M3</OPTION> <OPTION value="2.0 M4">2.0 M4</OPTION>
- <OPTION value="2.0 M5">2.0 M5</OPTION> <OPTION value="2.0 M6">2.0
- M6</OPTION> <OPTION value="2.0 F1">2.0 F1</OPTION> <OPTION
- value="2.0 F2">2.0 F2</OPTION> <OPTION value="2.0 F3">2.0 F3</OPTION>
- <OPTION value="2.0 F4">2.0 F4</OPTION> <OPTION
- value=2.0.1>2.0.1</OPTION> <OPTION value=2.0.2>2.0.2</OPTION> <OPTION
- value=2.1>2.1</OPTION> <OPTION value="2.1 M1">2.1 M1</OPTION> <OPTION
- value="2.1 M2">2.1 M2</OPTION> <OPTION value="2.1 M3">2.1 M3</OPTION>
- <OPTION value="2.1 M4">2.1 M4</OPTION> <OPTION value="2.1 M5">2.1
- M5</OPTION> <OPTION value="2.1 RC1">2.1 RC1</OPTION> <OPTION
- value="2.1 RC2">2.1 RC2</OPTION> <OPTION value="2.1 RC3">2.1
- RC3</OPTION> <OPTION value="2.1 RC4">2.1 RC4</OPTION> <OPTION
- value=2.1.1>2.1.1</OPTION> <OPTION value=2.1.2>2.1.2</OPTION> <OPTION
- value=2.1.3>2.1.3</OPTION> <OPTION value=3.0>3.0</OPTION> <OPTION
- value="3.0 M1">3.0 M1</OPTION> <OPTION value="3.0 M2">3.0 M2</OPTION>
- <OPTION value="3.0 M3">3.0 M3</OPTION> <OPTION value="3.0 M4">3.0
- M4</OPTION> <OPTION value="3.0 M5">3.0 M5</OPTION> <OPTION
- value="3.0 M6">3.0 M6</OPTION> <OPTION value="3.0 M7">3.0 M7</OPTION>
- <OPTION value="3.0 M8">3.0 M8</OPTION> <OPTION value="3.0 M9">3.0
- M9</OPTION> <OPTION value="3.0 RC1">3.0 RC1</OPTION> <OPTION
- value="3.0 RC2">3.0 RC2</OPTION> <OPTION value="3.0 RC3">3.0
- RC3</OPTION> <OPTION value="3.0 RC4">3.0 RC4</OPTION> <OPTION
- value=3.0.1>3.0.1</OPTION> <OPTION value=3.0.2>3.0.2</OPTION> <OPTION
- value=3.1>3.1</OPTION> <OPTION value="3.1 M1">3.1 M1</OPTION> <OPTION
- value="3.1 M2">3.1 M2</OPTION> <OPTION value="3.1 M3">3.1 M3</OPTION>
- <OPTION value="3.1 M4">3.1 M4</OPTION> <OPTION value="3.1 M5">3.1
- M5</OPTION> <OPTION value="3.1 M6">3.1 M6</OPTION> <OPTION value=---
- selected>---</OPTION></SELECT> </TD>
- <TD>&nbsp;</TD></TR>
- <TR>
- <TD align=right><B>URL: </B></TD>
- <TD colSpan=7><INPUT size=60 name=bug_file_loc> </TD></TR>
- <TR>
- <TD align=right><B>Summary:</B> </TD>
- <TD colSpan=7><INPUT size=60
- value="DCR: TableTree should support icon in 1st column (1G06WFT)"
- name=short_desc> </TD></TR>
- <TR>
- <TD align=right><B><A
- href="https://bugs.eclipse.org/bugs/describekeywords.cgi">Keywords</A>:
- </B>
- <TD colSpan=7><INPUT size=60 name=keywords> </TD></TR></TBODY></TABLE><!-- 1.0@bugzilla.org --><BR>
-<TABLE cellSpacing=0 cellPadding=4 border=1>
- <TBODY>
- <TR>
- <TH align=left bgColor=#cccccc>Attachment</TH>
- <TH align=left bgColor=#cccccc>Type</TH>
- <TH align=left bgColor=#cccccc>Modified</TH>
- <TH align=left bgColor=#cccccc>Status</TH>
- <TH align=left bgColor=#cccccc>Actions</TH></TR>
- <TR>
- <TD colSpan=4><A
- href="https://bugs.eclipse.org/bugs/attachment.cgi?bugid=4548&amp;action=enter">Create
- a New Attachment</A> (proposed patch, testcase, etc.) </TD>
- <TD><A
- href="https://bugs.eclipse.org/bugs/attachment.cgi?bugid=4548&amp;action=viewall">View
- All</A> </TD></TR></TBODY></TABLE><BR>
-<TABLE>
- <TBODY>
- <TR>
- <TH align=right>Bug 4548 depends on:</TH>
- <TD></TD>
- <TD><INPUT name=dependson> </TD>
- <TD rowSpan=2><A
- href="https://bugs.eclipse.org/bugs/showdependencytree.cgi?id=4548">Show
- dependency tree</A> </TD></TR>
- <TR>
- <TH align=right>Bug 4548 blocks:</TH>
- <TD></TD>
- <TD><INPUT name=blocked> </TD></TR></TBODY></TABLE>
-<TABLE>
- <TBODY>
- <TR>
- <TH><A href="https://bugs.eclipse.org/bugs/votehelp.html">Votes</A>: </TH>
- <TD>0&nbsp;&nbsp;&nbsp; <A
- href="https://bugs.eclipse.org/bugs/votes.cgi?action=show_bug&amp;bug_id=4548">Show
- votes for this bug</A>&nbsp;&nbsp;&nbsp; <A
- href="https://bugs.eclipse.org/bugs/votes.cgi?action=show_user&amp;bug_id=4548">Vote
- for this bug</A> </TD></TR></TBODY></TABLE><BR><B>Additional Comments:</B> <BR><TEXTAREA accessKey=c name=comment rows=10 wrap=hard cols=80></TEXTAREA>
-<BR><BR><INPUT type=radio CHECKED value=none name=knob> Leave as
-<B>RESOLVED&nbsp;WONTFIX</B> <BR><INPUT type=radio value=reopen name=knob>
-Reopen bug <BR><INPUT type=radio value=verify name=knob> Mark bug as
-<B>VERIFIED</B><BR><INPUT type=radio value=close name=knob> Mark bug as
-<B>CLOSED</B><BR><INPUT type=submit value=Commit> <INPUT type=hidden
-value=process_bug name=form_name>
-<P><FONT size=+1><B><A
-href="https://bugs.eclipse.org/bugs/show_activity.cgi?id=4548">View Bug
-Activity</A> &nbsp; | &nbsp; <A
-href="https://bugs.eclipse.org/bugs/long_list.cgi?buglist=4548">Format For
-Printing</A> </B></FONT></P></FORM>
-<TABLE>
- <TBODY>
- <TR>
- <TD align=left><B><A
- href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=4548#c0"
- name=c0>Description</A>: </B></TD>
- <TD align=right width="100%">Opened: 2001-10-11 14:18 </TD></TR></TBODY></TABLE>
-<HR>
-<!-- 1.0@bugzilla.org --><PRE>EG (8/24/00 3:41:25 PM)
- TableTree doesn't support showing an icon in the first column. The icon is eaten up
- by the +/- icon.
- Not being able to have an icon in the first column reduces the applicability
- of TableTree (we would like to use it in the Java plugin, but we can't).
-
-NOTES:
-
-VI (8/24/00 10:54:39 AM)
- TableTree is implemented using the Windows table widget and this only allows
- one image per column. Sorry, there's nothing we can do.
-
-AW (24.08.00 17:31:06)
- Why not combining the +/- icon with the client's icon into a single icon?
-
-EG (8/29/00 3:35:01 PM)
- JFace has support for compositing icons see:
- com.ibm.jface.examples.compositeimage.CompositeImageExample
-
-CM (3/17/01 5:29:49 PM)
- P1/M1 (April 1st, 2001)
- Need to know the priority of 1GAJ9KP: SWT:ALL - TableTree class has no selection support for the SWT.CHECK style
- because these two PRs may conflict.
-
-CM (3/28/01 5:09:33 PM)
- We investigated using the Windows "state image" feature in Table, but this is already being used by
- checkboxes if the Table is created with check style. It would also mean that we would have to provide
- platform-specific public API on Table to allow TableTree class to set/get state images. So we decided
- against this.
-
- VI is going to investigate merging the [+]/[-] images with the user's image. We would try to write it
- in such a way that only those who actually put an image in the first column would have to pay for
- the added slowness. We suspect there may be issues such as background color/transparency
- problems, hit test problems, selection highlight problems, and cheese problems, but we will have
- to try it first before we know for sure.
-
-VI (4/4/2001 10:41:59 AM)
- Two major issues which prevent us from merging the [+]/[-] with the user's image and using the normal first column image:
- 1) Images of different sizes can be added to the control, however the size of the image displayed in the associated
- Windows Common Control will be constrained to the size of the first image added to the ImageList.
- Images for all columns are added to the same ImageList and therefore must have the exact same height and WIDTH.
- This makes merging the +/- and the first column image have impact on every image in the TableTree
- 2) There is a limit to how may images I can cram in the ImageList. Having potentially 3 per row I think will quickly exceed the limit.
-
-VI (4/4/2001 05:20 PM)
-
- We have a PR that requests support for an image in the first column of a TableTree and I believe that you
- are the prime requestor.
-
- I have tried to make this work and below is the best I can do. As you can see, there is a limitation on the
- underlying native widget which is that all images in the TableTree must have the exact same height and width.
- Consequently, when I leave enough room to merge the +/- image with the image you wish to show in the first column,
- this causes all the other images in the TableTree to be stretched width wise.
-
- &lt;picture&gt;
-
- It is my opinion that the current TableTree can not be made to work any better than this. If this is not
- adequate for your use, the only alternative is to write a custom widget that does this and does not
- use the native widget. Writing a full custom widget is not trivial. It will probably require a month or
- two and will probably not give all the capability that is present in