HCOLL-184 added BuildVersionTest and check Assets to use org.junit

This commit is contained in:
Rob Austin
2014-12-17 18:33:34 +00:00
parent 9c98c61e55
commit c2b276a0b8
7 changed files with 59 additions and 9 deletions
@@ -0,0 +1,38 @@
/*
* Copyright 2014 Higher Frequency Trading
*
* http://www.higherfrequencytrading.com
*
* 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.
*/
package net.openhft.chronicle.map;
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
/**
* @author Rob Austin.
*/
public class BuildVersionTest {
@Test
public void test() throws IOException, InterruptedException {
// checks that we always get a version
Assert.assertNotNull(BuildVersion.version());
}
}
@@ -1,7 +1,7 @@
package net.openhft.chronicle.map;
import com.google.common.primitives.Chars;
import junit.framework.Assert;
import org.junit.Assert;
import net.openhft.chronicle.hash.replication.TcpTransportAndNetworkConfig;
import net.openhft.lang.io.ByteBufferBytes;
import net.openhft.lang.io.serialization.impl.*;
@@ -1,9 +1,9 @@
package net.openhft.chronicle.map;
import junit.framework.Assert;
import net.openhft.chronicle.hash.replication.TcpTransportAndNetworkConfig;
import net.openhft.chronicle.hash.replication.TcpTransportAndNetworkConfig;
import net.openhft.lang.values.LongValue;
import net.openhft.lang.values.LongValue$$Native;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
@@ -18,7 +18,7 @@
package net.openhft.chronicle.map;
import junit.framework.Assert;
import org.junit.Assert;
import net.openhft.lang.Jvm;
import org.junit.Test;
@@ -1,8 +1,8 @@
package net.openhft.chronicle.map;
import junit.framework.Assert;
import net.openhft.chronicle.hash.replication.TcpTransportAndNetworkConfig;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;