Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2006-11-24 14:30:52 -0500
committerrelves2006-11-24 14:30:52 -0500
commit1fd48b2ec875678679a990ab3b428c5aa45bddda (patch)
treebdd6a1dbec285e5b43a53d9ac4dd0b1a0dfc7060 /org.eclipse.mylyn.bugzilla.tests
parent0ad5dc3e014eb71fd58ad46892cc8188d3e91b13 (diff)
downloadorg.eclipse.mylyn.tasks-1fd48b2ec875678679a990ab3b428c5aa45bddda.tar.gz
org.eclipse.mylyn.tasks-1fd48b2ec875678679a990ab3b428c5aa45bddda.tar.xz
org.eclipse.mylyn.tasks-1fd48b2ec875678679a990ab3b428c5aa45bddda.zip
REOPENED - bug 142039: highlight bug report items changed since last viewing
https://bugs.eclipse.org/bugs/show_bug.cgi?id=142039
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.tests')
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/DuplicateDetetionTest.java18
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/TaskEditorTest.java2
2 files changed, 10 insertions, 10 deletions
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
index 785d95a86..f3d51b8ce 100644
--- 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
@@ -45,7 +45,7 @@ public class DuplicateDetetionTest extends TestCase {
String stackTrace = "java.lang.NullPointerException\nat jeff.testing.stack.trace.functionality(jeff.java:481)";
NewBugzillaReport model = new NewBugzillaReport(repository.getUrl(), TasksUiPlugin.getDefault()
- .getTaskDataManager().getNextLocalTaskId());
+ .getTaskDataManager().getNewRepositoryTaskId());
model.setNewComment(stackTrace);
model.setHasLocalChanges(true);
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
@@ -63,7 +63,7 @@ public class DuplicateDetetionTest extends TestCase {
public void testNoStackTrace() throws Exception {
String fakeStackTrace = "this is not really a stacktrace";
NewBugzillaReport model = new NewBugzillaReport(repository.getUrl(), TasksUiPlugin.getDefault()
- .getTaskDataManager().getNextLocalTaskId());
+ .getTaskDataManager().getNewRepositoryTaskId());
model.setNewComment(fakeStackTrace);
model.setHasLocalChanges(true);
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
@@ -84,7 +84,7 @@ public class DuplicateDetetionTest extends TestCase {
String extraText = "\nExtra text that isnt' part of the stack trace java:";
NewBugzillaReport model = new NewBugzillaReport(repository.getUrl(), TasksUiPlugin.getDefault()
- .getTaskDataManager().getNextLocalTaskId());
+ .getTaskDataManager().getNewRepositoryTaskId());
model.setNewComment(extraText + "\n" + stackTrace + "\n");
model.setHasLocalChanges(true);
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
@@ -113,7 +113,7 @@ public class DuplicateDetetionTest extends TestCase {
"at org.eclipse.jdt.internal.core.JavaElement\n.getURLContents(JavaElement.java:734)";
NewBugzillaReport model = new NewBugzillaReport(repository.getUrl(), TasksUiPlugin.getDefault()
- .getTaskDataManager().getNextLocalTaskId());
+ .getTaskDataManager().getNewRepositoryTaskId());
model.setNewComment(stackTrace);
model.setHasLocalChanges(true);
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
@@ -141,7 +141,7 @@ public class DuplicateDetetionTest extends TestCase {
" at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:734)";
NewBugzillaReport model = new NewBugzillaReport(repository.getUrl(), TasksUiPlugin.getDefault()
- .getTaskDataManager().getNextLocalTaskId());
+ .getTaskDataManager().getNewRepositoryTaskId());
model.setNewComment(stackTrace);
model.setHasLocalChanges(true);
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
@@ -165,7 +165,7 @@ public class DuplicateDetetionTest extends TestCase {
" at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)";
NewBugzillaReport model = new NewBugzillaReport(repository.getUrl(), TasksUiPlugin.getDefault()
- .getTaskDataManager().getNextLocalTaskId());
+ .getTaskDataManager().getNewRepositoryTaskId());
model.setNewComment(stackTrace);
model.setHasLocalChanges(true);
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
@@ -188,7 +188,7 @@ public class DuplicateDetetionTest extends TestCase {
" at java.lang.reflect.Method.Invoke (Method.java)";
NewBugzillaReport model = new NewBugzillaReport(repository.getUrl(), TasksUiPlugin.getDefault()
- .getTaskDataManager().getNextLocalTaskId());
+ .getTaskDataManager().getNewRepositoryTaskId());
model.setNewComment(stackTrace);
model.setHasLocalChanges(true);
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
@@ -213,7 +213,7 @@ public class DuplicateDetetionTest extends TestCase {
" at java/util/logging/LogManager.readConfiguration(L:555)";
NewBugzillaReport model = new NewBugzillaReport(repository.getUrl(), TasksUiPlugin.getDefault()
- .getTaskDataManager().getNextLocalTaskId());
+ .getTaskDataManager().getNewRepositoryTaskId());
model.setNewComment(stackTrace);
model.setHasLocalChanges(true);
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
@@ -237,7 +237,7 @@ public class DuplicateDetetionTest extends TestCase {
" at java.lang.VirtualMachine.main (VirtualMachine.java:108)";
NewBugzillaReport model = new NewBugzillaReport(repository.getUrl(), TasksUiPlugin.getDefault()
- .getTaskDataManager().getNextLocalTaskId());
+ .getTaskDataManager().getNewRepositoryTaskId());
model.setNewComment(stackTrace);
model.setHasLocalChanges(true);
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
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
index bc5871da4..df5fe70d1 100644
--- 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
@@ -56,7 +56,7 @@ public class TaskEditorTest extends TestCase {
IBugzillaConstants.TEST_BUGZILLA_222_URL);
NewBugzillaReport model = new NewBugzillaReport(repository.getUrl(), TasksUiPlugin.getDefault()
- .getTaskDataManager().getNextLocalTaskId());
+ .getTaskDataManager().getNewRepositoryTaskId());
NewTaskEditorInput editorInput = new NewTaskEditorInput(repository, model);
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
TaskUiUtil.openEditor(editorInput, TaskListPreferenceConstants.TASK_EDITOR_ID, page);

Back to the top