package com.intuit.tank.vm.common.util; /* * #%L * Intuit Tank Api * %% * Copyright (C) 2011 - 2015 Intuit Inc. * %% * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * #L% */ import org.junit.*; import com.intuit.tank.vm.common.util.RegexUtil; import static org.junit.Assert.*; /** * The class <code>RegexUtilCpTest</code> contains tests for the class <code>{@link RegexUtil}</code>. * * @generatedBy CodePro at 9/3/14 3:44 PM */ public class RegexUtilCpTest { /** * Run the String wildcardToRegexp(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testWildcardToRegexp_1() throws Exception { String wildcard = "aa"; String result = RegexUtil.wildcardToRegexp(wildcard); assertEquals("^aa$", result); } /** * Run the String wildcardToRegexp(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testWildcardToRegexp_2() throws Exception { String wildcard = "aa"; String result = RegexUtil.wildcardToRegexp(wildcard); assertEquals("^aa$", result); } /** * Run the String wildcardToRegexp(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testWildcardToRegexp_3() throws Exception { String wildcard = "aa"; String result = RegexUtil.wildcardToRegexp(wildcard); assertEquals("^aa$", result); } /** * Run the String wildcardToRegexp(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testWildcardToRegexp_4() throws Exception { String wildcard = "aa"; String result = RegexUtil.wildcardToRegexp(wildcard); assertEquals("^aa$", result); } /** * Run the String wildcardToRegexp(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testWildcardToRegexp_5() throws Exception { String wildcard = "aa"; String result = RegexUtil.wildcardToRegexp(wildcard); assertEquals("^aa$", result); } /** * Run the String wildcardToRegexp(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testWildcardToRegexp_6() throws Exception { String wildcard = "aa"; String result = RegexUtil.wildcardToRegexp(wildcard); assertEquals("^aa$", result); } /** * Run the String wildcardToRegexp(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testWildcardToRegexp_7() throws Exception { String wildcard = "aa"; String result = RegexUtil.wildcardToRegexp(wildcard); assertEquals("^aa$", result); } /** * Run the String wildcardToRegexp(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testWildcardToRegexp_8() throws Exception { String wildcard = "aa"; String result = RegexUtil.wildcardToRegexp(wildcard); assertEquals("^aa$", result); } /** * Run the String wildcardToRegexp(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testWildcardToRegexp_9() throws Exception { String wildcard = "aa"; String result = RegexUtil.wildcardToRegexp(wildcard); assertEquals("^aa$", result); } /** * Run the String wildcardToRegexp(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testWildcardToRegexp_10() throws Exception { String wildcard = "aa"; String result = RegexUtil.wildcardToRegexp(wildcard); assertEquals("^aa$", result); } /** * Run the String wildcardToRegexp(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testWildcardToRegexp_11() throws Exception { String wildcard = "aa"; String result = RegexUtil.wildcardToRegexp(wildcard); assertEquals("^aa$", result); } /** * Run the String wildcardToRegexp(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testWildcardToRegexp_12() throws Exception { String wildcard = "aa"; String result = RegexUtil.wildcardToRegexp(wildcard); assertEquals("^aa$", result); } /** * Run the String wildcardToRegexp(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testWildcardToRegexp_13() throws Exception { String wildcard = "aa"; String result = RegexUtil.wildcardToRegexp(wildcard); assertEquals("^aa$", result); } /** * Run the String wildcardToRegexp(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testWildcardToRegexp_14() throws Exception { String wildcard = "aa"; String result = RegexUtil.wildcardToRegexp(wildcard); assertEquals("^aa$", result); } /** * Run the String wildcardToRegexp(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testWildcardToRegexp_15() throws Exception { String wildcard = ""; String result = RegexUtil.wildcardToRegexp(wildcard); assertEquals("^$", result); } }