When performing a set of batch operations, some callers need to enforce that a query has specific values. For example, when persisting edited Contact values, we need to assert that the RawContacts.VERSION matches the version we read out through queryEntities(). This change adds a new TYPE_ASSERT that uses withValues() and withSelection(), and checks all values when applying the batch operation, bailing if any values don't match.
FrameworkTestApplication should hold snippets of functionality that are helpful for testing the UI framework code, but not appropriate for sample code. For instance, a layout contrived to exercise an edge case of scrolling behavior. InstrumentationTestCases should be added under tests and added to the list of tests in FrameworkInstrumentationTestRunner.