Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PROC-235: Add a unit test for uppercase first character test
- Loading branch information
Antony Tran
committed
Aug 26, 2016
1 parent
a53148b
commit 267454b
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
...degen-test/src/test/java/com/indeed/proctor/groups/TestUppercaseFirstCharacterGroups.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.indeed.proctor.groups; | ||
|
||
import junit.framework.Assert; | ||
import org.junit.Test; | ||
|
||
import static com.indeed.proctor.groups.UppercaseFirstCharacterGroups.Test.UPPERCASE_FIRST_CHARACTER_TEST; | ||
|
||
/** | ||
* | ||
*/ | ||
public class TestUppercaseFirstCharacterGroups { | ||
|
||
@Test | ||
public void testUppercaseFirstCharacter() { | ||
Assert.assertEquals("Uppercase_first_character_test", UPPERCASE_FIRST_CHARACTER_TEST.getName()); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...odegen-test/src/test/proctor/com/indeed/proctor/groups/UppercaseFirstCharacterGroups.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"tests": { | ||
"Uppercase_first_character_test": { | ||
"buckets": { | ||
"inactive": -1, | ||
"control": 0, | ||
"test": 1 | ||
}, | ||
"fallbackValue": -1 | ||
} | ||
}, | ||
"providedContext": { | ||
} | ||
} |