return properties loaded from a fixture configuration file , or null if not found . if a fixture configuration file is not found , a notice is printed to standard output stating that tests for this fixture id are skipped . this method allows tests that can not extend onlinetestcase or onlinetestsupport because they already extend another class for example , anon-online test framework to access fixture configuration files in the same way that those classes do . only basic fixture configuration loading is supported . this method does not support the extra services such as fixture caching and connection testing provided by onlinetestcase and onlinetestsupport . a junit 4 test fixture can readily be disabled in the absence of a fixture configuration file by placing assume.assumenotnull fixtureutilities.loadfixture fixtureid or similar in its @beforeclass method . junit 3 tests must provide their own logic , typically overriding testcase #run or testcase #runtest , or providing a suite . concode_field_sep PlaceHolder placeHolder concode_field_sep File getFixtureDirectory concode_elem_sep void printSkipNotice concode_elem_sep Properties loadProperties concode_elem_sep File getFixtureFile
Properties function ( String arg0 ) { File loc0 = getFixtureFile ( getFixtureDirectory ( ) , arg0 ) ; if ( loc0 . exists ( ) ) { return loadProperties ( loc0 ) ; } else { printSkipNotice ( arg0 , loc0 ) ; return null ; } }