gson-comments/gson/src/test/java/com/google/gson
Marcono1234 9171715a88 Fix ISO8601UtilsTest failing on systems with UTC+X
Previously ISO8601UtilsTest.testDateFormatString() would fail on systems
where the time zone is UTC+X because getTime() returned "2018-06-24" for them.

Additionally the tests which previously changed the system locale and time
zone have been rewritten to create a UTC calendar instead. Setting locale
seems to not be necessary because ISO8601Utils.parse(...) does not do that
either.
2020-05-03 00:35:47 +02:00
..
common Minor cleanups in deprecations and other warnings (#1522) 2019-10-03 15:49:24 -07:00
functional Minor cleanups in deprecations and other warnings (#1522) 2019-10-03 15:49:24 -07:00
internal Fix ISO8601UtilsTest failing on systems with UTC+X 2020-05-03 00:35:47 +02:00
metrics Code cleanup (Removed spaces) (#1474) 2019-03-03 11:18:06 -08:00
reflect Add static factories for array and parameterized type tokens. 2016-08-12 12:11:57 -04:00
regression Minor cleanups in deprecations and other warnings (#1522) 2019-10-03 15:49:24 -07:00
stream Minor cleanups in deprecations and other warnings (#1522) 2019-10-03 15:49:24 -07:00
CommentsTest.java Test case demonstrating that issue 212 is fixed. We got comment parsing support for free when we switched to JsonReader. 2010-08-27 07:33:33 +00:00
DefaultDateTypeAdapterTest.java Fixed tests for java 11 (#1454) 2019-10-04 11:29:13 -07:00
DefaultInetAddressTypeAdapterTest.java Replace localhost lookup with static IP to fix test. 2015-07-20 14:03:52 -07:00
DefaultMapJsonSerializerTest.java Down to 22 failing tests. 2011-09-11 07:04:56 +00:00
ExposeAnnotationExclusionStrategyTest.java Rename GsonExclusionStrategy to Excluder. The new class is its own factory, which simplifies its caller in GsonBuilder. It no longer implements ExclusionStrategy, which allows the callers to pass in a boolean for serialize/deserialize. This allows us to use one excluder for both code paths. The delegate ExclusionStrategy instances might end up not being shared so it has two lists internally. 2011-11-22 07:37:13 +00:00
FieldAttributesTest.java Minor cleanups in deprecations and other warnings (#1522) 2019-10-03 15:49:24 -07:00
GenericArrayTypeTest.java Renamed $Preconditions to $Gson$Preconditions and $Types to $Gson$Types. 2011-04-06 00:26:57 +00:00
GsonBuilderTest.java Removed the executable flag from clearly text files 2018-04-26 10:23:15 +03:00
GsonTest.java Add newBuilder() API (#1142) 2017-09-20 18:53:10 -07:00
GsonTypeAdapterTest.java updated minimum JDK version to 1.6. 2015-11-04 18:52:20 -08:00
InnerClassExclusionStrategyTest.java Rename GsonExclusionStrategy to Excluder. The new class is its own factory, which simplifies its caller in GsonBuilder. It no longer implements ExclusionStrategy, which allows the callers to pass in a boolean for serialize/deserialize. This allows us to use one excluder for both code paths. The delegate ExclusionStrategy instances might end up not being shared so it has two lists internally. 2011-11-22 07:37:13 +00:00
JavaSerializationTest.java Regretfully enable serialization for StringMap and LazilyParsedNumber. 2012-08-15 14:58:26 +00:00
JsonArrayTest.java renamed JsonArray.has() to JsonArray.contains() 2014-07-04 02:03:34 +00:00
JsonNullTest.java removed eclipse warnings, unused fields. Made inner classes static where possible. 2013-04-12 20:09:08 +00:00
JsonObjectTest.java Refactor JsonParser to statics & fix tests 2019-04-15 22:35:10 -04:00
JsonParserTest.java Refactor JsonParser to statics & fix tests 2019-04-15 22:35:10 -04:00
JsonPrimitiveTest.java Add new testcases (#1638) 2020-02-17 14:55:19 -08:00
JsonStreamParserTest.java Remove unused import. 2009-10-02 20:22:43 +00:00
LongSerializationPolicyTest.java Integration test for long serialization policy. 2011-10-20 04:57:58 +00:00
MixedStreamTest.java Track change in thrown exception. 2011-10-24 05:03:06 +00:00
MockExclusionStrategy.java updated minimum JDK version to 1.6. 2015-11-04 18:52:20 -08:00
ObjectTypeAdapterTest.java Support null values in StringMap 2012-03-11 15:19:01 +00:00
OverrideCoreTypeAdaptersTest.java Address code review comments on r1154 2012-07-02 20:32:38 +00:00
ParameterizedTypeFixtures.java updated minimum JDK version to 1.6. 2015-11-04 18:52:20 -08:00
ParameterizedTypeTest.java Fix some typos in gson comments. 2016-02-15 14:11:23 -08:00
PrimitiveTypeAdapter.java Down to 22 failing tests. 2011-09-11 07:04:56 +00:00
VersionExclusionStrategyTest.java removed some eclipse warnings 2014-03-09 07:33:08 +00:00