mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Bug 409186 - Remove test that was causing assertion.
Change-Id: Ia4336dc239c2193259eee3350d67c2a4f0255c06
This commit is contained in:
parent
be653cc350
commit
20a079bafa
1 changed files with 1 additions and 15 deletions
|
@ -155,21 +155,7 @@ public class ProcStatParserTest {
|
|||
assertEquals(57,l2);
|
||||
int l3 = (int)load.getLoad("3").floatValue();
|
||||
assertEquals(57,l3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the order of the /proc/stat files to cause parsing problem
|
||||
* @throws Exception
|
||||
*/
|
||||
@Test
|
||||
public void testProcStatParseWrongOrder() throws Exception {
|
||||
ProcStatParser procStatParser = new ProcStatParser();
|
||||
procStatParser.parseStatFile(stat_t2_file);
|
||||
procStatParser.parseStatFile(stat_t0_file);
|
||||
ProcStatCoreLoads load = procStatParser.getCpuLoad();
|
||||
assertEquals(load, null);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testProcStatParseOneSetOfCounters() throws Exception {
|
||||
|
|
Loading…
Add table
Reference in a new issue