private void changeCheckAllTests(boolean check) {
    TestGroup tg = (TestGroup) mTestGroupSpinner.getSelectedItem();
    List<TestCase> testCases = tg.getTestCases();

    for (TestCase testCase : testCases) {
      testCase.setEnabled(check);
    }

    fillTestList(testCases);
  }
  private void selectTestGroup(int pos) {
    TestGroup tg = (TestGroup) mTestGroupSpinner.getItemAtPosition(pos);
    List<TestCase> testCases = tg.getTestCases();

    fillTestList(testCases);
  }