Committed by
Ray Milkey
Move unit tests to the package where the implementations are placed
Change-Id: I61f2bd76b0cdf270fa407b0cbb04d43f4f7f61aa
Showing
67 changed files
with
124 additions
and
295 deletions
... | @@ -13,16 +13,12 @@ | ... | @@ -13,16 +13,12 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.protocol; |
17 | 17 | ||
18 | import org.jboss.netty.buffer.ChannelBuffer; | 18 | import org.jboss.netty.buffer.ChannelBuffer; |
19 | import org.jboss.netty.buffer.ChannelBuffers; | 19 | import org.jboss.netty.buffer.ChannelBuffers; |
20 | import org.junit.Test; | 20 | import org.junit.Test; |
21 | import org.onosproject.pcepio.exceptions.PcepParseException; | 21 | import org.onosproject.pcepio.exceptions.PcepParseException; |
22 | -import org.onosproject.pcepio.protocol.PcepCloseMsg; | ||
23 | -import org.onosproject.pcepio.protocol.PcepFactories; | ||
24 | -import org.onosproject.pcepio.protocol.PcepMessage; | ||
25 | -import org.onosproject.pcepio.protocol.PcepMessageReader; | ||
26 | 22 | ||
27 | import static org.hamcrest.MatcherAssert.assertThat; | 23 | import static org.hamcrest.MatcherAssert.assertThat; |
28 | import static org.hamcrest.Matchers.instanceOf; | 24 | import static org.hamcrest.Matchers.instanceOf; | ... | ... |
... | @@ -13,17 +13,13 @@ | ... | @@ -13,17 +13,13 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.protocol; |
17 | 17 | ||
18 | 18 | ||
19 | import org.jboss.netty.buffer.ChannelBuffer; | 19 | import org.jboss.netty.buffer.ChannelBuffer; |
20 | import org.jboss.netty.buffer.ChannelBuffers; | 20 | import org.jboss.netty.buffer.ChannelBuffers; |
21 | import org.junit.Test; | 21 | import org.junit.Test; |
22 | import org.onosproject.pcepio.exceptions.PcepParseException; | 22 | import org.onosproject.pcepio.exceptions.PcepParseException; |
23 | -import org.onosproject.pcepio.protocol.PcepErrorMsg; | ||
24 | -import org.onosproject.pcepio.protocol.PcepFactories; | ||
25 | -import org.onosproject.pcepio.protocol.PcepMessage; | ||
26 | -import org.onosproject.pcepio.protocol.PcepMessageReader; | ||
27 | 23 | ||
28 | import static org.hamcrest.MatcherAssert.assertThat; | 24 | import static org.hamcrest.MatcherAssert.assertThat; |
29 | import static org.hamcrest.Matchers.instanceOf; | 25 | import static org.hamcrest.Matchers.instanceOf; | ... | ... |
... | @@ -13,19 +13,16 @@ | ... | @@ -13,19 +13,16 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.protocol; |
17 | 17 | ||
18 | import org.jboss.netty.buffer.ChannelBuffer; | 18 | import org.jboss.netty.buffer.ChannelBuffer; |
19 | import org.jboss.netty.buffer.ChannelBuffers; | 19 | import org.jboss.netty.buffer.ChannelBuffers; |
20 | import org.junit.Test; | 20 | import org.junit.Test; |
21 | import org.onosproject.pcepio.exceptions.PcepParseException; | 21 | import org.onosproject.pcepio.exceptions.PcepParseException; |
22 | -import org.onosproject.pcepio.protocol.PcepFactories; | 22 | + |
23 | -import org.onosproject.pcepio.protocol.PcepInitiateMsg; | ||
24 | -import org.onosproject.pcepio.protocol.PcepMessage; | ||
25 | -import org.onosproject.pcepio.protocol.PcepMessageReader; | ||
26 | import static org.hamcrest.MatcherAssert.assertThat; | 23 | import static org.hamcrest.MatcherAssert.assertThat; |
27 | -import static org.hamcrest.core.Is.is; | ||
28 | import static org.hamcrest.Matchers.instanceOf; | 24 | import static org.hamcrest.Matchers.instanceOf; |
25 | +import static org.hamcrest.core.Is.is; | ||
29 | 26 | ||
30 | public class PcepInitiateMsgExtTest { | 27 | public class PcepInitiateMsgExtTest { |
31 | 28 | ... | ... |
... | @@ -13,16 +13,12 @@ | ... | @@ -13,16 +13,12 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.protocol; |
17 | 17 | ||
18 | import org.jboss.netty.buffer.ChannelBuffer; | 18 | import org.jboss.netty.buffer.ChannelBuffer; |
19 | import org.jboss.netty.buffer.ChannelBuffers; | 19 | import org.jboss.netty.buffer.ChannelBuffers; |
20 | import org.junit.Test; | 20 | import org.junit.Test; |
21 | import org.onosproject.pcepio.exceptions.PcepParseException; | 21 | import org.onosproject.pcepio.exceptions.PcepParseException; |
22 | -import org.onosproject.pcepio.protocol.PcepFactories; | ||
23 | -import org.onosproject.pcepio.protocol.PcepInitiateMsg; | ||
24 | -import org.onosproject.pcepio.protocol.PcepMessage; | ||
25 | -import org.onosproject.pcepio.protocol.PcepMessageReader; | ||
26 | 22 | ||
27 | import static org.hamcrest.MatcherAssert.assertThat; | 23 | import static org.hamcrest.MatcherAssert.assertThat; |
28 | import static org.hamcrest.Matchers.instanceOf; | 24 | import static org.hamcrest.Matchers.instanceOf; | ... | ... |
... | @@ -13,17 +13,13 @@ | ... | @@ -13,17 +13,13 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.protocol; |
17 | 17 | ||
18 | import org.jboss.netty.buffer.ChannelBuffer; | 18 | import org.jboss.netty.buffer.ChannelBuffer; |
19 | import org.jboss.netty.buffer.ChannelBuffers; | 19 | import org.jboss.netty.buffer.ChannelBuffers; |
20 | import org.junit.Assert; | 20 | import org.junit.Assert; |
21 | import org.junit.Test; | 21 | import org.junit.Test; |
22 | import org.onosproject.pcepio.exceptions.PcepParseException; | 22 | import org.onosproject.pcepio.exceptions.PcepParseException; |
23 | -import org.onosproject.pcepio.protocol.PcepFactories; | ||
24 | -import org.onosproject.pcepio.protocol.PcepKeepaliveMsg; | ||
25 | -import org.onosproject.pcepio.protocol.PcepMessage; | ||
26 | -import org.onosproject.pcepio.protocol.PcepMessageReader; | ||
27 | 23 | ||
28 | import static org.hamcrest.MatcherAssert.assertThat; | 24 | import static org.hamcrest.MatcherAssert.assertThat; |
29 | import static org.hamcrest.Matchers.instanceOf; | 25 | import static org.hamcrest.Matchers.instanceOf; | ... | ... |
... | @@ -13,16 +13,12 @@ | ... | @@ -13,16 +13,12 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.protocol; |
17 | 17 | ||
18 | import org.jboss.netty.buffer.ChannelBuffer; | 18 | import org.jboss.netty.buffer.ChannelBuffer; |
19 | import org.jboss.netty.buffer.ChannelBuffers; | 19 | import org.jboss.netty.buffer.ChannelBuffers; |
20 | import org.junit.Test; | 20 | import org.junit.Test; |
21 | import org.onosproject.pcepio.exceptions.PcepParseException; | 21 | import org.onosproject.pcepio.exceptions.PcepParseException; |
22 | -import org.onosproject.pcepio.protocol.PcepFactories; | ||
23 | -import org.onosproject.pcepio.protocol.PcepLabelUpdateMsg; | ||
24 | -import org.onosproject.pcepio.protocol.PcepMessage; | ||
25 | -import org.onosproject.pcepio.protocol.PcepMessageReader; | ||
26 | 22 | ||
27 | import static org.hamcrest.MatcherAssert.assertThat; | 23 | import static org.hamcrest.MatcherAssert.assertThat; |
28 | import static org.hamcrest.Matchers.instanceOf; | 24 | import static org.hamcrest.Matchers.instanceOf; | ... | ... |
... | @@ -13,20 +13,16 @@ | ... | @@ -13,20 +13,16 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.protocol; |
17 | - | ||
18 | -import static org.hamcrest.MatcherAssert.assertThat; | ||
19 | -import static org.hamcrest.Matchers.instanceOf; | ||
20 | -import static org.hamcrest.core.Is.is; | ||
21 | 17 | ||
22 | import org.jboss.netty.buffer.ChannelBuffer; | 18 | import org.jboss.netty.buffer.ChannelBuffer; |
23 | import org.jboss.netty.buffer.ChannelBuffers; | 19 | import org.jboss.netty.buffer.ChannelBuffers; |
24 | import org.junit.Test; | 20 | import org.junit.Test; |
25 | import org.onosproject.pcepio.exceptions.PcepParseException; | 21 | import org.onosproject.pcepio.exceptions.PcepParseException; |
26 | -import org.onosproject.pcepio.protocol.PcepFactories; | 22 | + |
27 | -import org.onosproject.pcepio.protocol.PcepMessage; | 23 | +import static org.hamcrest.MatcherAssert.assertThat; |
28 | -import org.onosproject.pcepio.protocol.PcepMessageReader; | 24 | +import static org.hamcrest.Matchers.instanceOf; |
29 | -import org.onosproject.pcepio.protocol.PcepOpenMsg; | 25 | +import static org.hamcrest.core.Is.is; |
30 | /** | 26 | /** |
31 | * Test cases for PCEP OPEN Message. | 27 | * Test cases for PCEP OPEN Message. |
32 | */ | 28 | */ | ... | ... |
... | @@ -13,19 +13,16 @@ | ... | @@ -13,19 +13,16 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.protocol; |
17 | 17 | ||
18 | -import static org.hamcrest.MatcherAssert.assertThat; | ||
19 | -import static org.hamcrest.Matchers.instanceOf; | ||
20 | -import static org.hamcrest.core.Is.is; | ||
21 | import org.jboss.netty.buffer.ChannelBuffer; | 18 | import org.jboss.netty.buffer.ChannelBuffer; |
22 | import org.jboss.netty.buffer.ChannelBuffers; | 19 | import org.jboss.netty.buffer.ChannelBuffers; |
23 | import org.junit.Test; | 20 | import org.junit.Test; |
24 | import org.onosproject.pcepio.exceptions.PcepParseException; | 21 | import org.onosproject.pcepio.exceptions.PcepParseException; |
25 | -import org.onosproject.pcepio.protocol.PcepFactories; | 22 | + |
26 | -import org.onosproject.pcepio.protocol.PcepMessage; | 23 | +import static org.hamcrest.MatcherAssert.assertThat; |
27 | -import org.onosproject.pcepio.protocol.PcepMessageReader; | 24 | +import static org.hamcrest.Matchers.instanceOf; |
28 | -import org.onosproject.pcepio.protocol.PcepReportMsg; | 25 | +import static org.hamcrest.core.Is.is; |
29 | 26 | ||
30 | public class PcepReportMsgExtTest { | 27 | public class PcepReportMsgExtTest { |
31 | 28 | ... | ... |
... | @@ -13,16 +13,12 @@ | ... | @@ -13,16 +13,12 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.protocol; |
17 | 17 | ||
18 | import org.jboss.netty.buffer.ChannelBuffer; | 18 | import org.jboss.netty.buffer.ChannelBuffer; |
19 | import org.jboss.netty.buffer.ChannelBuffers; | 19 | import org.jboss.netty.buffer.ChannelBuffers; |
20 | import org.junit.Test; | 20 | import org.junit.Test; |
21 | import org.onosproject.pcepio.exceptions.PcepParseException; | 21 | import org.onosproject.pcepio.exceptions.PcepParseException; |
22 | -import org.onosproject.pcepio.protocol.PcepFactories; | ||
23 | -import org.onosproject.pcepio.protocol.PcepMessage; | ||
24 | -import org.onosproject.pcepio.protocol.PcepMessageReader; | ||
25 | -import org.onosproject.pcepio.protocol.PcepReportMsg; | ||
26 | 22 | ||
27 | import static org.hamcrest.MatcherAssert.assertThat; | 23 | import static org.hamcrest.MatcherAssert.assertThat; |
28 | import static org.hamcrest.Matchers.instanceOf; | 24 | import static org.hamcrest.Matchers.instanceOf; | ... | ... |
... | @@ -13,16 +13,12 @@ | ... | @@ -13,16 +13,12 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.protocol; |
17 | 17 | ||
18 | import org.jboss.netty.buffer.ChannelBuffer; | 18 | import org.jboss.netty.buffer.ChannelBuffer; |
19 | import org.jboss.netty.buffer.ChannelBuffers; | 19 | import org.jboss.netty.buffer.ChannelBuffers; |
20 | import org.junit.Test; | 20 | import org.junit.Test; |
21 | import org.onosproject.pcepio.exceptions.PcepParseException; | 21 | import org.onosproject.pcepio.exceptions.PcepParseException; |
22 | -import org.onosproject.pcepio.protocol.PcepFactories; | ||
23 | -import org.onosproject.pcepio.protocol.PcepMessage; | ||
24 | -import org.onosproject.pcepio.protocol.PcepMessageReader; | ||
25 | -import org.onosproject.pcepio.protocol.PcepTEReportMsg; | ||
26 | 22 | ||
27 | import static org.hamcrest.MatcherAssert.assertThat; | 23 | import static org.hamcrest.MatcherAssert.assertThat; |
28 | import static org.hamcrest.Matchers.instanceOf; | 24 | import static org.hamcrest.Matchers.instanceOf; | ... | ... |
... | @@ -13,22 +13,16 @@ | ... | @@ -13,22 +13,16 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.protocol; |
17 | - | ||
18 | -import static org.hamcrest.core.Is.is; | ||
19 | -import static org.hamcrest.Matchers.instanceOf; | ||
20 | 17 | ||
21 | import org.jboss.netty.buffer.ChannelBuffer; | 18 | import org.jboss.netty.buffer.ChannelBuffer; |
22 | import org.jboss.netty.buffer.ChannelBuffers; | 19 | import org.jboss.netty.buffer.ChannelBuffers; |
23 | - | ||
24 | -import static org.hamcrest.MatcherAssert.assertThat; | ||
25 | - | ||
26 | import org.junit.Test; | 20 | import org.junit.Test; |
27 | import org.onosproject.pcepio.exceptions.PcepParseException; | 21 | import org.onosproject.pcepio.exceptions.PcepParseException; |
28 | -import org.onosproject.pcepio.protocol.PcepFactories; | 22 | + |
29 | -import org.onosproject.pcepio.protocol.PcepMessage; | 23 | +import static org.hamcrest.MatcherAssert.assertThat; |
30 | -import org.onosproject.pcepio.protocol.PcepMessageReader; | 24 | +import static org.hamcrest.Matchers.instanceOf; |
31 | -import org.onosproject.pcepio.protocol.PcepUpdateMsg; | 25 | +import static org.hamcrest.core.Is.is; |
32 | 26 | ||
33 | /** | 27 | /** |
34 | * Test cases for PCEP update message. | 28 | * Test cases for PCEP update message. | ... | ... |
... | @@ -13,20 +13,16 @@ | ... | @@ -13,20 +13,16 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.protocol; |
17 | - | ||
18 | -import static org.hamcrest.Matchers.instanceOf; | ||
19 | -import static org.hamcrest.core.Is.is; | ||
20 | 17 | ||
21 | import org.jboss.netty.buffer.ChannelBuffer; | 18 | import org.jboss.netty.buffer.ChannelBuffer; |
22 | import org.jboss.netty.buffer.ChannelBuffers; | 19 | import org.jboss.netty.buffer.ChannelBuffers; |
23 | -import static org.hamcrest.MatcherAssert.assertThat; | ||
24 | import org.junit.Test; | 20 | import org.junit.Test; |
25 | import org.onosproject.pcepio.exceptions.PcepParseException; | 21 | import org.onosproject.pcepio.exceptions.PcepParseException; |
26 | -import org.onosproject.pcepio.protocol.PcepFactories; | 22 | + |
27 | -import org.onosproject.pcepio.protocol.PcepMessage; | 23 | +import static org.hamcrest.MatcherAssert.assertThat; |
28 | -import org.onosproject.pcepio.protocol.PcepMessageReader; | 24 | +import static org.hamcrest.Matchers.instanceOf; |
29 | -import org.onosproject.pcepio.protocol.PcepUpdateMsg; | 25 | +import static org.hamcrest.core.Is.is; |
30 | 26 | ||
31 | public class PcepUpdateMsgTest { | 27 | public class PcepUpdateMsgTest { |
32 | /** | 28 | /** | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.AdministrativeGroupTlv; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the AdministrativeGroupTlv. | 22 | * Test of the AdministrativeGroupTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.AutonomousSystemTlv; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the AutonomousSystemTlv. | 22 | * Test of the AutonomousSystemTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.BGPLSidentifierTlv; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the BGPLSidentifierTlv. | 22 | * Test of the BGPLSidentifierTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.GmplsCapabilityTlv; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the GmplsCapabilityTlv. | 22 | * Test of the GmplsCapabilityTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.IGPMetricTlv; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the IGPMetricTlv. | 22 | * Test of the IGPMetricTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.IPv4InterfaceAddressTlv; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the IPv4InterfaceAddressTlv. | 22 | * Test of the IPv4InterfaceAddressTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.IPv4NeighborAddressTlv; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the IPv4NeighborAddressTlv. | 22 | * Test of the IPv4NeighborAddressTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.IPv4SubObject; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the IPv4SubObject. | 22 | * Test of the IPv4SubObject. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.IPv4TERouterIdOfLocalNodeTlv; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the IPv4TERouterIdOfLocalNodeTlv. | 22 | * Test of the IPv4TERouterIdOfLocalNodeTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.IPv4TERouterIdOfRemoteNodeTlv; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the IPv4TERouterIdOfRemoteNodeTlv. | 22 | * Test of the IPv4TERouterIdOfRemoteNodeTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.IPv6InterfaceAddressTlv; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the IPv6InterfaceAddressTlv. | 22 | * Test of the IPv6InterfaceAddressTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.IPv6NeighborAddressTlv; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the IPv6NeighborAddressTlv. | 22 | * Test of the IPv6NeighborAddressTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.IPv6SubObject; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the IPv6SubObject. | 22 | * Test of the IPv6SubObject. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.IPv6TERouterIdofLocalNodeTlv; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the IPv6TERouterIdofLocalNodeTlv. | 22 | * Test of the IPv6TERouterIdofLocalNodeTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.IPv6TERouterIdofRemoteNodeTlv; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the IPv6TERouterIdofRemoteNodeTlv. | 22 | * Test of the IPv6TERouterIdofRemoteNodeTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.ISISAreaIdentifierTlv; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the ISISAreaIdentifierTlv. | 22 | * Test of the ISISAreaIdentifierTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.LabelSubObject; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the LabelSubObject. | 22 | * Test of the LabelSubObject. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.LinkLocalRemoteIdentifiersTlv; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the LinkLocalRemoteIdentifiersTlv. | 22 | * Test of the LinkLocalRemoteIdentifiersTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.LinkNameTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Equality test for LinkNameTlv. | 22 | * Equality test for LinkNameTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.LinkProtectionTypeTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the LinkProtectionTypeTlv. | 22 | * Test of the LinkProtectionTypeTlv. | ... | ... |
... | @@ -13,19 +13,13 @@ | ... | @@ -13,19 +13,13 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | 20 | ||
22 | import java.util.LinkedList; | 21 | import java.util.LinkedList; |
23 | 22 | ||
24 | -import org.onosproject.pcepio.types.LocalTENodeDescriptorsTlv; | ||
25 | -import org.onosproject.pcepio.types.AutonomousSystemTlv; | ||
26 | -import org.onosproject.pcepio.types.BGPLSidentifierTlv; | ||
27 | -import org.onosproject.pcepio.types.PcepValueType; | ||
28 | - | ||
29 | /** | 23 | /** |
30 | * Test of the LocalTENodeDescriptorsTlv. | 24 | * Test of the LocalTENodeDescriptorsTlv. |
31 | */ | 25 | */ | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.MPLSProtocolMaskTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the MPLSProtocolMaskTlv. | 22 | * Test of the MPLSProtocolMaskTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.MaximumLinkBandwidthTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the MaximumLinkBandwidthTlv. | 22 | * Test of the MaximumLinkBandwidthTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.MaximumReservableLinkBandwidthTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the MaximumReservableLinkBandwidthTlv. | 22 | * Test of the MaximumReservableLinkBandwidthTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.NexthopIPv4addressTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Equality test for NexthopIPv4addressTlv. | 22 | * Equality test for NexthopIPv4addressTlv. | ... | ... |
... | @@ -14,12 +14,10 @@ | ... | @@ -14,12 +14,10 @@ |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | -package org.onosproject.pcepio; | 17 | +package org.onosproject.pcepio.types; |
18 | - | ||
19 | -import org.junit.Test; | ||
20 | -import org.onosproject.pcepio.types.NexthopIPv6addressTlv; | ||
21 | 18 | ||
22 | import com.google.common.testing.EqualsTester; | 19 | import com.google.common.testing.EqualsTester; |
20 | +import org.junit.Test; | ||
23 | 21 | ||
24 | /** | 22 | /** |
25 | * Equality test for NexthopIPv6addressTlv. | 23 | * Equality test for NexthopIPv6addressTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.NexthopUnnumberedIPv4IDTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Equality test for NexthopUnnumberedIPv4IDTlv. | 22 | * Equality test for NexthopUnnumberedIPv4IDTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.NodeFlagBitsTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the NodeFlagBitsTlv. | 22 | * Test of the NodeFlagBitsTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.NodeNameTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the NodeNameTlv. | 22 | * Test of the NodeNameTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | - | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.OSPFareaIDsubTlv; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the OSPFareaIDsubTlv. | 22 | * Test of the OSPFareaIDsubTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.OpaqueLinkAttributeTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the OpaqueLinkAttributeTlv. | 22 | * Test of the OpaqueLinkAttributeTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.PathKeySubObject; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the PathKeySubObject. | 22 | * Test of the PathKeySubObject. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.PathSetupTypeTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the PathSetupTypeTlv. | 22 | * Test of the PathSetupTypeTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.PceccCapabilityTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test of the PceccCapabilityTlv. | 22 | * Test of the PceccCapabilityTlv. | ... | ... |
... | @@ -14,12 +14,10 @@ | ... | @@ -14,12 +14,10 @@ |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | -package org.onosproject.pcepio; | 17 | +package org.onosproject.pcepio.types; |
18 | - | ||
19 | -import org.junit.Test; | ||
20 | -import org.onosproject.pcepio.types.PcepNaiIpv4Adjacency; | ||
21 | 18 | ||
22 | import com.google.common.testing.EqualsTester; | 19 | import com.google.common.testing.EqualsTester; |
20 | +import org.junit.Test; | ||
23 | 21 | ||
24 | /** | 22 | /** |
25 | * Equality test for PcepNaiIpv4Adjacency. | 23 | * Equality test for PcepNaiIpv4Adjacency. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.PcepNaiIpv4NodeId; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | public class PcepNaiIpv4NodeIdTest { | 21 | public class PcepNaiIpv4NodeIdTest { |
24 | 22 | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.PcepNaiIpv6Adjacency; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | public class PcepNaiIpv6AdjacencyTest { | 21 | public class PcepNaiIpv6AdjacencyTest { |
24 | private final byte[] localIpv6Addr1 = {(byte) 0x01010101 }; | 22 | private final byte[] localIpv6Addr1 = {(byte) 0x01010101 }; | ... | ... |
... | @@ -14,12 +14,10 @@ | ... | @@ -14,12 +14,10 @@ |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | -package org.onosproject.pcepio; | 17 | +package org.onosproject.pcepio.types; |
18 | - | ||
19 | -import org.junit.Test; | ||
20 | -import org.onosproject.pcepio.types.PcepNaiIpv6NodeId; | ||
21 | 18 | ||
22 | import com.google.common.testing.EqualsTester; | 19 | import com.google.common.testing.EqualsTester; |
20 | +import org.junit.Test; | ||
23 | 21 | ||
24 | /** | 22 | /** |
25 | * Equality test for PcepNaiIpv6NodeId. | 23 | * Equality test for PcepNaiIpv6NodeId. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.PcepNaiUnnumberedAdjacencyIpv4; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | public class PcepNaiUnnumberedAdjacencyIpv4Test { | 21 | public class PcepNaiUnnumberedAdjacencyIpv4Test { |
24 | 22 | ... | ... |
... | @@ -13,17 +13,12 @@ | ... | @@ -13,17 +13,12 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import java.util.LinkedList; | ||
19 | 17 | ||
18 | +import com.google.common.testing.EqualsTester; | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.AutonomousSystemTlv; | ||
22 | -import org.onosproject.pcepio.types.BGPLSidentifierTlv; | ||
23 | -import org.onosproject.pcepio.types.PcepValueType; | ||
24 | -import org.onosproject.pcepio.types.RemoteTENodeDescriptorsTlv; | ||
25 | 20 | ||
26 | -import com.google.common.testing.EqualsTester; | 21 | +import java.util.LinkedList; |
27 | 22 | ||
28 | /** | 23 | /** |
29 | * Test case for Remote TE Node Descriptors tlv. | 24 | * Test case for Remote TE Node Descriptors tlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.RouterIDSubTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test case for Router ID Sub tlv. | 22 | * Test case for Router ID Sub tlv. | ... | ... |
... | @@ -14,12 +14,10 @@ | ... | @@ -14,12 +14,10 @@ |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | -package org.onosproject.pcepio; | 17 | +package org.onosproject.pcepio.types; |
18 | - | ||
19 | -import org.junit.Test; | ||
20 | -import org.onosproject.pcepio.types.RoutingUniverseTlv; | ||
21 | 18 | ||
22 | import com.google.common.testing.EqualsTester; | 19 | import com.google.common.testing.EqualsTester; |
20 | +import org.junit.Test; | ||
23 | 21 | ||
24 | /** | 22 | /** |
25 | * Equality test for RoutingUniverseTlv. | 23 | * Equality test for RoutingUniverseTlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.SharedRiskLinkGroupTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test case for Shared Risk Link Group tlv. | 22 | * Test case for Shared Risk Link Group tlv. | ... | ... |
... | @@ -13,13 +13,11 @@ | ... | @@ -13,13 +13,11 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | +import com.google.common.testing.EqualsTester; | ||
18 | import org.junit.Test; | 19 | import org.junit.Test; |
19 | import org.onosproject.pcepio.protocol.PcepNai; | 20 | import org.onosproject.pcepio.protocol.PcepNai; |
20 | -import org.onosproject.pcepio.types.SrEroSubObject; | ||
21 | - | ||
22 | -import com.google.common.testing.EqualsTester; | ||
23 | 21 | ||
24 | public class SrEroSubObjectTest { | 22 | public class SrEroSubObjectTest { |
25 | 23 | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.StatefulIPv4LspIdentidiersTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | public class StatefulIPv4LspIdentidiersTlvTest { | 21 | public class StatefulIPv4LspIdentidiersTlvTest { |
24 | 22 | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.StatefulLspDbVerTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test case for Stateful Lsp Db Ver tlv. | 22 | * Test case for Stateful Lsp Db Ver tlv. | ... | ... |
... | @@ -13,11 +13,10 @@ | ... | @@ -13,11 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.StatefulLspErrorCodeTlv; | ||
20 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
21 | 20 | ||
22 | public class StatefulLspErrorCodeTlvTest { | 21 | public class StatefulLspErrorCodeTlvTest { |
23 | 22 | ... | ... |
... | @@ -13,11 +13,10 @@ | ... | @@ -13,11 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.StatefulPceCapabilityTlv; | ||
20 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
21 | 20 | ||
22 | /** | 21 | /** |
23 | * Test case for Stateful Pce Capability tlv. | 22 | * Test case for Stateful Pce Capability tlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.SymbolicPathNameTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test case for Symbolic path tlv. | 22 | * Test case for Symbolic path tlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.TEDefaultMetricTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test case for TE Default Metric tlv. | 22 | * Test case for TE Default Metric tlv. | ... | ... |
... | @@ -13,17 +13,12 @@ | ... | @@ -13,17 +13,12 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import java.util.LinkedList; | ||
19 | 17 | ||
18 | +import com.google.common.testing.EqualsTester; | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.AdministrativeGroupTlv; | ||
22 | -import org.onosproject.pcepio.types.MaximumReservableLinkBandwidthTlv; | ||
23 | -import org.onosproject.pcepio.types.PcepValueType; | ||
24 | -import org.onosproject.pcepio.types.TELinkAttributesTlv; | ||
25 | 20 | ||
26 | -import com.google.common.testing.EqualsTester; | 21 | +import java.util.LinkedList; |
27 | 22 | ||
28 | /** | 23 | /** |
29 | * Test case for TE Link Attribute Tlv. | 24 | * Test case for TE Link Attribute Tlv. | ... | ... |
... | @@ -13,17 +13,12 @@ | ... | @@ -13,17 +13,12 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import java.util.LinkedList; | ||
19 | 17 | ||
18 | +import com.google.common.testing.EqualsTester; | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.IPv4InterfaceAddressTlv; | ||
22 | -import org.onosproject.pcepio.types.LinkLocalRemoteIdentifiersTlv; | ||
23 | -import org.onosproject.pcepio.types.PcepValueType; | ||
24 | -import org.onosproject.pcepio.types.TELinkDescriptorsTlv; | ||
25 | 20 | ||
26 | -import com.google.common.testing.EqualsTester; | 21 | +import java.util.LinkedList; |
27 | 22 | ||
28 | /** | 23 | /** |
29 | * Test case for TE link descriptors Tlv. | 24 | * Test case for TE link descriptors Tlv. | ... | ... |
... | @@ -13,17 +13,12 @@ | ... | @@ -13,17 +13,12 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import java.util.LinkedList; | ||
19 | 17 | ||
18 | +import com.google.common.testing.EqualsTester; | ||
20 | import org.junit.Test; | 19 | import org.junit.Test; |
21 | -import org.onosproject.pcepio.types.IPv4TERouterIdOfLocalNodeTlv; | ||
22 | -import org.onosproject.pcepio.types.NodeFlagBitsTlv; | ||
23 | -import org.onosproject.pcepio.types.PcepValueType; | ||
24 | -import org.onosproject.pcepio.types.TENodeAttributesTlv; | ||
25 | 20 | ||
26 | -import com.google.common.testing.EqualsTester; | 21 | +import java.util.LinkedList; |
27 | 22 | ||
28 | /** | 23 | /** |
29 | * Test case for TE Node Attribute tlv. | 24 | * Test case for TE Node Attribute tlv. | ... | ... |
... | @@ -13,12 +13,10 @@ | ... | @@ -13,12 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | - | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.TedCapabilityTlv; | ||
20 | 17 | ||
21 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
22 | 20 | ||
23 | /** | 21 | /** |
24 | * Test case for TED Capability tlv. | 22 | * Test case for TED Capability tlv. | ... | ... |
... | @@ -13,11 +13,10 @@ | ... | @@ -13,11 +13,10 @@ |
13 | * See the License for the specific language governing permissions and | 13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | -package org.onosproject.pcepio; | 16 | +package org.onosproject.pcepio.types; |
17 | 17 | ||
18 | -import org.junit.Test; | ||
19 | -import org.onosproject.pcepio.types.UnreservedBandwidthTlv; | ||
20 | import com.google.common.testing.EqualsTester; | 18 | import com.google.common.testing.EqualsTester; |
19 | +import org.junit.Test; | ||
21 | 20 | ||
22 | /** | 21 | /** |
23 | * Unit Test case for Unreserved Bandwidth Tlv. | 22 | * Unit Test case for Unreserved Bandwidth Tlv. | ... | ... |
-
Please register or login to post a comment