- Any files created in 2014 and modified in 2015 got a copyright of
2014-2015
- Used canonical form of 2014-2015 to be inclusive of extra years.
Some files had 2014,2015
Change-Id: If9a133618873e4000b8f10299bde7c870eb1fbd5
- 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
- added a method to the immutable class checker for
immutable classes used as base classes
- fixed a typo in spelling of a constructor parameter
in DefaultFlowRule
Change-Id: I8991c1eadcc990040bb97a02c1027b4708a4f58d
* Moved unit test utilities to the onlab-junit package under utils/junit
- ImmutableClassChecker
- TestUtils and TestUtilsTest
* Added/ported unit test utilities from the older code
- UtilityClassChecker and UtilityClassCheckerTest
- ImmutableClassCheckerTest
* Updated/fixed some of the pom.xml files in the context of the
onlab-junit package:
- Added <scope>test</scope>
- Replaced hard-coded "1.0.0-SNAPSHOT" with "${project.version}"
Change-Id: Ie5f51ba401ca1748340f38848ab6bfc251964adc