2016-12-04 03:34:30 +08:00
|
|
|
<!--
|
2017-03-31 01:44:25 +08:00
|
|
|
~ Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
|
2016-12-05 03:37:49 +08:00
|
|
|
~ Use of this file is governed by the BSD 3-clause license that
|
2016-12-04 03:34:30 +08:00
|
|
|
~ can be found in the LICENSE.txt file in the project root.
|
|
|
|
-->
|
|
|
|
|
2015-07-16 05:45:45 +08:00
|
|
|
<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">
|
2015-06-02 05:20:32 +08:00
|
|
|
|
2016-11-16 03:08:19 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-master</artifactId>
|
2017-03-31 05:11:59 +08:00
|
|
|
<version>4.7.1-SNAPSHOT</version>
|
2016-11-16 03:08:19 +08:00
|
|
|
</parent>
|
|
|
|
<artifactId>antlr4-runtime-testsuite</artifactId>
|
|
|
|
<name>ANTLR 4 Runtime Tests (2nd generation)</name>
|
|
|
|
<description>A collection of tests for ANTLR 4 Runtime libraries.</description>
|
2015-04-20 01:24:07 +08:00
|
|
|
|
2016-11-16 03:08:19 +08:00
|
|
|
<prerequisites>
|
|
|
|
<maven>3.0</maven>
|
|
|
|
</prerequisites>
|
2015-04-20 01:24:07 +08:00
|
|
|
|
2016-11-16 03:08:19 +08:00
|
|
|
<inceptionYear>2009</inceptionYear>
|
2015-04-20 01:24:07 +08:00
|
|
|
|
2016-11-16 03:08:19 +08:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>ST4</artifactId>
|
|
|
|
<version>4.0.8</version>
|
2016-12-11 07:24:07 +08:00
|
|
|
<scope>test</scope>
|
2016-11-16 03:08:19 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2016-12-11 07:24:07 +08:00
|
|
|
<scope>test</scope>
|
2016-11-16 03:08:19 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2017-01-08 00:58:43 +08:00
|
|
|
<scope>test</scope>
|
2016-12-11 07:24:07 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime-test-annotations</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-runtime-test-annotation-processors</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
2016-11-16 03:08:19 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2016-11-20 08:11:35 +08:00
|
|
|
<version>4.12</version>
|
2016-11-16 03:08:19 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-java</artifactId>
|
|
|
|
<version>2.46.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
<version>8.1.16.v20140903</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-10-05 01:58:43 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish</groupId>
|
|
|
|
<artifactId>javax.json</artifactId>
|
|
|
|
<version>1.0.4</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-03-27 04:27:57 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjdk.jol</groupId>
|
|
|
|
<artifactId>jol-core</artifactId>
|
|
|
|
<version>0.8</version>
|
|
|
|
</dependency>
|
2016-11-16 03:08:19 +08:00
|
|
|
</dependencies>
|
2015-04-20 01:24:07 +08:00
|
|
|
|
2016-12-15 02:33:53 +08:00
|
|
|
<build>
|
|
|
|
<testSourceDirectory>test</testSourceDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>resources</directory>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>../runtime</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.19.1</version>
|
|
|
|
<configuration>
|
2017-02-10 08:19:34 +08:00
|
|
|
<!-- SUREFIRE-951: file.encoding cannot be set via systemPropertyVariables -->
|
|
|
|
<argLine>-Dfile.encoding=UTF-8</argLine>
|
2016-12-15 02:33:53 +08:00
|
|
|
<includes>
|
|
|
|
<include>**/csharp/Test*.java</include>
|
|
|
|
<include>**/java/Test*.java</include>
|
|
|
|
<include>**/go/Test*.java</include>
|
|
|
|
<include>**/javascript/node/Test*.java</include>
|
|
|
|
<include>**/python2/Test*.java</include>
|
|
|
|
<include>**/python3/Test*.java</include>
|
2016-12-15 08:20:48 +08:00
|
|
|
<include>${antlr.tests.swift}</include>
|
2016-12-15 02:33:53 +08:00
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2017-01-06 02:40:29 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr4-maven-plugin</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>antlr4</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sourceDirectory>${basedir}/test</sourceDirectory>
|
2017-01-08 00:58:43 +08:00
|
|
|
<outputDirectory>${project.build.directory}/generated-test-sources/antlr4</outputDirectory>
|
2017-01-06 02:40:29 +08:00
|
|
|
<visitor>true</visitor>
|
2017-01-08 00:58:43 +08:00
|
|
|
<generateTestSources>true</generateTestSources>
|
2017-01-06 02:40:29 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-12-15 02:33:53 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2016-11-23 02:00:28 +08:00
|
|
|
|
2016-12-15 02:33:53 +08:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>includeSwiftTests</id>
|
|
|
|
<activation>
|
|
|
|
<os>
|
|
|
|
<family>mac</family>
|
|
|
|
</os>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<antlr.tests.swift>**/swift/Test*.java</antlr.tests.swift>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2015-06-02 05:20:32 +08:00
|
|
|
</project>
|