mirror of
https://github.com/google/nomulus.git
synced 2025-05-19 02:39:34 +02:00
Refer to Datastore everywhere correctly by its capitalized form
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=147479683
This commit is contained in:
parent
a8cf81bca2
commit
cdadb54acd
123 changed files with 232 additions and 235 deletions
|
@ -119,7 +119,7 @@ public class TimedTransitionPropertyTest {
|
|||
// Just for testing, don't extract transitions from a TimedTransitionProperty in real code.
|
||||
Set<Map.Entry<DateTime, StringTimedTransition>> transitions = timedString.entrySet();
|
||||
timedString = forMapify("0", StringTimedTransition.class);
|
||||
// Simulate a load from datastore by clearing and then re-inserting the original transitions.
|
||||
// Simulate a load from Datastore by clearing and then re-inserting the original transitions.
|
||||
timedString.clear();
|
||||
for (Map.Entry<DateTime, StringTimedTransition> transition : transitions) {
|
||||
timedString.put(transition.getKey(), transition.getValue());
|
||||
|
@ -160,7 +160,7 @@ public class TimedTransitionPropertyTest {
|
|||
@Test
|
||||
public void testFailure_noValuesAfterSimulatedEmptyLoad() throws Exception {
|
||||
timedString = forMapify("0", StringTimedTransition.class);
|
||||
// Simulate a load from datastore by clearing, but don't insert any transitions.
|
||||
// Simulate a load from Datastore by clearing, but don't insert any transitions.
|
||||
timedString.clear();
|
||||
thrown.expect(IllegalStateException.class);
|
||||
timedString.checkValidity();
|
||||
|
@ -171,7 +171,7 @@ public class TimedTransitionPropertyTest {
|
|||
// Just for testing, don't extract transitions from a TimedTransitionProperty in real code.
|
||||
StringTimedTransition transition1 = timedString.get(DATE_1);
|
||||
timedString = forMapify("0", StringTimedTransition.class);
|
||||
// Simulate a load from datastore by clearing and inserting transitions, but deliberately
|
||||
// Simulate a load from Datastore by clearing and inserting transitions, but deliberately
|
||||
// omit a transition corresponding to START_OF_TIME.
|
||||
timedString.clear();
|
||||
timedString.put(DATE_1, transition1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue