[PressTest] element index

Package indexes

All elements
a b c e g h i k l m n p r s t v _
_
top
Method __construct
Method __construct
Method __construct
PT_Plugin::__construct() in pt-plugin.php
Set up hooks for modifying the plugin screen
Method __construct
PT_Tests::__construct() in pt-tests.php
Constructor. Extracts path data.
Method __construct
Method __construct
Method __construct
PT_Admin::__construct() in pt-admin.php
Method __construct
PT_Mocker::__construct() in pt-mocker.php
Enqueues required functions on appropriate hooks.
Method __construct
PT_Parser::__construct() in pt-parser.php
Constructor -- tokenizes code.
Method __construct
Initialize the plugin.
a
top
Method activation
Create the mock functions file on the first run of the plugin.
Method available
PT_Tests::available() in pt-tests.php
Whether this plugin has any Tests.
b
top
Variable $braceBlock
PT_Parser::$braceBlock in pt-parser.php
Braces counter for the block function.
Method block
PT_Parser::block() in pt-parser.php
Returns true while till the _upcoming_ pair of braces is matched.
Method blockProvider
PT_Parser_Test::blockProvider() in PT_Parser_Test.php
Method body
PT_Admin::body() in pt-admin.php
The content of the page. Loads and runs the available tests and displays the results.
Method bulk_actions
PT_Plugin::bulk_actions() in pt-plugin.php
Change the bulk actions behaviour
c
top
Page constants.php
constants.php in constants.php
Page core.php
core.php in core.php
Method create_mockers
Create the files for mocking.
Method current
PT_Parser::current() in pt-parser.php
Returns a PT_Parser_Token instance or NULL in case the iterator has overshot.
Page constants.php
constants.php in constants.php
e
top
Method each
PT_Parser::each() in pt-parser.php
Run on all tokens internally. Useful in derived classes.
g
top
Method get
PT_Parse_Function::get() in pt-parser.php
Method get
PT_Parse_File::get() in pt-parser.php
Method get
PT_Parse_Class::get() in pt-parser.php
Method getVal
PT_Parser_Test::getVal() in PT_Parser_Test.php
Method get_modifier
h
top
Method help
PT_Plugin::help() in pt-plugin.php
Modify the help text for this plugin
i
top
Variable $inBlock
PT_Parser::$inBlock in pt-parser.php
State for the block function.
Method init
PT_Plugin::init() in pt-plugin.php
Run this at the right time
k
top
Method key
PT_Parser::key() in pt-parser.php
Returns the current key val.
l
top
Variable $line
PT_Parser_Token::$line in pt-parser.php
Method line
PT_Parser::line() in pt-parser.php
Returns the line of the current token.
Method links
PT_Tests::links() in pt-tests.php
The link to running a specific set of tests from this plugin.
Method load_resources
Load scripts and styles required for PressTest
Method load_resources
Conditionally initialize based on page being called.
Method load_tests
PT_Tests::load_tests() in pt-tests.php
Load all available tests into qUnit and phpUnit tests based on file extension.
m
top
Variable $modifiers
Variable $mods
PT_Parser::$mods in pt-parser.php
Possible modifiers for upcoming tokens.
Variable $mod_distance
PT_Parser::$mod_distance in pt-parser.php
Distance since the modifier was captured.
Variable $mod_list
PT_Parser::$mod_list in pt-parser.php
Tokens of modifiers to be captured.
Method modifiers
PT_Parser::modifiers() in pt-parser.php
Saves modifiers for future tokens.
n
top
Method next
PT_Parser::next() in pt-parser.php
Moves to the next token and runs an 'each' internal call.
p
top
Variable $page_title
PT_Admin::$page_title in pt-admin.php
Variable $position
PT_Parser::$position in pt-parser.php
Current Position
Method permission_warning
Show warning asking for correct permissions on mocked folder.
Constant PHPUnit_MAIN_METHOD
PHPUnit_MAIN_METHOD in pt-phpUnit.php
Class PressTest
PressTest in core.php
Attaches functions to all the required actions; singleton.
Page PressTest.php
PressTest.php in PressTest.php
Method provider
PT_Parser_Test::provider() in PT_Parser_Test.php
Page pt-admin.php
pt-admin.php in pt-admin.php
Page pt-mocker.php
pt-mocker.php in pt-mocker.php
Page pt-parser.php
pt-parser.php in pt-parser.php
Page pt-phpUnit.php
pt-phpUnit.php in pt-phpUnit.php
Page pt-plugin.php
pt-plugin.php in pt-plugin.php
Page pt-tests.php
pt-tests.php in pt-tests.php
Page PT_Parser_Test.php
PT_Parser_Test.php in PT_Parser_Test.php
Class PT_Admin
PT_Admin in pt-admin.php
Generates the test results page.
Constant PT_ADMIN_DIR
PT_ADMIN_DIR in constants.php
Admin path
Constant PT_ADMIN_INCLUDES_DIR
PT_ADMIN_INCLUDES_DIR in constants.php
Admin includes path
Constant PT_ADMIN_URL
PT_ADMIN_URL in constants.php
PressTest Admin Page URL
Constant PT_COL
PT_COL in constants.php
PressTest Column identifier
Constant PT_DIR
PT_DIR in constants.php
Plugin Directory
Constant PT_FILE
PT_FILE in constants.php
Hand written basename to avoid soft linking issues
Constant PT_FOLDER
PT_FOLDER in constants.php
Plugin Folder
Constant PT_HOME
PT_HOME in constants.php
Plugin Homepage
Constant PT_IMAGES_URL
PT_IMAGES_URL in constants.php
Images folder
Class PT_Mocker
PT_Mocker in pt-mocker.php
Checks whether mock files are required and creates them.
Constant PT_MOCK_DIR
PT_MOCK_DIR in constants.php
The directory for mocked files.
Constant PT_MOCK_PLUGIN_DIR
PT_MOCK_PLUGIN_DIR in constants.php
The directory for mocked plugin files.
Constant PT_MOCK_THEME_DIR
PT_MOCK_THEME_DIR in constants.php
The directory for mocked theme files.
Constant PT_NEEDS_PERMISSION
PT_NEEDS_PERMISSION in constants.php
The option indicating that the presstest folder should be writeable.
Class PT_Parser
PT_Parser in pt-parser.php
Smart iterator for tokens obtained parsed code.
Class PT_Parser_Test
PT_Parser_Test in PT_Parser_Test.php
Class PT_Parser_Token
PT_Parser_Token in pt-parser.php
Value returned by the PT_Parser Iterator.
Class PT_Parse_Argument
PT_Parse_Argument in pt-parser.php
Class PT_Parse_Class
PT_Parse_Class in pt-parser.php
Class PT_Parse_File
PT_Parse_File in pt-parser.php
Class PT_Parse_Function
PT_Parse_Function in pt-parser.php
Class PT_Parse_Global
PT_Parse_Global in pt-parser.php
Class PT_Parse_Method
PT_Parse_Method in pt-parser.php
Class PT_Parse_Property
PT_Parse_Property in pt-parser.php
Constant PT_PHPUNIT_DIR
PT_PHPUNIT_DIR in constants.php
phpUnit Directory
Class PT_Plugin
PT_Plugin in pt-plugin.php
The plugin page modifier for PressTest
Constant PT_PLUGINS_SCREEN
PT_PLUGINS_SCREEN in constants.php
PressTest Screen modified
Constant PT_QUNIT_URL
PT_QUNIT_URL in constants.php
qUnit Directory
Constant PT_SCRIPTS_URL
PT_SCRIPTS_URL in constants.php
Scripts folder
Constant PT_SLUG
PT_SLUG in constants.php
PressTest Admin Slug
Constant PT_STYLES_URL
PT_STYLES_URL in constants.php
Styles folder
Class PT_Tests
PT_Tests in pt-tests.php
Tests available for hplugins.
Constant PT_URL
PT_URL in constants.php
Plugin URL
r
top
Method reset_modifiers
Resets all modifiers
Method rewind
PT_Parser::rewind() in pt-parser.php
Return to the start.
Method row_meta
PT_Plugin::row_meta() in pt-plugin.php
Modify the meta actions available for the plugin
Method run_tests
PT_Tests::run_tests() in pt-tests.php
Routes function to set up actual markup to display the test.
s
top
Variable $slug
PT_Admin::$slug in pt-admin.php
Method setUpBeforeClass
Method setup_tests
PT_Tests::setup_tests() in pt-tests.php
Routes function to set up resources based on test type.
Method skip_till
PT_Parser::skip_till() in pt-parser.php
Skip tokens till the specified token is reached.
t
top
Variable $token
PT_Parser_Token::$token in pt-parser.php
Variable $tokens
PT_Parser::$tokens in pt-parser.php
Token list
Method testable
PT_Tests::testable() in pt-tests.php
Whether this plugin has any tests at all.
Method testBlockComplex
Checks the total number of blocks in the second level.
Method testBlockComplex2
Checks the total number of blocks in the third level.
Method testBlockSimple
PT_Parser_Test::testBlockSimple() in PT_Parser_Test.php
Method testMods
PT_Parser_Test::testMods() in PT_Parser_Test.php
Method testNextAll
PT_Parser_Test::testNextAll() in PT_Parser_Test.php
Method testNextMatchToken
Method testNextMatchVal
Method testNoSkip
PT_Parser_Test::testNoSkip() in PT_Parser_Test.php
Method testRewind
PT_Parser_Test::testRewind() in PT_Parser_Test.php
Method testSkipEnd
PT_Parser_Test::testSkipEnd() in PT_Parser_Test.php
Method testSkipMiddle
PT_Parser_Test::testSkipMiddle() in PT_Parser_Test.php
Method testSkipNottoken
Method testSkipStart
PT_Parser_Test::testSkipStart() in PT_Parser_Test.php
v
top
Variable $val
PT_Parser_Token::$val in pt-parser.php
Method val
PT_Parser::val() in pt-parser.php
Return the current val of the token.
Method valid
PT_Parser::valid() in pt-parser.php
Checks whether the iterator can still move forward.
a b c e g h i k l m n p r s t v _