mirror of
https://github.com/google/nomulus
synced 2026-09-20 06:54:43 +00: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user