geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1002949 - in /geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test: ./ src/main/java/org/apache/geronimo/samples/javaee6/converter/ src/test/java/org/apache/geronimo/testsuite/myfaces2/
Date Thu, 30 Sep 2010 05:07:14 GMT
Author: gawor
Date: Thu Sep 30 05:07:14 2010
New Revision: 1002949

URL: http://svn.apache.org/viewvc?rev=1002949&view=rev
Log:
fix formatting

Modified:
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/pom.xml
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java
    geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/geronimo/testsuite/myfaces2/TestMyfaces2.java

Modified: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/pom.xml?rev=1002949&r1=1002948&r2=1002949&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/pom.xml (original)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/pom.xml Thu Sep 30 05:07:14
2010
@@ -1,140 +1,134 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
-	license agreements. See the NOTICE file distributed with this work for additional 
-	information regarding copyright ownership. The ASF licenses this file to 
-	you under the Apache License, Version 2.0 (the "License"); you may not use 
-	this file except in compliance with the License. You may obtain a copy of 
-	the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
-	by applicable law or agreed to in writing, software distributed under the 
-	License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
-	OF ANY KIND, either express or implied. See the License for the specific 
-	language governing permissions and limitations under the License. -->
-
-<!-- $Rev$ $Date$ -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-	<modelVersion>4.0.0</modelVersion>
-
-	<parent>
-		<groupId>org.apache.geronimo.testsuite</groupId>
-		<artifactId>javaee6-testsuite</artifactId>
-		<version>3.0-SNAPSHOT</version>
-	</parent>
-
-	<artifactId>jsf2.0-test</artifactId>
-	<name>Geronimo TestSuite :: Java EE 6 Testsuite :: jsf2.0-test</name>
-	<packaging>war</packaging>
-
-	<dependencies>
-
-		<dependency>
-			<groupId>org.apache.geronimo.specs</groupId>
-			<artifactId>geronimo-servlet_3.0_spec</artifactId>
-			<scope>provided</scope>
-		</dependency>
-
-		<dependency>
-			<groupId>org.apache.geronimo.specs</groupId>
-			<artifactId>geronimo-ejb_3.1_spec</artifactId>
-			<scope>provided</scope>
-		</dependency>
-	
-		<dependency>
-			<groupId>org.apache.geronimo.specs</groupId>
-			<artifactId>geronimo-jsp_2.2_spec</artifactId>
-			<scope>provided</scope>
-		</dependency>		
-	
-		<dependency>
-        <groupId>org.apache.myfaces.core</groupId>
-        <artifactId>myfaces-api</artifactId>
-        <version>2.0.0</version>
-        <scope>provided</scope>
-        <exclusions>
-          <exclusion>
-            <artifactId>commons-logging</artifactId>
-            <groupId>commons-logging</groupId>
-          </exclusion>
-          <exclusion>
-            <artifactId>validation-api</artifactId>
-            <groupId>javax.validation</groupId>
-          </exclusion>
-          <exclusion>
-            <artifactId>el-api</artifactId>
-            <groupId>javax.el</groupId>
-          </exclusion>
-        </exclusions>
-      </dependency>
-		
-	</dependencies>
-	<build>
-		<plugins>
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-war-plugin</artifactId>
-				<configuration>
-					<archiveClasses>false</archiveClasses>
-				</configuration>
-			</plugin>
-		</plugins>
-	</build>
-
-	<profiles>
-		<profile>
-			<id>it</id>
-			<activation>
-				<property>
-					<name>it</name>
-				</property>
-			</activation>
-			<build>
-				<plugins>
-					<plugin>
-						<groupId>org.codehaus.mojo</groupId>
-						<artifactId>selenium-maven-plugin</artifactId>
-					</plugin>
-					<plugin>
-						<groupId>org.apache.geronimo.buildsupport</groupId>
-						<artifactId>geronimo-maven-plugin</artifactId>
-						<executions>
-							<execution>
-								<id>deploy-wars</id>
-								<phase>pre-integration-test</phase>
-								<goals>
-									<goal>deploy-module</goal>
-								</goals>
-								<configuration>
-									<moduleArchive>${project.build.directory}/${project.artifactId}-${project.version}.war</moduleArchive>
-								</configuration>
-							</execution>
-							<execution>
-								<id>undeploy-war-as-moduleId</id>
-								<phase>post-integration-test</phase>
-								<goals>
-									<goal>undeploy-module</goal>
-								</goals>
-								<configuration>
-									<moduleId>${project.groupId}/${project.artifactId}/${project.version}/car</moduleId>
-								</configuration>
-							</execution>
-						</executions>
-					</plugin>
-					<plugin>
-						<groupId>org.apache.maven.plugins</groupId>
-						<artifactId>maven-failsafe-plugin</artifactId>
-						<configuration>
-							<suiteXmlFiles>
-								<suiteXmlFile>${project.build.testOutputDirectory}/testng.xml</suiteXmlFile>
-							</suiteXmlFiles>
-							<systemPropertyVariables>
-								<appContext>${project.artifactId}</appContext>
-							</systemPropertyVariables>
-						</configuration>
-					</plugin>
-				</plugins>
-			</build>
-		</profile>
-	</profiles>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+     http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.testsuite</groupId>
+        <artifactId>javaee6-testsuite</artifactId>
+        <version>3.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>jsf2.0-test</artifactId>
+    <name>Geronimo TestSuite :: Java EE 6 Testsuite :: jsf2.0-test</name>
+    <packaging>war</packaging>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-servlet_3.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-jsp_2.2_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.myfaces.core</groupId>
+            <artifactId>myfaces-api</artifactId>
+            <version>2.0.0</version>
+            <scope>provided</scope>
+            <exclusions>
+                <exclusion>
+                    <artifactId>commons-logging</artifactId>
+                    <groupId>commons-logging</groupId>
+                </exclusion>
+                <exclusion>
+                    <artifactId>validation-api</artifactId>
+                    <groupId>javax.validation</groupId>
+                </exclusion>
+                <exclusion>
+                    <artifactId>el-api</artifactId>
+                    <groupId>javax.el</groupId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-war-plugin</artifactId>
+                <configuration>
+                    <archiveClasses>false</archiveClasses>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <profiles>
+        <profile>
+            <id>it</id>
+            <activation>
+                <property>
+                    <name>it</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>selenium-maven-plugin</artifactId>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.geronimo.buildsupport</groupId>
+                        <artifactId>geronimo-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>deploy-wars</id>
+                                <phase>pre-integration-test</phase>
+                                <goals>
+                                    <goal>deploy-module</goal>
+                                </goals>
+                                <configuration>
+                                    <moduleArchive>${project.build.directory}/${project.artifactId}-${project.version}.war</moduleArchive>
+                                </configuration>
+                            </execution>
+                            <execution>
+                                <id>undeploy-war-as-moduleId</id>
+                                <phase>post-integration-test</phase>
+                                <goals>
+                                    <goal>undeploy-module</goal>
+                                </goals>
+                                <configuration>
+                                    <moduleId>${project.groupId}/${project.artifactId}/${project.version}/car</moduleId>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-failsafe-plugin</artifactId>
+                        <configuration>
+                            <suiteXmlFiles>
+                                <suiteXmlFile>${project.build.testOutputDirectory}/testng.xml</suiteXmlFile>
+                            </suiteXmlFiles>
+                            <systemPropertyVariables>
+                                <appContext>${project.artifactId}</appContext>
+                            </systemPropertyVariables>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>

