Correct name of class in error messages

This commit is contained in:
ryounes 2011-07-07 21:20:23 +00:00
parent 7065c15842
commit 69d91c5080

View file

@ -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);
} }
} }
} }