Skip to content

Commit 107988a

Browse files
authored
Merge pull request TooTallNate#446 from marci4/master
Updated pom
2 parents 627516d + 0b127e1 commit 107988a

File tree

2 files changed

+27
-45
lines changed

2 files changed

+27
-45
lines changed

pom.xml

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<properties>
2222
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2323
<java.version>1.6</java.version>
24-
<cucumber.version>1.0.0.RC24</cucumber.version>
24+
<cucumber.version>1.0.2</cucumber.version>
2525
</properties>
2626
<build>
2727
<plugins>
@@ -67,14 +67,14 @@
6767
<dependency>
6868
<groupId>junit</groupId>
6969
<artifactId>junit</artifactId>
70-
<version>4.8.2</version>
70+
<version>4.10</version>
7171
<scope>test</scope>
7272
</dependency>
7373
<!-- Cucumber -->
7474
<dependency>
7575
<groupId>info.cukes</groupId>
7676
<artifactId>cucumber-junit</artifactId>
77-
<version>1.0.0</version>
77+
<version>1.0.2</version>
7878
<scope>test</scope>
7979
</dependency>
8080
<dependency>
@@ -125,26 +125,7 @@
125125
<activation>
126126
<property><name>performRelease</name><value>true</value></property>
127127
</activation>
128-
<build>
129-
<plugins>
130-
<plugin>
131-
<groupId>org.apache.maven.plugins</groupId>
132-
<artifactId>maven-gpg-plugin</artifactId>
133-
<version>1.1</version>
134-
<executions>
135-
<execution>
136-
<id>sign-artifacts</id>
137-
<phase>verify</phase>
138-
<goals>
139-
<goal>sign</goal>
140-
</goals>
141-
</execution>
142-
</executions>
143-
<configuration>
144-
<keyname>rohmer.david@gmail.com</keyname>
145-
</configuration>
146-
</plugin>
147-
</plugins>
128+
<build>
148129
</build>
149130
</profile>
150131
</profiles>
Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
Feature: Client connects using Draft 17
2-
As an autobahn client
3-
I want to connect to a websocket server using draft 17
4-
So that I can send and receive messages
2+
As an autobahn client
3+
I want to connect to a websocket server using draft 17
4+
So that I can send and receive messages
55

6-
Scenario Outline: Client connection parameters are valid
7-
Given the Autobahn Server is running using Draft_<draft> on port <port>
8-
And protocol is <protocol>
9-
And the host is <host>
10-
And the port is <port>
11-
And the query string is <query>
12-
And the draft is Draft_<draft>
13-
When the client connects to the server
14-
Then the server response should contain <method>
15-
And the response's query should contain <query>
16-
And the response's http version should contain <http_version>
17-
And the response's handshake should contain <handshake>
18-
And the response's host should contain <host>
19-
And the response's websocket key should contain <websocket_key>
20-
And the response's websocket version should contain <websocket_version>
21-
And the response's upgraded protocol should contain <upgraded_protocol>
6+
Scenario Outline: Client connection parameters are valid
7+
Given the Autobahn Server is running using Draft_<draft> on port <port>
8+
And protocol is <protocol>
9+
And the host is <host>
10+
And the port is <port>
11+
And the path is <path>
12+
And the query string is <query>
13+
And the draft is Draft_<draft>
14+
When the client connects to the server
15+
Then the server response should contain <method>
16+
And the response's query should contain <query>
17+
And the response's http version should contain <http_version>
18+
And the response's handshake should contain <handshake>
19+
And the response's host should contain <host>
20+
And the response's websocket key should contain <websocket_key>
21+
And the response's websocket version should contain <websocket_version>
22+
And the response's upgraded protocol should contain <upgraded_protocol>
2223

23-
Examples:
24-
| protocol | host | port | query | draft | method | http_version | handshake | websocket_key | websocket_version | upgraded_protocol |
25-
| ws | localhost | 9003 | case=1&agent=tootallnate/websocket | 17 | GET | HTTP/1.1 | Upgrade | Sec-WebSocket-Key | Sec-WebSocket-Version | websocket |
24+
Examples:
25+
| protocol | host | port | path | query | draft | method | http_version | handshake | websocket_key | websocket_version | upgraded_protocol |
26+
| ws | localhost | 9003 | /websocket | case=1&agent=tootallnate/websocket | 17 | GET | HTTP/1.1 | Upgrade | Sec-WebSocket-Key | Sec-WebSocket-Version | websocket |

0 commit comments

Comments
 (0)