Searched refs:txn (Results 1 – 2 of 2) sorted by relevance
36 private TestFragmentTransaction txn; field in FragmentTransactionTest43 txn = new TestFragmentTransaction(manager); in setUp()51 txn.add(fragment, tag); in testGetters()52 assertSame(fragment, txn.getFragment()); in testGetters()53 assertSame(tag, txn.getTag()); in testGetters()54 assertEquals(View.NO_ID, txn.getContainerViewId()); in testGetters()56 txn.add(id, fragment); in testGetters()57 assertEquals(id, txn.getContainerViewId()); in testGetters()58 assertSame(fragment, txn.getFragment()); in testGetters()60 txn.add(id, fragment, tag); in testGetters()[all …]
84 txn = lambda: entity.put() if not entity.key.get() else None function85 return model.transaction(txn) is not None