1212
1313import org .eclipse .che .ide .api .app .AppContext ;
1414import org .eclipse .che .ide .api .editor .EditorAgent ;
15+ import org .junit .Assert ;
1516import org .junit .Before ;
1617import org .junit .Test ;
1718import org .junit .runner .RunWith ;
1819import org .mockito .Mock ;
19- import org .testng .Assert ;
2020
2121import com .google .gwtmockito .GwtMockitoTestRunner ;
2222
@@ -40,13 +40,15 @@ public void setUp() throws Exception {
4040 }
4141
4242 private void testStackTraceLine (boolean shouldBeCustomizable , String line , String expectedCustomization ) throws Exception {
43- Assert .assertEquals (outputCustomizer . canCustomize ( line ), shouldBeCustomizable ,
43+ Assert .assertEquals (
4444 "Line [" + line + "] is " + (shouldBeCustomizable ? "" : "not " ) +
4545 "customizable while it should" +
46- (shouldBeCustomizable ? "n\' t " : " " ) + "be: " );
46+ (shouldBeCustomizable ? "n\' t " : " " ) + "be: " ,
47+ Boolean .valueOf (outputCustomizer .canCustomize (line )),
48+ Boolean .valueOf (shouldBeCustomizable ));
4749 if (shouldBeCustomizable ) {
48- Assert .assertEquals (outputCustomizer . customize ( line ), expectedCustomization ,
49- "Wrong customization result:" );
50+ Assert .assertEquals ("Wrong customization result:" ,
51+ outputCustomizer . customize ( line ), expectedCustomization );
5052 }
5153 }
5254
0 commit comments