public void testMissingApplication() throws Exception {
  mEnabled.add(LauncherActivityDetector.ISSUE_MORE_THAN_ONE_LAUNCHER);
  mEnabled.add(LauncherActivityDetector.ISSUE_MISSING_LAUNCHER);
  mEnabled.add(LauncherActivityDetector.ISSUE_LAUNCHER_ACTIVITY_IN_LIBRARY);
  String expected="No warnings.";
  String result=lintProject(xml(FN_ANDROID_MANIFEST_XML,"" + "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + "<manifest package=\"com.example.android.custom-lint-rules\"\n"+ "          >\n"+ "</manifest>"));
  assertEquals(expected,result);
}

public void testMissingApplication ( ) throws Exception { mEnabled . add ( LauncherActivityDetector . ISSUE_MORE_THAN_ONE_LAUNCHER ) ; mEnabled . add ( LauncherActivityDetector . ISSUE_MISSING_LAUNCHER ) ; mEnabled . add ( LauncherActivityDetector . ISSUE_LAUNCHER_ACTIVITY_IN_LIBRARY ) ; String expected = "No warnings." ; String result = lintProject ( xml ( FN_ANDROID_MANIFEST_XML , "" + "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" + "<manifest package=\"com.example.android.custom-lint-rules\"\n" + "          >\n" + "</manifest>" ) ) ; assertEquals ( expected , result ) ; }
test that a manifest without an application tag has no warnings .
