Project

General

Profile

« Previous | Next » 

Revision d8f3e57a

Added by Andreas Kohlbecker almost 13 years ago

maven project for selenium tests

View differences:

.gitattributes
247 247
modules/cdm_dataportal/site/resources/images/settings1.PNG -text
248 248
modules/cdm_dataportal/site/site.xml -text
249 249
modules/cdm_dataportal/test/TestSuite-search.html -text
250
modules/cdm_dataportal/test/java/dataportal-selenium-tests/pom.xml -text
251
modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/selenium/App.java -text
252
modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/AppTest.java -text
250 253
modules/cdm_dataportal/test/phpUnit/TestUtils.php -text
251 254
modules/cdm_dataportal/test/phpUnit/bootstrap.php -text
252 255
modules/cdm_dataportal/test/phpUnit/phpUnit.conf.xml -text
modules/cdm_dataportal/test/java/dataportal-selenium-tests/pom.xml
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
  <modelVersion>4.0.0</modelVersion>
4

  
5
  <groupId>eu.etaxonomy</groupId>
6
  <artifactId>dataportal-selenium-tests</artifactId>
7
  <version>1.0-SNAPSHOT</version>
8
  <packaging>jar</packaging>
9

  
10
  <name>dataportal-selenium-tests</name>
11
  <url>http://maven.apache.org</url>
12

  
13
  <properties>
14
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15
  </properties>
16
  
17
	<scm>
18
		<connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/drupal/modules/cdm_dataportal/test/java/dataportal-selenium-tests</connection>
19
		<developerConnection>scm:svn:https://dev.e-taxonomy.eu/svn/trunk/drupal/modules/cdm_dataportal/test/java/dataportal-selenium-tests</developerConnection>
20
		<url>http://dev.e-taxonomy.eu/trac/browser/trunk/drupal/modules/cdm_dataportal/test/java/dataportal-selenium-tests</url>
21
	</scm>
22
  
23
  <developers>
24
		<developer>
25
			<!-- your SVN account id please! -->
26
			<id>a.kohlbecker</id>
27
			<name>
28
				Andreas Kohlbecker
29
			</name>
30
			<email>a.kohlbecker [at] bgbm.org</email>
31
			<organization>
32
				Botanical Garden Botanical Museum Berlin
33
			</organization>
34
			<organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
35
			<timezone>+1</timezone>
36
			<roles>
37
				<role>Developer</role>
38
			</roles>
39
			<url></url>
40
		</developer>
41
	</developers>
42

  
43
  
44
	<!-- **** PLUGINS **** -->
45
	<build>
46
    <plugin>
47
      <artifactId>maven-compiler-plugin</artifactId>
48
      <configuration>
49
        <source>1.6</source>
50
        <target>1.6</target>
51
      </configuration>
52
    </plugin>
53
    <plugin>
54
      <groupId>org.apache.maven.plugins</groupId>
55
      <artifactId>maven-eclipse-plugin</artifactId>
56
      <configuration>
57
        <downloadSources>true</downloadSources>
58
        <downloadJavadocs>true</downloadJavadocs>
59
      </configuration>
60
    </plugin>
61
  </build>
62

  
63
  <dependencies>
64
    <!--
65
    <dependency>
66
      <groupId>junit</groupId>
67
      <artifactId>junit</artifactId>
68
      <version>3.8.1</version>
69
      <scope>test</scope>
70
    </dependency>
71
    -->
72
    <dependency>
73
      <!-- see http://seleniumhq.org/docs/03_webdriver.html#with-maven -->
74
      <groupId>org.seleniumhq.webdriver</groupId>
75
      <artifactId>webdriver-firefox</artifactId>
76
      <version>0.9.7376</version>
77
    </dependency>
78
  </dependencies>
79
  
80
  
81
</project>
modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/selenium/App.java
1
package eu.etaxonomy.dataportal.selenium;
2

  
3
/**
4
 * Hello world!
5
 *
6
 */
7
public class App 
8
{
9
    public static void main( String[] args )
10
    {
11
        System.out.println( "Hello World!" );
12
    }
13
}
modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/test/java/eu/etaxonomy/dataportal/selenium/AppTest.java
1
package eu.etaxonomy.dataportal.selenium;
2

  
3
import junit.framework.Test;
4
import junit.framework.TestCase;
5
import junit.framework.TestSuite;
6

  
7
/**
8
 * Unit test for simple App.
9
 */
10
public class AppTest 
11
    extends TestCase
12
{
13
    /**
14
     * Create the test case
15
     *
16
     * @param testName name of the test case
17
     */
18
    public AppTest( String testName )
19
    {
20
        super( testName );
21
    }
22

  
23
    /**
24
     * @return the suite of tests being tested
25
     */
26
    public static Test suite()
27
    {
28
        return new TestSuite( AppTest.class );
29
    }
30

  
31
    /**
32
     * Rigourous Test :-)
33
     */
34
    public void testApp()
35
    {
36
        assertTrue( true );
37
    }
38
}

Also available in: Unified diff