subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1027896 - /subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c
Date Wed, 27 Oct 2010 10:30:38 GMT
Author: philip
Date: Wed Oct 27 10:30:38 2010
New Revision: 1027896

URL: http://svn.apache.org/viewvc?rev=1027896&view=rev
Log:
* subversion/tests/libsvn_wc/op-depth-test.c
  (wc_wc_copies): Use "const char []" for constants rather than #define.

Modified:
    subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c

Modified: subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c?rev=1027896&r1=1027895&r2=1027896&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_wc/op-depth-test.c Wed Oct 27 10:30:38 2010
@@ -411,19 +411,19 @@ check_db_rows(wc_baton_t *b,
 static svn_error_t *
 wc_wc_copies(wc_baton_t *b)
 {
-  SVN_ERR(add_and_commit_greek_tree(b));
+  const char source_everything[]  = "A/B";
 
-#define source_everything  "A/B"
+  const char source_base_file[]   = "A/B/lambda";
+  const char source_base_dir[]    = "A/B/E";
 
-#define source_base_file   "A/B/lambda"
-#define source_base_dir    "A/B/E"
+  const char source_added_file[]  = "A/B/file-added";
+  const char source_added_dir[]   = "A/B/D-added";
+  const char source_added_dir2[]  = "A/B/D-added/D2";
 
-#define source_added_file  "A/B/file-added"
-#define source_added_dir   "A/B/D-added"
-#define source_added_dir2  "A/B/D-added/D2"
+  const char source_copied_file[] = "A/B/lambda-copied";
+  const char source_copied_dir[]  = "A/B/E-copied";
 
-#define source_copied_file "A/B/lambda-copied"
-#define source_copied_dir  "A/B/E-copied"
+  SVN_ERR(add_and_commit_greek_tree(b));
 
   /* Create the various kinds of source node which will be copied */
 



Mime
View raw message