1The memory controller testplan includes a complete set of testcases that 2test the memory controller in different scenarios. 3 4**These testcases test the memory controller under single level.** 5 6TESTCASE DESCRIPTION: 7==================== 8 9Test 01: TASK MIGRATION TEST(1) 10------------------------------- 11In this test we create two groups(a & b) and run initially two tasks in one 12group(a). group b has no task in it. The tasks do anonymous memory allocation 13using malloc and after that just keep reading the pages they allocate. So 14the memory usage for group a is non zero and group b is zero. After some time 15one of the tasks from group a is migrated to group b and the memory usage of 16group b is checked. If memory usage of group b is still zero the test passes 17otherwise it fails. 18 19Test 02: TASK MIGRATION TEST(2) 20------------------------------- 21This test is an extension of the above test 1. After migration the task does 22memory allocation again and so this time the memory should be claimed from 23group b. The test checks if memory is claimed from group b and reports pass 24or failure accordingly. 25