Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 187127 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/mylyn/tasks/tests/PersonProposalProviderTest.java (-2 / +9 lines)
Lines 133-141 Link Here
133
		result = provider.getProposals(", ", 1);
133
		result = provider.getProposals(", ", 1);
134
		assertNotNull(result);
134
		assertNotNull(result);
135
		assertEquals(1, result.length);
135
		assertEquals(1, result.length);
136
		assertEquals("x,foo ", result[0].getContent());
136
		assertEquals(",foo ", result[0].getContent());
137
		assertEquals("foo", result[0].getLabel());
137
		assertEquals("foo", result[0].getLabel());
138
		assertEquals(5, result[0].getCursorPosition());
138
		assertEquals(4, result[0].getCursorPosition());
139
140
		result = provider.getProposals(", ", 0);
141
		assertNotNull(result);
142
		assertEquals(1, result.length);
143
		assertEquals("foo, ", result[0].getContent());
144
		assertEquals("foo", result[0].getLabel());
145
		assertEquals(3, result[0].getCursorPosition());
139
	}
146
	}
140
147
141
}
148
}

Return to bug 187127