View | Details | Raw Unified | Return to bug 256910 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/pde/ui/tests/target/TargetDefinitionTests.java (-3 / +3 lines)
Lines 678-684 Link Here
678
		expected.add("org.junit");
678
		expected.add("org.junit");
679
		expected.add("org.junit4");
679
		expected.add("org.junit4");
680
		expected.add("org.eclipse.jdt.doc.user");
680
		expected.add("org.eclipse.jdt.doc.user");
681
		if (Platform.getOS() == Platform.OS_MACOSX) {
681
		if (Platform.getOS().equals(Platform.OS_MACOSX)) {
682
			expected.add("org.eclipse.jdt.launching.macosx");
682
			expected.add("org.eclipse.jdt.launching.macosx");
683
		}
683
		}
684
		assertEquals("Wrong number of bundles in JDT feature", expected.size(), bundles.length);
684
		assertEquals("Wrong number of bundles in JDT feature", expected.size(), bundles.length);
Lines 752-758 Link Here
752
		expected.add("org.eclipse.jdt.ui.source");
752
		expected.add("org.eclipse.jdt.ui.source");
753
		expected.add("org.junit.source");
753
		expected.add("org.junit.source");
754
		expected.add("org.junit4.source");
754
		expected.add("org.junit4.source");
755
		if (Platform.getOS() == Platform.OS_MACOSX) {
755
		if (Platform.getOS().equals(Platform.OS_MACOSX)) {
756
			expected.add("org.eclipse.jdt.launching.macosx.source");
756
			expected.add("org.eclipse.jdt.launching.macosx.source");
757
		}
757
		}
758
		for (int i = 0; i < bundles.length; i++) {
758
		for (int i = 0; i < bundles.length; i++) {
Lines 812-818 Link Here
812
			expected.add("org.junit");
812
			expected.add("org.junit");
813
			expected.add("org.junit4");
813
			expected.add("org.junit4");
814
			expected.add("org.eclipse.jdt.doc.user");
814
			expected.add("org.eclipse.jdt.doc.user");
815
			if (Platform.getOS() == Platform.OS_MACOSX) {
815
			if (Platform.getOS().equals(Platform.OS_MACOSX)) {
816
				expected.add("org.eclipse.jdt.launching.macosx");
816
				expected.add("org.eclipse.jdt.launching.macosx");
817
			}
817
			}
818
			
818
			

Return to bug 256910