Пример #1
0
  @Override
  protected void setUp() throws Exception {
    super.setUp();

    m =
        new BrokenPackage(
            null /*props*/,
            "short description",
            "long description",
            12, // min api level
            13, // exact api level
            "os/path",
            PkgDesc.Builder.newTool(new FullRevision(1, 2, 3, 4), FullRevision.NOT_SPECIFIED)
                .create());
  }
Пример #2
0
 public final void testGetPkgDesc() {
   assertEquals(
       PkgDesc.Builder.newTool(new FullRevision(1, 2, 3, 4), FullRevision.NOT_SPECIFIED).create(),
       m.getPkgDesc());
 }