generateTestData.xhtml 1.52 KB
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html">
<h:head>
	<title>Facelet Title</title>
</h:head>
<h:body>
	<h:form>
		<!-- todo: remember to remove this :) -->
		<h:commandButton value="generate the data" action="#{TestDataView.generateData}" />


		<br />
		<br />
		<h:commandButton value="print places debug info" action="#{TestDataView.printPlacesInfo}" />
		<br />
		<h:commandButton value="Generate map tests" action="#{TestDataView.generateMapTests}" />
		<br />
		<h:commandButton value="Gen Test map" action="#{TestDataView.generateTestMap}" />
		<br />
		<h:commandButton value="Context Test" action="#{TestDataView.contextTest}" />
		<br />
		<h:commandButton value="Role Test" action="#{TestDataView.roletest}" />
		<br />
		<h:commandButton value="Multipart mailtest" action="#{TestDataView.multiparttest}" />
		<br />
		<h:commandButton value="Check all cards" action="#{TestDataView.checkCards()}" />
		<br />
		
		<h:commandButton value="Check all users images" action="#{TestDataView.checkImages()}" />
		<br />
		<h:commandButton value="Resize all images" action="#{TestDataView.convertImages()}" />
		<br />
		<h:commandButton value="Generate test poll data" action="#{testView.generatePollData()}" />
		<br />
		<h:commandButton value="convert usernames" action="#{TestDataView.convertUsernames()}" />
		<br />
	</h:form>
</h:body>
</html>