Skip to content

Commit 434fc4c

Browse files
committed
Fix client version property file name
Fixes #335
1 parent e45f01e commit 434fc4c

File tree

3 files changed

+34
-1
lines changed

3 files changed

+34
-1
lines changed

src/test/java/com/rabbitmq/client/test/ClientTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
RpcTest.class,
5252
RecoveryDelayHandlerTest.class,
5353
FrameBuilderTest.class,
54-
PropertyFileInitialisationTest.class
54+
PropertyFileInitialisationTest.class,
55+
ClientVersionTest.class
5556
})
5657
public class ClientTests {
5758

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// Copyright (c) 2017-Present Pivotal Software, Inc. All rights reserved.
2+
//
3+
// This software, the RabbitMQ Java client library, is triple-licensed under the
4+
// Mozilla Public License 1.1 ("MPL"), the GNU General Public License version 2
5+
// ("GPL") and the Apache License version 2 ("ASL"). For the MPL, please see
6+
// LICENSE-MPL-RabbitMQ. For the GPL, please see LICENSE-GPL2. For the ASL,
7+
// please see LICENSE-APACHE2.
8+
//
9+
// This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
10+
// either express or implied. See the LICENSE file for specific language governing
11+
// rights and limitations of this software.
12+
//
13+
// If you have any questions regarding licensing, please contact us at
14+
// info@rabbitmq.com.
15+
16+
package com.rabbitmq.client.test;
17+
18+
import com.rabbitmq.client.impl.ClientVersion;
19+
import org.junit.Test;
20+
21+
import static org.hamcrest.Matchers.not;
22+
import static org.hamcrest.Matchers.notNullValue;
23+
import static org.junit.Assert.assertThat;
24+
25+
public class ClientVersionTest {
26+
27+
@Test
28+
public void clientVersion() {
29+
assertThat(ClientVersion.VERSION, notNullValue());
30+
assertThat(ClientVersion.VERSION, not("0.0.0"));
31+
}
32+
}

0 commit comments

Comments
 (0)