Skip to content

Commit 60a28bc

Browse files
committed
Merge branch '4.x.x-stable' into 5.1.x-stable
2 parents 7537a33 + 8daa1c8 commit 60a28bc

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
@@ -54,7 +54,8 @@
5454
ChannelAsyncCompletableFutureTest.class,
5555
RecoveryDelayHandlerTest.class,
5656
FrameBuilderTest.class,
57-
PropertyFileInitialisationTest.class
57+
PropertyFileInitialisationTest.class,
58+
ClientVersionTest.class
5859
})
5960
public class ClientTests {
6061

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)