Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2007-06-05 00:11:47 +0000
committermkersten2007-06-05 00:11:47 +0000
commit9a8829cc59dce6763e2007fdd88695837fc1d082 (patch)
treedcbbdc52bc81caa9bb7aaaac85f1a7bb0bb707ba /org.eclipse.mylyn.bugzilla.tests
parent3c2d50582d809c848a8198258ec01b478804831a (diff)
downloadorg.eclipse.mylyn.tasks-9a8829cc59dce6763e2007fdd88695837fc1d082.tar.gz
org.eclipse.mylyn.tasks-9a8829cc59dce6763e2007fdd88695837fc1d082.tar.xz
org.eclipse.mylyn.tasks-9a8829cc59dce6763e2007fdd88695837fc1d082.zip
RESOLVED - bug 188543: Task editor incorrectly detects platform on Power Mac
https://bugs.eclipse.org/bugs/show_bug.cgi?id=188543
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.tests')
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/NewBugWizardTest.java9
1 files changed, 6 insertions, 3 deletions
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
index f0a80e516..b79caf406 100644
--- 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
@@ -69,9 +69,12 @@ public class NewBugWizardTest extends TestCase {
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"))
- assertEquals("Power", 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());
+ }
}
}

Back to the top