Modified: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java?rev=1002949&r1=1002948&r2=1002949&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java
(original)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConvertedValue.java
Thu Sep 30 05:07:14 2010
@@ -17,23 +17,24 @@
 package org.apache.geronimo.samples.javaee6.converter;
 
 public class ConvertedValue {
-	private String name;
-	private double actualValue;
-
-	public double getActualValue() {
-		return actualValue;
-	}
-
-	public void setActualVaule(double actualValue) {
-		this.actualValue = actualValue;
-	}
-
-	public String getName() {
-		return name;
-	}
-
-	public void setName(String name) {
-		this.name = name;
-	}
+    
+    private String name;
+    private double actualValue;
+
+    public double getActualValue() {
+        return actualValue;
+    }
+
+    public void setActualVaule(double actualValue) {
+        this.actualValue = actualValue;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
 
 }

Modified: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java?rev=1002949&r1=1002948&r2=1002949&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java
(original)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/ConverterBean.java
Thu Sep 30 05:07:14 2010
@@ -17,10 +17,7 @@
 package org.apache.geronimo.samples.javaee6.converter;
 
 import java.util.ArrayList;
-import java.util.HashMap;
 import java.util.List;
-import java.util.Map;
-import javax.annotation.Resource;
 import javax.faces.bean.ManagedBean;
 import javax.faces.bean.RequestScoped;
 import javax.faces.event.ActionEvent;
@@ -28,81 +25,80 @@ import javax.faces.event.ActionEvent;
 @ManagedBean(name = "ConverterBean")
 @RequestScoped
 public class ConverterBean {
-	
-	private String inf = "Hide the rate table";
-	private String msg = "Hello@ConverterBean";
-	private String value = "1";
-	private List<ConvertedValue> convertedList;
-	private List<Currency> currencyList;
-	private Boolean render = false;
-
-	public String getMsg() {
-		return msg;
-	}
-
-	public Boolean getRender() {
-		return render;
-	}
-
-	@SuppressWarnings( { "UnusedDeclaration" })
-	public void toggle(ActionEvent ae) {
-		render = !render;
-	}
-
-	public void setMsg(String msg) {
-		this.msg = msg;
-	}
-
-	public List getConvertedList() {
-		return this.convertedList;
-	}
-
-	private void setConvertedList() {
-		this.convertedList = new ArrayList();
-		try{
-
-		for (Currency currency : currencyList) {
-			ConvertedValue cv = new ConvertedValue();
-			cv.setName("<" + currency.getName() + ">");
-			cv.setActualVaule(Double.parseDouble(value) / currency.getRate());
-			this.convertedList.add(cv);
-		}
-		}catch(Exception e){
-		}
-		
-	}
-
-	public List getCurrencyList() {
-		return currencyList;
-	}
-
-	public void setCurrencyList(List currencyList) {
-		this.currencyList = currencyList;
-		setConvertedList();
-	}
-
-	/** Creates a new instance of ConverterBean */
-	public ConverterBean() {
-		this.currencyList = new ArrayList();
-		Currency c = new Currency("USD", 6.8269);
-		currencyList.add(c);
-		c = new Currency("HKD", 0.87887);
-		currencyList.add(c);
-		c = new Currency("JPY", 0.00754);
-		currencyList.add(c);
-		c = new Currency("EUR", 9.6734);
-		currencyList.add(c);
-		c = new Currency("GBP", 11.1009);
-		currencyList.add(c);
-		setConvertedList();		
-	}
-
-	public String getValue() {
-		return value;
-	}
-
-	public void setValue(String value) {
-		this.value = value;
-		setConvertedList();
-	}
-}
\ No newline at end of file
+
+    private String inf = "Hide the rate table";
+    private String msg = "Hello@ConverterBean";
+    private String value = "1";
+    private List<ConvertedValue> convertedList;
+    private List<Currency> currencyList;
+    private Boolean render = false;
+
+    public String getMsg() {
+        return msg;
+    }
+
+    public Boolean getRender() {
+        return render;
+    }
+
+    @SuppressWarnings( { "UnusedDeclaration" })
+    public void toggle(ActionEvent ae) {
+        render = !render;
+    }
+
+    public void setMsg(String msg) {
+        this.msg = msg;
+    }
+
+    public List getConvertedList() {
+        return this.convertedList;
+    }
+
+    private void setConvertedList() {
+        this.convertedList = new ArrayList();
+        try {
+
+            for (Currency currency : currencyList) {
+                ConvertedValue cv = new ConvertedValue();
+                cv.setName("<" + currency.getName() + ">");
+                cv.setActualVaule(Double.parseDouble(value) / currency.getRate());
+                this.convertedList.add(cv);
+            }
+        } catch (Exception e) {
+        }
+    }
+
+    public List getCurrencyList() {
+        return currencyList;
+    }
+
+    public void setCurrencyList(List currencyList) {
+        this.currencyList = currencyList;
+        setConvertedList();
+    }
+
+    /** Creates a new instance of ConverterBean */
+    public ConverterBean() {
+        this.currencyList = new ArrayList();
+        Currency c = new Currency("USD", 6.8269);
+        currencyList.add(c);
+        c = new Currency("HKD", 0.87887);
+        currencyList.add(c);
+        c = new Currency("JPY", 0.00754);
+        currencyList.add(c);
+        c = new Currency("EUR", 9.6734);
+        currencyList.add(c);
+        c = new Currency("GBP", 11.1009);
+        currencyList.add(c);
+        setConvertedList();
+    }
+
+    public String getValue() {
+        return value;
+    }
+
+    public void setValue(String value) {
+        this.value = value;
+        setConvertedList();
+    }
+}

