class RunnerTest extends TestCase (View source)

Unit tests for Runner's stub-cache completeness guard.

Uses a self-contained temporary cache directory so the test never touches the real committed cache (per the unit-test isolation rule).

Constants

private REQUIRED_FILES

Methods

void
setUp()

No description

void
tearDown()

No description

void
void
void
testMissingPhpDocFileIsIncomplete()

The W12 regression: the five per-type files present but StubsPhpDoc.json missing must NOT be treated as a usable cache — otherwise entities load with all PhpDoc metadata dropped.

Details

protected void setUp()

No description

Return Value

void

protected void tearDown()

No description

Return Value

void

void testCompleteCacheIsRecognised()

No description

Return Value

void

void testEmptyCacheDirIsIncomplete()

No description

Return Value

void

void testMissingPhpDocFileIsIncomplete()

The W12 regression: the five per-type files present but StubsPhpDoc.json missing must NOT be treated as a usable cache — otherwise entities load with all PhpDoc metadata dropped.

Return Value

void

void testMissingAnySingleRequiredFileIsIncomplete()

No description

Return Value

void