2 * Copyright © 2020 Orange Labs, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.transportpce.pce;
11 import org.junit.Assert;
12 import org.junit.Before;
13 import org.junit.Ignore;
14 import org.junit.Test;
15 import org.opendaylight.transportpce.pce.utils.PceTestData;
16 import org.opendaylight.transportpce.test.AbstractTest;
19 public class PceComplianceCheckTest extends AbstractTest {
28 public void testCheckFalse() {
30 PceComplianceCheck.check(PceTestData.getEmptyPCERequest()).hasPassed());
34 public void testCheckTrue() {
36 PceComplianceCheck.check(PceTestData.getEmptyPCERequestServiceNameWithRequestId()).hasPassed());
40 public void testCheckFalseWihtoutRequestID() {
42 PceComplianceCheck.check(PceTestData.getEmptyPCERequestServiceNameWithOutRequestId()).hasPassed());