diff options
Diffstat (limited to 'BKUApplet')
| -rw-r--r-- | BKUApplet/pom.xml | 30 | ||||
| -rw-r--r-- | BKUApplet/src/test/resources/appletTest.html | 29 | 
2 files changed, 55 insertions, 4 deletions
| diff --git a/BKUApplet/pom.xml b/BKUApplet/pom.xml index 35672e51..130749c5 100644 --- a/BKUApplet/pom.xml +++ b/BKUApplet/pom.xml @@ -1,6 +1,5 @@  <?xml version="1.0" encoding="UTF-8"?>
 -<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">
 +<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">
    <parent>
      <artifactId>bku</artifactId>
      <groupId>at.gv.egiz</groupId>
 @@ -11,7 +10,6 @@    <artifactId>BKUApplet</artifactId>
    <name>BKU Applet</name>
    <version>1.0-SNAPSHOT</version>
 -  <description />
    <build>
      <plugins>
        <plugin>
 @@ -81,6 +79,30 @@            <verify>true</verify>
          </configuration>
        </plugin>
 +      <plugin>
 +				<artifactId>maven-dependency-plugin</artifactId>
 +				<executions>
 +					<execution>
 +						<id>copytestlibs</id>
 +						<goals>
 +							<goal>copy</goal>
 +						</goals>
 +						<configuration>
 +							<artifactItems>
 +								<artifactItem>
 +									<groupId>commons-logging</groupId>
 +									<artifactId>commons-logging</artifactId>
 +								</artifactItem>
 +								<artifactItem>
 +									<groupId>iaik</groupId>
 +									<artifactId>iaik_jce_me4se</artifactId>
 +								</artifactItem>
 +							</artifactItems>
 +							<outputDirectory>${project.build.directory}/test-libs</outputDirectory>
 +						</configuration>
 +					</execution>
 +				</executions>
 +			</plugin>
      </plugins>
    </build>
    <dependencies>
 @@ -114,4 +136,4 @@        <artifactId>commons-logging</artifactId>
      </dependency>
    </dependencies>
 -</project>
\ No newline at end of file +</project>
 diff --git a/BKUApplet/src/test/resources/appletTest.html b/BKUApplet/src/test/resources/appletTest.html new file mode 100644 index 00000000..3b944a40 --- /dev/null +++ b/BKUApplet/src/test/resources/appletTest.html @@ -0,0 +1,29 @@ +<!-- +  Copyright 2008 Federal Chancellery Austria and +  Graz University of Technology + +  Licensed 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. +--> +<html> +  <body> +    <center> +      <applet code="at.gv.egiz.bku.online.applet.BKUApplet.class" +              archive="../BKUApplet-1.0-SNAPSHOT.jar, ../test-libs/commons-logging-1.1.1.jar , ../test-libs/iaik_jce_me4se-3.04.jar" +              width=210 height=160> +              <param name="WSDL_URL" value="http://localhost:3495/BKUOnline-1.0-SNAPSHOT/stal?wsdl"/> +              <param name="SessionId" value="TestSession"/> +              <param name="redirectURL" value="http://localhost:3495/BKUOnline-1.0-SNAPSHOT/bkuResult"/> +      </applet> +    </center> +  </body> +</html>
\ No newline at end of file | 
