diff options
author | Harald Musum <musum@verizonmedia.com> | 2020-02-12 13:34:59 +0100 |
---|---|---|
committer | Harald Musum <musum@verizonmedia.com> | 2020-02-12 13:34:59 +0100 |
commit | 6d83273fd48a41eb345502383aa2b97a04e961c0 (patch) | |
tree | bb82de3782e4c6fba984d4ce60621caa45056c14 /config/src/test | |
parent | 2110582befb0b8401c8d887d44947d5bdbd45630 (diff) |
Remove constructor only used in test
Diffstat (limited to 'config/src/test')
-rw-r--r-- | config/src/test/java/com/yahoo/vespa/config/TimingValuesTest.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/config/src/test/java/com/yahoo/vespa/config/TimingValuesTest.java b/config/src/test/java/com/yahoo/vespa/config/TimingValuesTest.java deleted file mode 100644 index 0be5e98ff0a..00000000000 --- a/config/src/test/java/com/yahoo/vespa/config/TimingValuesTest.java +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package com.yahoo.vespa.config; - -import org.junit.Test; - -import static org.hamcrest.CoreMatchers.is; -import static org.hamcrest.CoreMatchers.not; -import static org.junit.Assert.assertThat; - -/** - * Note: Most of the functionality is tested implicitly by other tests - * - * @author hmusum - */ -public class TimingValuesTest { - - @Test - public void basic() { - TimingValues tv = new TimingValues(); - TimingValues tv2 = new TimingValues(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1); - assertThat(tv.getRandom(), is(not(tv2.getRandom()))); - TimingValues copy = new TimingValues(tv2); - assertThat(copy.toString(), is(tv2.toString())); // No equals method, just using toString to compare - } -} |