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

Return to bug 71271