Update TestWavefrontMetrics.java
This commit is contained in:
parent
9bd4474cea
commit
5740bb6345
|
@ -60,6 +60,7 @@ public class TestWavefrontMetrics {
|
||||||
return mockWavefront;
|
return mockWavefront;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings( "deprecation" )
|
||||||
@Test
|
@Test
|
||||||
public void testPutMetrics() {
|
public void testPutMetrics() {
|
||||||
WavefrontSink sink = new WavefrontSink();
|
WavefrontSink sink = new WavefrontSink();
|
||||||
|
@ -101,6 +102,7 @@ public class TestWavefrontMetrics {
|
||||||
/**
|
/**
|
||||||
* Assert that timestamps are converted correctly.
|
* Assert that timestamps are converted correctly.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings( "deprecation" )
|
||||||
@Test
|
@Test
|
||||||
public void testPutMetrics2() {
|
public void testPutMetrics2() {
|
||||||
|
|
||||||
|
@ -139,6 +141,7 @@ public class TestWavefrontMetrics {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings( "deprecation" )
|
||||||
@Test
|
@Test
|
||||||
public void testFailureAndPutMetrics() throws IOException {
|
public void testFailureAndPutMetrics() throws IOException {
|
||||||
WavefrontSink sink = new WavefrontSink();
|
WavefrontSink sink = new WavefrontSink();
|
||||||
|
@ -185,6 +188,7 @@ public class TestWavefrontMetrics {
|
||||||
"Hostname=\"host\"\n"));
|
"Hostname=\"host\"\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings( "deprecation" )
|
||||||
@Test
|
@Test
|
||||||
public void testClose() {
|
public void testClose() {
|
||||||
WavefrontSink sink = new WavefrontSink();
|
WavefrontSink sink = new WavefrontSink();
|
||||||
|
|
Loading…
Reference in New Issue