You are here

private function PatternsGeneralTestCase::spycAvailable in Patterns 7.2

Same name and namespace in other branches
  1. 7 tests/general/general.test \PatternsGeneralTestCase::spycAvailable()
1 call to PatternsGeneralTestCase::spycAvailable()
PatternsGeneralTestCase::testSpyc in tests/general/general.test

File

tests/general/general.test, line 88
General SimpleTests for Patterns. Also, a Pattern running base class which uses QuickRun.

Class

PatternsGeneralTestCase
@file General SimpleTests for Patterns. Also, a Pattern running base class which uses QuickRun.

Code

private function spycAvailable() {
  $path = libraries_get_path('spyc') . '/spyc.php';
  if (!file_exists($path)) {
    return FALSE;
  }
  return TRUE;
}