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/wst/xml/ui/tests/viewer/TestViewerConfigurationXML.java (+15 lines)
Lines 229-232 Link Here
229
			assertNotNull("hover was null for partition: " + hoverPartitions[i], hover);
229
			assertNotNull("hover was null for partition: " + hoverPartitions[i], hover);
230
		}
230
		}
231
	}
231
	}
232
	
233
	public void testGetIndentPrefixes() {
234
		// probably no display
235
		if(!fDisplayExists)
236
			return;
237
		
238
		String[] contentTypes = fConfig.getConfiguredContentTypes(fViewer);
239
		for (int i = 0; i < contentTypes.length; i++) {
240
			String prefixes[] = fConfig.getIndentPrefixes(fViewer, contentTypes[i]);
241
			if(prefixes != null) {
242
				return;
243
			}
244
		}
245
		assertTrue("there are no configured indent prefixes", false);
246
	}
232
}
247
}

Return to bug 71271