apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r798287 - in /apr/apr-util/branches/1.4.x: CHANGES test/testdbd.c
Date Mon, 27 Jul 2009 21:26:23 GMT
Author: minfrin
Date: Mon Jul 27 21:26:20 2009
New Revision: 798287

URL: http://svn.apache.org/viewvc?rev=798287&view=rev
Log:
Clarify the error messages within the dbd tests.

Modified:
    apr/apr-util/branches/1.4.x/CHANGES
    apr/apr-util/branches/1.4.x/test/testdbd.c

Modified: apr/apr-util/branches/1.4.x/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.4.x/CHANGES?rev=798287&r1=798286&r2=798287&view=diff
==============================================================================
--- apr/apr-util/branches/1.4.x/CHANGES [utf-8] (original)
+++ apr/apr-util/branches/1.4.x/CHANGES [utf-8] Mon Jul 27 21:26:20 2009
@@ -1,6 +1,8 @@
                                                      -*- coding: utf-8 -*-
 Changes with APR-util 1.4.0
 
+  *) Clarify the error messages within the dbd tests. [Graham Leggett]
+
   *) Use locally scoped variables in PostgreSQL driver to avoid stomping
      on return codes. PR 47431
      [Wayne Jensen <wayne_jensen trendmicro.com>]

Modified: apr/apr-util/branches/1.4.x/test/testdbd.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.4.x/test/testdbd.c?rev=798287&r1=798286&r2=798287&view=diff
==============================================================================
--- apr/apr-util/branches/1.4.x/test/testdbd.c (original)
+++ apr/apr-util/branches/1.4.x/test/testdbd.c Mon Jul 27 21:26:20 2009
@@ -180,7 +180,7 @@
     apr_dbd_t* handle = NULL;
 
     rv = apr_dbd_get_driver(pool, "sqlite2", &driver);
-    ABTS_ASSERT(tc, "failed to fetch driver", rv == APR_SUCCESS);
+    ABTS_ASSERT(tc, "failed to fetch sqlite2 driver", rv == APR_SUCCESS);
     ABTS_PTR_NOTNULL(tc, driver);
     if (!driver) {
     	return;
@@ -189,7 +189,7 @@
     ABTS_STR_EQUAL(tc, "sqlite2", apr_dbd_name(driver));
 
     rv = apr_dbd_open(driver, pool, "data/sqlite2.db:600", &handle);
-    ABTS_ASSERT(tc, "failed to open database", rv == APR_SUCCESS);
+    ABTS_ASSERT(tc, "failed to open sqlite2 atabase", rv == APR_SUCCESS);
     ABTS_PTR_NOTNULL(tc, handle);
     if (!handle) {
     	return;
@@ -208,7 +208,7 @@
     apr_dbd_t* handle = NULL;
 
     rv = apr_dbd_get_driver(pool, "sqlite3", &driver);
-    ABTS_ASSERT(tc, "failed to fetch driver", rv == APR_SUCCESS);
+    ABTS_ASSERT(tc, "failed to fetch sqlite3 driver", rv == APR_SUCCESS);
     ABTS_PTR_NOTNULL(tc, driver);
     if (!driver) {
     	return;
@@ -217,7 +217,7 @@
     ABTS_STR_EQUAL(tc, "sqlite3", apr_dbd_name(driver));
 
     rv = apr_dbd_open(driver, pool, "data/sqlite3.db", &handle);
-    ABTS_ASSERT(tc, "failed to open database", rv == APR_SUCCESS);
+    ABTS_ASSERT(tc, "failed to open sqlite3 database", rv == APR_SUCCESS);
     ABTS_PTR_NOTNULL(tc, handle);
     if (!handle) {
     	return;



Mime
View raw message