commit | 7887b477ce3f82a74e7bb9f06eda2bbbfd0d6ffd | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Mon Feb 23 11:08:36 2015 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Mon Feb 23 21:45:52 2015 +0000 |
tree | c27a09b9a7a12deaab291e120f1ffc9c0c5427c2 | |
parent | d450da9d1896871f8db18c6b4af63e6a1cf5f1aa [diff] |
Exclude generated fields from ImmutableClass check - Eclipse sometimes auto-generates switch table, which fails the immutability unit tests. Ignore field name starting with _ or $, which tends to be used for auto-generated names. ---- Failed tests: IpAddressTest.testImmutable:41 Expected: is "a properly defined immutable class" but : was "a field named '$SWITCH_TABLE$org$onlab$packet$IpAddress$Version' that is not final" IpPrefixTest.testImmutable:39 Expected: is "a properly defined immutable class" but : was "a field named '$SWITCH_TABLE$org$onlab$packet$IpAddress$Version' that is not final" ---- Change-Id: Ibca5f61b9ca6b6006424a4288f1863b6e60ad484
ONOS is a new SDN network operating system designed for high availability, performance, scale-out.