org.rococoa.test
Class RococoaTestCase

java.lang.Object
  extended by org.rococoa.test.RococoaTestCase

public abstract class RococoaTestCase
extends java.lang.Object

A TestCase which runs tests with an autorelease pool in place.

Author:
duncan

Field Summary
static boolean gcAfterTest
           
protected static org.slf4j.Logger logging
           
protected  NSAutoreleasePool pool
           
 
Constructor Summary
RococoaTestCase()
           
 
Method Summary
static void assertRetainCount(int expected, ID id)
           
static void assertRetainCount(int expected, NSObject object)
           
static void gc()
           
static void initializeLogging()
           
 void postTeardown()
           
 void preSetup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gcAfterTest

public static boolean gcAfterTest

logging

protected static final org.slf4j.Logger logging

pool

protected NSAutoreleasePool pool
Constructor Detail

RococoaTestCase

public RococoaTestCase()
Method Detail

initializeLogging

public static void initializeLogging()

preSetup

public void preSetup()

postTeardown

public void postTeardown()

assertRetainCount

public static void assertRetainCount(int expected,
                                     NSObject object)

assertRetainCount

public static void assertRetainCount(int expected,
                                     ID id)

gc

public static void gc()


Copyright © 2009. All Rights Reserved.