Correct name of class in error messages
This commit is contained in:
parent
7065c15842
commit
69d91c5080
1 changed files with 3 additions and 3 deletions
|
@ -55,9 +55,9 @@ public class JSONReconcileServletTest extends AbstractTestClass {
|
||||||
jsonResult = reconcile.getMetadata(request, response, defaultNamespace, defaultTypeList, serverName, serverPort);
|
jsonResult = reconcile.getMetadata(request, response, defaultNamespace, defaultTypeList, serverName, serverPort);
|
||||||
schemaSpaceOutput = jsonResult.getString("schemaSpace");
|
schemaSpaceOutput = jsonResult.getString("schemaSpace");
|
||||||
} catch (ServletException e) {
|
} catch (ServletException e) {
|
||||||
System.err.println("SolrJsonReconcileServletTest getMetadata ServletException: " + e);
|
System.err.println("JSONReconcileServletTest getMetadata ServletException: " + e);
|
||||||
} catch (JSONException e) {
|
} catch (JSONException e) {
|
||||||
System.err.println("SolrJsonReconcileServletTest getMetadata JSONException: " + e);
|
System.err.println("JSONReconcileServletTest getMetadata JSONException: " + e);
|
||||||
}
|
}
|
||||||
Assert.assertNotNull("output should not be null", jsonResult);
|
Assert.assertNotNull("output should not be null", jsonResult);
|
||||||
Assert.assertEquals("schemaSpaceOutput", defaultNamespace, schemaSpaceOutput);
|
Assert.assertEquals("schemaSpaceOutput", defaultNamespace, schemaSpaceOutput);
|
||||||
|
@ -99,7 +99,7 @@ public class JSONReconcileServletTest extends AbstractTestClass {
|
||||||
Assert.assertTrue(message, regexMatcher.find());
|
Assert.assertTrue(message, regexMatcher.find());
|
||||||
} catch (PatternSyntaxException e) {
|
} catch (PatternSyntaxException e) {
|
||||||
// Syntax error in the regular expression
|
// Syntax error in the regular expression
|
||||||
System.err.println("SolrJsonReconcileServletTest testAssertTrue PatternSyntaxException: " + e);
|
System.err.println("JSONReconcileServletTest testAssertTrue PatternSyntaxException: " + e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue