1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 357300. Stricter test case.

This commit is contained in:
Sergey Prigogin 2011-09-21 20:24:44 -07:00
parent 4bca28c52f
commit baacf46add

View file

@ -1203,8 +1203,8 @@ public class CodeFormatterTest extends BaseUITestCase {
//template<typename T, typename U>
//struct type_with_multiple_template_parameters {};
//
//void wrap_when_necessary(type_with_multiple_template_parameters<char, float> p1, int p2, int p3) {
//}
//void wrap_when_necessary(type_with_multiple_template_parameters<char, float> p1, int p2, int p3) {}
//void wrap_when_necessary(type_with_multiple_template_parameters<float, float> p1, int p2, int p3) {}
//template<typename T, typename U>
//struct type_with_multiple_template_parameters {
@ -1213,6 +1213,10 @@ public class CodeFormatterTest extends BaseUITestCase {
//void wrap_when_necessary(type_with_multiple_template_parameters<char, float> p1,
// int p2, int p3) {
//}
//void wrap_when_necessary(
// type_with_multiple_template_parameters<float, float> p1, int p2,
// int p3) {
//}
public void testFunctionCallWithTemplates_Bug357300() throws Exception {
fOptions.put(DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR, CCorePlugin.SPACE);
assertFormatterResult();