1
0
Fork 0
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:
Marc Khouzam 2013-07-08 13:13:14 -04:00
parent be653cc350
commit 20a079bafa

View file

@ -155,21 +155,7 @@ public class ProcStatParserTest {
assertEquals(57,l2); assertEquals(57,l2);
int l3 = (int)load.getLoad("3").floatValue(); int l3 = (int)load.getLoad("3").floatValue();
assertEquals(57,l3); 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 @Test
public void testProcStatParseOneSetOfCounters() throws Exception { public void testProcStatParseOneSetOfCounters() throws Exception {