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 71271 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/jst/jsp/ui/tests/viewer/TestViewerConfigurationJSP.java (+15 lines)
Lines 232-235 Link Here
232
			assertNotNull("hover was null for partition: " + hoverPartitions[i], hover);
232
			assertNotNull("hover was null for partition: " + hoverPartitions[i], hover);
233
		}
233
		}
234
	}
234
	}
235
	
236
	public void testGetIndentPrefixes() {
237
		// probably no display
238
		if(!fDisplayExists)
239
			return;
240
		
241
		String[] contentTypes = fConfig.getConfiguredContentTypes(fViewer);
242
		for (int i = 0; i < contentTypes.length; i++) {
243
			String prefixes[] = fConfig.getIndentPrefixes(fViewer, contentTypes[i]);
244
			if(prefixes != null) {
245
				return;
246
			}
247
		}
248
		assertTrue("there are no configured indent prefixes", false);
249
	}
235
}
250
}

Return to bug 71271