1. 27 11月, 2014 1 次提交
  2. 12 9月, 2014 1 次提交
  3. 25 4月, 2014 1 次提交
  4. 08 4月, 2014 1 次提交
    • D
      Introduce a new set of helper macros for mocking symbols · 442ba493
      Daniel P. Berrange 提交于
      Introduce virmock.h which provides some macros to assist in
      creation of LD_PRELOAD overrides. When these are used, the
      LD_PRELOAD code simply has some stubs which forward to a
      wrapper function inside the main test case. This means that
      logic for the test no longer has to be split between the
      virXXXtest.c and virXXXmock.c files. It will also make it
      possible to provide some common reusable modules for mocking
      code like DBus.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      442ba493