generateTestData.xhtml
1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?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="#{TestDataView.generatePollData()}" />
<br />
<h:commandButton value="convert usernames" action="#{TestDataView.convertUsernames()}" />
<br />
</h:form>
</h:body>
</html>