MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / dumpToFilesDirectoryExistsNotWritable

Method dumpToFilesDirectoryExistsNotWritable

test/graph/TestPlot.java:67–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 }
66
67 @Test(expected = IllegalArgumentException.class)
68 public void dumpToFilesDirectoryExistsNotWritable() throws Exception {
69 PowerMockito.when(mockFile, "canWrite").thenReturn(false);
70 plot.dumpToFiles("/temp/opentsdb/s0M3haSh");
71 }
72
73 @Test
74 public void dumpToFilesCreateNonexistentDirectory() throws Exception {

Callers

nothing calls this directly

Calls 1

dumpToFilesMethod · 0.80

Tested by

no test coverage detected