You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by rb...@apache.org on 2004/03/13 14:02:35 UTC

cvs commit: apr/test test_apr.h testall.c

rbb         2004/03/13 05:02:35

  Modified:    test     test_apr.h testall.c
  Log:
  Put the lists of tests in alphabetical order.  I am hoping that this
  makes the tests easier to find.  Also, add testrand2 into the test suite.
  It has been written for the unified test suite, but it wasn't added
  to testall.c
  
  Revision  Changes    Path
  1.48      +28 -27    apr/test/test_apr.h
  
  Index: test_apr.h
  ===================================================================
  RCS file: /home/cvs/apr/test/test_apr.h,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- test_apr.h	13 Mar 2004 12:34:49 -0000	1.47
  +++ test_apr.h	13 Mar 2004 13:02:35 -0000	1.48
  @@ -27,41 +27,42 @@
   
   CuSuite *getsuite(void);
   
  -CuSuite *teststr(void);
  -CuSuite *testtime(void);
  -CuSuite *testvsn(void);
  -CuSuite *testipsub(void);
  -CuSuite *testmmap(void);
  -CuSuite *testud(void);
  -CuSuite *testtable(void);
  -CuSuite *testhash(void);
  -CuSuite *testsleep(void);
  -CuSuite *testpool(void);
  -CuSuite *testfmt(void);
  -CuSuite *testfile(void);
  +CuSuite *testatomic(void);
   CuSuite *testdir(void);
  -CuSuite *testfileinfo(void);
  -CuSuite *testrand(void);
  -CuSuite *testrand2(void);
   CuSuite *testdso(void);
  -CuSuite *testoc(void);
   CuSuite *testdup(void);
  -CuSuite *testsockets(void);
  +CuSuite *testenv(void);
  +CuSuite *testfile(void);
  +CuSuite *testfileinfo(void);
  +CuSuite *testflock(void);
  +CuSuite *testfmt(void);
  +CuSuite *testfnmatch(void);
  +CuSuite *testgetopt(void);
  +CuSuite *testhash(void);
  +CuSuite *testipsub(void);
  +CuSuite *testlock(void);
  +CuSuite *testmmap(void);
  +CuSuite *testnames(void);
  +CuSuite *testoc(void);
  +CuSuite *testpath(void);
  +CuSuite *testpipe(void);
  +CuSuite *testpoll(void);
  +CuSuite *testpool(void);
   CuSuite *testproc(void);
   CuSuite *testprocmutex(void);
  -CuSuite *testpoll(void);
  -CuSuite *testlock(void);
  +CuSuite *testrand(void);
  +CuSuite *testrand2(void);
  +CuSuite *testsleep(void);
   CuSuite *testsockopt(void);
  -CuSuite *testpipe(void);
  +CuSuite *testsockets(void);
  +CuSuite *teststr(void);
  +CuSuite *testtable(void);
   CuSuite *testthread(void);
  -CuSuite *testgetopt(void);
  -CuSuite *testnames(void);
  +CuSuite *testtime(void);
  +CuSuite *testud(void);
   CuSuite *testuser(void);
  -CuSuite *testpath(void);
  -CuSuite *testenv(void);
  -CuSuite *testfnmatch(void);
  -CuSuite *testatomic(void);
  -CuSuite *testflock(void);
  +CuSuite *testvsn(void);
  +
   
   /* Assert that RV is an APR_SUCCESS value; else fail giving strerror
    * for RV and CONTEXT message. */
  
  
  
  1.53      +27 -26    apr/test/testall.c
  
  Index: testall.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testall.c,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- testall.c	13 Mar 2004 12:34:49 -0000	1.52
  +++ testall.c	13 Mar 2004 13:02:35 -0000	1.53
  @@ -39,40 +39,41 @@
       const char *testname;
       CuSuite *(*func)(void);
   } tests[] = {
  -    {"teststr", teststr},
  -    {"testtime", testtime},
  -    {"testvsn", testvsn},
  -    {"testipsub", testipsub},
  -    {"testmmap", testmmap},
  -    {"testud", testud},
  -    {"testtable", testtable},
  -    {"testhash", testhash},
  -    {"testsleep", testsleep},
  -    {"testpool", testpool},
  -    {"testfmt", testfmt},
  +    {"testargs", testgetopt},
  +    {"testatomic", testatomic},
  +    {"testdir", testdir},
  +    {"testdso", testdso},
  +    {"testdup", testdup},
  +    {"testenv", testenv},
       {"testfile", testfile},
       {"testfileinfo", testfileinfo},
  +    {"testflock", testflock},
  +    {"testfmt", testfmt},
  +    {"testfnmatch", testfnmatch},
  +    {"testhash", testhash},
  +    {"testipsub", testipsub},
  +    {"testlock", testlock},
  +    {"testmmap", testmmap},
  +    {"testnames", testnames},
  +    {"testoc", testoc},
  +    {"testpath", testpath},
       {"testpipe", testpipe},
  -    {"testdup", testdup},
  -    {"testdir", testdir},
  +    {"testpoll", testpoll},
  +    {"testpool", testpool},
  +    {"testproc", testproc},
  +    {"testprocmutex", testprocmutex},
       {"testrand", testrand},
  -    {"testdso", testdso},
  -    {"testoc", testoc},
  +    {"testrand2", testrand2},
  +    {"testsleep", testsleep},
       {"testsockets", testsockets},
       {"testsockopt", testsockopt},
  -    {"testproc", testproc},
  -    {"testprocmutex", testprocmutex},
  -    {"testpoll", testpoll},
  -    {"testlock", testlock},
  +    {"teststr", teststr},
  +    {"testtable", testtable},
       {"testthread", testthread},
  -    {"testargs", testgetopt},
  -    {"testnames", testnames},
  +    {"testtime", testtime},
  +    {"testud", testud},
       {"testuser", testuser},
  -    {"testpath", testpath},
  -    {"testenv", testenv},
  -    {"testfnmatch", testfnmatch},
  -    {"testatomic", testatomic},
  -    {"testflock", testflock},
  +    {"testvsn", testvsn},
       {"LastTest", NULL}
   };