diff options
author | Thugutla Sailakshmi <tsaila10@in.ibm.com> | 2019-07-18 22:50:28 +0530 |
---|---|---|
committer | Thugutla Sailakshmi <tsaila10@in.ibm.com> | 2019-07-18 23:09:55 +0530 |
commit | 840984d2c219da08f0cde8390cc4dec8a74431b4 (patch) | |
tree | 4b96ecd0e911e56c32b13c9ef8034f77b085a247 /misc/rosetta/src/test | |
parent | 5b77b6489dfb644a901e2640615a32d78f533351 (diff) |
ParseException.java
junits for ParseException.java file
Issue-ID: AAF-876
Change-Id: I319a424675f13489320802a26941c50f8d876d1d
Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
Diffstat (limited to 'misc/rosetta/src/test')
-rw-r--r-- | misc/rosetta/src/test/java/org/onap/aaf/misc/rosetta/JU_ParseException.java | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/misc/rosetta/src/test/java/org/onap/aaf/misc/rosetta/JU_ParseException.java b/misc/rosetta/src/test/java/org/onap/aaf/misc/rosetta/JU_ParseException.java new file mode 100644 index 00000000..1eb55916 --- /dev/null +++ b/misc/rosetta/src/test/java/org/onap/aaf/misc/rosetta/JU_ParseException.java @@ -0,0 +1,49 @@ +/** + * ============LICENSE_START==================================================== + * org.onap.aaf + * =========================================================================== + * Copyright (c) 2019 IBM Intellectual Property. All rights reserved. + * =========================================================================== + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END==================================================== + * + */ +package org.onap.aaf.misc.rosetta; + +import static org.junit.Assert.*; + +import org.junit.Test; + +public class JU_ParseException { + + @Test + public void test() { + ParseException pe = new ParseException(); + } + @Test + public void test1() { + ParseException pe = new ParseException("exception"); + } + @Test + public void test2() { + ParseException pe = new ParseException(new NullPointerException("exception")); + } + @Test + public void test3() { + ParseException pe = new ParseException("exception",new NullPointerException("exception")); + } + + + + +} |