Modified: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java?rev=1002949&r1=1002948&r2=1002949&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java
(original)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/main/java/org/apache/geronimo/samples/javaee6/converter/Currency.java
Thu Sep 30 05:07:14 2010
@@ -17,37 +17,38 @@
 package org.apache.geronimo.samples.javaee6.converter;
 
 public class Currency {
-	private String name;
-	private double rate;
-	private double actualVaule;
-
-	public double getActualVaule() {
-		return actualVaule;
-	}
-
-	public void setActualVaule(double actualVaule) {
-		this.actualVaule = actualVaule;
-	}
-
-	public String getName() {
-		return name;
-	}
-
-	public Currency(String name, double rate) {
-		this.name = name;
-		this.rate = rate;
-	}
-
-	public void setName(String name) {
-		this.name = name;
-	}
-
-	public double getRate() {
-		return rate;
-	}
-
-	public void setRate(double rate) {
-		this.rate = rate;
-	}
+    
+    private String name;
+    private double rate;
+    private double actualVaule;
+
+    public double getActualVaule() {
+        return actualVaule;
+    }
+
+    public void setActualVaule(double actualVaule) {
+        this.actualVaule = actualVaule;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public Currency(String name, double rate) {
+        this.name = name;
+        this.rate = rate;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public double getRate() {
+        return rate;
+    }
+
+    public void setRate(double rate) {
+        this.rate = rate;
+    }
 
 }

Modified: geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/geronimo/testsuite/myfaces2/TestMyfaces2.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/geronimo/testsuite/myfaces2/TestMyfaces2.java?rev=1002949&r1=1002948&r2=1002949&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/geronimo/testsuite/myfaces2/TestMyfaces2.java
(original)
+++ geronimo/server/trunk/testsuite/javaee6-testsuite/jsf2.0-test/src/test/java/org/apache/geronimo/testsuite/myfaces2/TestMyfaces2.java
Thu Sep 30 05:07:14 2010
@@ -23,55 +23,41 @@ import org.apache.geronimo.testsupport.S
 
 public class TestMyfaces2 extends SeleniumTestSupport {
 	
-	
-	@Test 
-	public void testJSF2() throws Exception {  
-	    selenium.open("/converter-javaee6/");
-		Thread.sleep(5000);
-		
-		assertTrue(selenium.isTextPresent("Converter-A Facelets and AJAX Example In JSF2.0"));
-		assertTrue(selenium.isTextPresent("Please input a number, or else you can't get a reply!"));

-		selenium.type("j_id1983071270_7ac218fa:in", "1000");
-		selenium.keyUp("j_id1983071270_7ac218fa:in", "0");
+    @Test
+    public void testJSF2() throws Exception {
+        selenium.open("/converter-javaee6/");
+        waitForPageLoad();
+        
+        assertTrue(selenium.isTextPresent("Converter-A Facelets and AJAX Example In JSF2.0"));
+        assertTrue(selenium.isTextPresent("Please input a number, or else you can't get a
reply!"));
+        selenium.type("j_id1983071270_7ac218fa:in", "1000");
+        selenium.keyUp("j_id1983071270_7ac218fa:in", "0");
+        Thread.sleep(5000);
+        
+        assertTrue(selenium.isTextPresent("<USD>"));
+        assertTrue(selenium.isTextPresent("<HKD>"));
+        assertTrue(selenium.isTextPresent("<JPY>"));
+        assertTrue(selenium.isTextPresent("<EUR>"));
+        assertTrue(selenium.isTextPresent("<GBP>"));
+        assertTrue(selenium.isTextPresent("146.47"));
+        assertTrue(selenium.isTextPresent("1137.82"));
+        assertTrue(selenium.isTextPresent("132625.99"));
+        assertTrue(selenium.isTextPresent("103.37"));
+        assertTrue(selenium.isTextPresent("90.08"));
+
+        selenium.click("button1");
+        Thread.sleep(5000);
+
+        assertTrue(selenium.isTextPresent("USD"));
+        assertTrue(selenium.isTextPresent("HKD"));
+        assertTrue(selenium.isTextPresent("JPY"));
+        assertTrue(selenium.isTextPresent("EUR"));
+        assertTrue(selenium.isTextPresent("GBP"));
+        assertTrue(selenium.isTextPresent("6.8269"));
+        assertTrue(selenium.isTextPresent("0.87887"));
+        assertTrue(selenium.isTextPresent("0.00754"));
+        assertTrue(selenium.isTextPresent("9.6734"));
+        assertTrue(selenium.isTextPresent("11.1009"));
+    }
 
-		
-		Thread.sleep(5000);
-		assertTrue(selenium.isTextPresent("<USD>"));
-		assertTrue(selenium.isTextPresent("<HKD>"));
-		assertTrue(selenium.isTextPresent("<JPY>"));
-		assertTrue(selenium.isTextPresent("<EUR>"));
-		assertTrue(selenium.isTextPresent("<GBP>"));
-		assertTrue(selenium.isTextPresent("146.47"));
-		assertTrue(selenium.isTextPresent("1137.82"));
-		assertTrue(selenium.isTextPresent("132625.99"));
-		assertTrue(selenium.isTextPresent("103.37"));
-		assertTrue(selenium.isTextPresent("90.08"));
-		
-		selenium.click("button1");
-		Thread.sleep(5000);
-		
-		assertTrue(selenium.isTextPresent("USD"));
-		assertTrue(selenium.isTextPresent("HKD"));
-		assertTrue(selenium.isTextPresent("JPY"));
-		assertTrue(selenium.isTextPresent("EUR"));
-		assertTrue(selenium.isTextPresent("GBP"));
-		assertTrue(selenium.isTextPresent("6.8269"));
-		assertTrue(selenium.isTextPresent("0.87887"));
-		assertTrue(selenium.isTextPresent("0.00754"));
-		assertTrue(selenium.isTextPresent("9.6734"));
-		assertTrue(selenium.isTextPresent("11.1009"));
-	}
-	
-	
 }
-		
-
-		
-		
-		
-
-
-
-
-
-



Mime
View raw message