File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed
core-api/src/test/java/com/optimizely/ab/config/parser Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1818
1919import com .optimizely .ab .config .ProjectConfig ;
2020
21+ import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
2122import org .junit .Rule ;
2223import org .junit .Test ;
2324import org .junit .rules .ExpectedException ;
@@ -102,6 +103,7 @@ public void emptyJsonExceptionWrapping() throws Exception {
102103 * Verify that null JSON results in a {@link ConfigParseException} being thrown.
103104 */
104105 @ Test
106+ @ SuppressFBWarnings (value ="NP_NONNULL_PARAM_VIOLATION" , justification ="Testing nullness contract violation" )
105107 public void nullJsonExceptionWrapping () throws Exception {
106108 thrown .expect (ConfigParseException .class );
107109
Original file line number Diff line number Diff line change 1818
1919import com .optimizely .ab .config .ProjectConfig ;
2020
21+ import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
2122import org .junit .Rule ;
2223import org .junit .Test ;
2324import org .junit .rules .ExpectedException ;
@@ -102,6 +103,7 @@ public void emptyJsonExceptionWrapping() throws Exception {
102103 * Verify that null JSON results in a {@link ConfigParseException} being thrown.
103104 */
104105 @ Test
106+ @ SuppressFBWarnings (value ="NP_NONNULL_PARAM_VIOLATION" , justification ="Testing nullness contract violation" )
105107 public void nullJsonExceptionWrapping () throws Exception {
106108 thrown .expect (ConfigParseException .class );
107109
Original file line number Diff line number Diff line change 1818
1919import com .optimizely .ab .config .ProjectConfig ;
2020
21+ import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
2122import org .junit .Rule ;
2223import org .junit .Test ;
2324import org .junit .rules .ExpectedException ;
@@ -102,6 +103,7 @@ public void emptyJsonExceptionWrapping() throws Exception {
102103 * Verify that null JSON results in a {@link ConfigParseException} being thrown.
103104 */
104105 @ Test
106+ @ SuppressFBWarnings (value ="NP_NONNULL_PARAM_VIOLATION" , justification ="Testing nullness contract violation" )
105107 public void nullJsonExceptionWrapping () throws Exception {
106108 thrown .expect (ConfigParseException .class );
107109
Original file line number Diff line number Diff line change 1818
1919import com .optimizely .ab .config .ProjectConfig ;
2020
21+ import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
2122import org .junit .Rule ;
2223import org .junit .Test ;
2324import org .junit .rules .ExpectedException ;
@@ -100,6 +101,7 @@ public void emptyJsonExceptionWrapping() throws Exception {
100101 * Verify that null JSON results in a {@link ConfigParseException} being thrown.
101102 */
102103 @ Test
104+ @ SuppressFBWarnings (value ="NP_NONNULL_PARAM_VIOLATION" , justification ="Testing nullness contract violation" )
103105 public void nullJsonExceptionWrapping () throws Exception {
104106 thrown .expect (ConfigParseException .class );
105107
You can’t perform that action at this time.
0 commit comments