17dd252788645e940eada959bdde927426e2531c9Paul Duffin/*
20888a09821a98ac0680fad765217302858e70fa4Paul Duffin * Copyright (C) 2011 The Guava Authors
37dd252788645e940eada959bdde927426e2531c9Paul Duffin *
47dd252788645e940eada959bdde927426e2531c9Paul Duffin * Licensed under the Apache License, Version 2.0 (the "License");
57dd252788645e940eada959bdde927426e2531c9Paul Duffin * you may not use this file except in compliance with the License.
67dd252788645e940eada959bdde927426e2531c9Paul Duffin * You may obtain a copy of the License at
77dd252788645e940eada959bdde927426e2531c9Paul Duffin *
87dd252788645e940eada959bdde927426e2531c9Paul Duffin * http://www.apache.org/licenses/LICENSE-2.0
97dd252788645e940eada959bdde927426e2531c9Paul Duffin *
107dd252788645e940eada959bdde927426e2531c9Paul Duffin * Unless required by applicable law or agreed to in writing, software
117dd252788645e940eada959bdde927426e2531c9Paul Duffin * distributed under the License is distributed on an "AS IS" BASIS,
127dd252788645e940eada959bdde927426e2531c9Paul Duffin * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
137dd252788645e940eada959bdde927426e2531c9Paul Duffin * See the License for the specific language governing permissions and
147dd252788645e940eada959bdde927426e2531c9Paul Duffin * limitations under the License.
157dd252788645e940eada959bdde927426e2531c9Paul Duffin */
167dd252788645e940eada959bdde927426e2531c9Paul Duffin
170888a09821a98ac0680fad765217302858e70fa4Paul Duffinpackage com.google.common.collect;
187dd252788645e940eada959bdde927426e2531c9Paul Duffin
197dd252788645e940eada959bdde927426e2531c9Paul Duffinimport com.google.common.annotations.GwtCompatible;
207dd252788645e940eada959bdde927426e2531c9Paul Duffin
217dd252788645e940eada959bdde927426e2531c9Paul Duffin/**
220888a09821a98ac0680fad765217302858e70fa4Paul Duffin * Variant of {@link SerializableTester} that does not require the reserialized object's class to be
230888a09821a98ac0680fad765217302858e70fa4Paul Duffin * identical to the original.
247dd252788645e940eada959bdde927426e2531c9Paul Duffin *
250888a09821a98ac0680fad765217302858e70fa4Paul Duffin * @author Chris Povirk
260888a09821a98ac0680fad765217302858e70fa4Paul Duffin */
270888a09821a98ac0680fad765217302858e70fa4Paul Duffin/*
280888a09821a98ac0680fad765217302858e70fa4Paul Duffin * The whole thing is really @GwtIncompatible, but GwtJUnitConvertedTestModule doesn't have a
290888a09821a98ac0680fad765217302858e70fa4Paul Duffin * parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case.
307dd252788645e940eada959bdde927426e2531c9Paul Duffin */
317dd252788645e940eada959bdde927426e2531c9Paul Duffin@GwtCompatible(emulated = true)
320888a09821a98ac0680fad765217302858e70fa4Paul Duffinfinal class LenientSerializableTester {
330888a09821a98ac0680fad765217302858e70fa4Paul Duffin  /*
340888a09821a98ac0680fad765217302858e70fa4Paul Duffin   * TODO(cpovirk): move this to c.g.c.testing if we allow for c.g.c.annotations dependencies so
350888a09821a98ac0680fad765217302858e70fa4Paul Duffin   * that it can be GWTified?
360888a09821a98ac0680fad765217302858e70fa4Paul Duffin   */
370888a09821a98ac0680fad765217302858e70fa4Paul Duffin
380888a09821a98ac0680fad765217302858e70fa4Paul Duffin  private LenientSerializableTester() {}
397dd252788645e940eada959bdde927426e2531c9Paul Duffin}
407dd252788645e940eada959bdde927426e2531c9Paul Duffin
41