Skip to content

Commit 7f8ef45

Browse files
dantleechdbu
authored andcommitted
Removed requires
1 parent c8c32ce commit 7f8ef45

File tree

75 files changed

+0
-82
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+0
-82
lines changed

tests/04_Connecting/RepositoryDescriptorsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Connecting;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
class RepositoryDescriptorsTest extends \PHPCR\Test\BaseCase
76
{

tests/04_Connecting/RepositoryFactoryTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
use PHPCR\RepositoryFactoryInterface;
55

6-
require_once(__DIR__ . '/../../inc/BaseCase.php');
76

87
class RepositoryFactoryTest extends \PHPCR\Test\BaseCase
98
{

tests/04_Connecting/RepositoryTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
use PHPCR\LoginException;
55

6-
require_once(__DIR__ . '/../../inc/BaseCase.php');
76

87
class RepositoryTest extends \PHPCR\Test\BaseCase
98
{

tests/04_Connecting/SessionReadMethodsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Connecting;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
/** test javax.cr.Session read methods (level 1)
76
* most of the pdf specification is in section 4.4 and 5.1

tests/04_Connecting/SimpleCredentialsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Connecting;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
/**
76
* Test the simple credentials PHPCR class

tests/04_Connecting/WorkspaceReadMethodsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
use PHPCR\WorkspaceInterface;
55

6-
require_once(__DIR__ . '/../../inc/BaseCase.php');
76

87
/** test javax.jcr.Workspace read methods (read)
98
* most of the pdf specification is in chapter 4.5

tests/05_Reading/BinaryReadMethodsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
use PHPCR\PropertyInterface;
55

6-
require_once(__DIR__ . '/../../inc/BaseCase.php');
76

87
// According to PHPCR\BinaryInterface
98

tests/05_Reading/EncodingTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Reading;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
/**
76
* Test javax.jcr.Node read methods (read) §5.6

tests/05_Reading/JackalopeFetchDepthTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Reading;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
/**
76
* functional tests for Jackalope fetch depth

tests/05_Reading/NodeReadMethodsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Reading;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
/**
76
* test javax.jcr.Node read methods (read) §5.6

tests/05_Reading/PropertyReadMethodsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Reading;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
/**
76
* javax.jcr.Property read methods

tests/05_Reading/SessionNamespaceRemappingTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Reading;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
//6.3.3 Session Namespace Remapping
76
class SessionNamespaceRemappingTest extends \PHPCR\Test\BaseCase

tests/05_Reading/SessionReadMethodsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Reading;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
/**
76
* Test Session read methods

tests/06_Query/CharacterTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use PHPCR\Query\QueryInterface;
66
use PHPCR\Query\QueryManagerInterface;
77

8-
require_once(__DIR__ . '/../../inc/BaseCase.php');
98

109
class CharacterTest extends \PHPCR\Test\BaseCase
1110
{

tests/06_Query/NodeViewTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Query;
33

4-
require_once 'QueryBaseCase.php';
54

65
/**
76
* test the query result node view $ 6.11.2

tests/06_Query/QOM/ConvertQueriesBackAndForthTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Query\QOM;
33

4-
require_once(__DIR__ . '/../../../inc/BaseCase.php');
5-
require_once 'Sql2TestQueries.php';
6-
require_once 'QomTestQueries.php';
74

85
use PHPCR\Util\QOM\Sql2Generator;
96
use PHPCR\Util\QOM\Sql2ToQomQueryConverter;

tests/06_Query/QOM/QomToSql2ConverterTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Query\QOM;
33

4-
require_once(__DIR__ . '/../../../inc/BaseCase.php');
5-
require_once 'Sql2TestQueries.php';
64

75
use Jackalope\Query\QOM; // TODO get rid of jackalope dependency
86
use PHPCR\Query\QOM\ConstraintInterface;

tests/06_Query/QOM/Sql2ScannerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Query\QOM;
33

4-
require_once(__DIR__ . '/../../../inc/BaseCase.php');
54

65
use PHPCR\Util\QOM\Sql2Scanner;
76

tests/06_Query/QOM/Sql2ToQomConverterTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Query\QOM;
33

4-
require_once(__DIR__ . '/../../../inc/BaseCase.php');
5-
require_once 'Sql2TestQueries.php';
6-
require_once 'QomTestQueries.php';
74

85
use PHPCR\Util\QOM\Sql2ToQomQueryConverter;
96

tests/06_Query/QueryBaseCase.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Query;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
/**
76
* a base class for all query tests

tests/06_Query/QueryManagerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Query;
33

4-
require_once 'QueryBaseCase.php';
54

65
/**
76
* tests for the query manager, $ 6.8

tests/06_Query/QueryObjectQOMTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
use PHPCR\Query\QOM\QueryObjectModelFactoryInterface;
55
use PHPCR\Query\QueryInterface;
66

7-
require_once 'QueryBaseCase.php';
87

98
/**
109
* test the Query Factory integration

tests/06_Query/QueryObjectSql2Test.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Query;
33

4-
require_once 'QueryBaseCase.php';
54

65
/**
76
* test the Query interface. $ 6.9

tests/06_Query/QueryResultsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
use PHPCR\Query\QueryResultInterface;
55

6-
require_once 'QueryBaseCase.php';
76

87
/**
98
* $ 6.11 QueryResult - Test the query result object

tests/06_Query/QuerySql2OperationsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
use PHPCR\Query\QueryInterface;
55

6-
require_once 'QueryBaseCase.php';
76

87
/**
98
* Run non-trivial queries to try out where, the join features and such

tests/06_Query/RowIteratorTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Query;
33

4-
require_once 'QueryBaseCase.php';
54

65
/**
76
* $ 6.11.1 Row View - Iterator part

tests/06_Query/RowTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Query;
33

4-
require_once 'QueryBaseCase.php';
54

65
/**
76
* $ 6.11.1 Table View - Row part

tests/06_Query/Sql1/QueryBaseCase.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Query\Sql1;
33

4-
require_once(__DIR__ . '/../../../inc/BaseCase.php');
5-
require_once(__DIR__ . '/../QueryBaseCase.php');
64

75
/**
86
* a base class for all query tests

tests/06_Query/Sql1/QueryOperationsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
use PHPCR\Query\QueryInterface;
55

6-
require_once 'QueryBaseCase.php';
76

87
/**
98
* Run non-trivial queries to try out where, the join features and such

tests/06_Query/XPath/QueryBaseCase.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Query\XPath;
33

4-
require_once(__DIR__ . '/../../../inc/BaseCase.php');
5-
require_once(__DIR__ . '/../QueryBaseCase.php');
64

75
/**
86
* a base class for all query tests

tests/06_Query/XPath/QueryOperationsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
use PHPCR\Query\QueryInterface;
55

6-
require_once 'QueryBaseCase.php';
76

87
/**
98
* Run non-trivial queries to try out where, the join features and such

tests/07_Export/ExportRepositoryContentTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Export;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
use DOMDocument, DOMElement, DOMNode, DOMText, DOMXPath;
76

tests/08_NodeTypeDiscovery/NodeDefinitionTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\NodeTypeDiscovery;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
/**
76
* Test the NoteDefinition §8

tests/08_NodeTypeDiscovery/NodeNodeTypeReadMethodsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\NodeTypeDiscovery;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
/**
76
* test NodeInterface::isNodeType (read) §8.6

tests/08_NodeTypeDiscovery/NodeTypeDiscoveryTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
use PHPCR\NodeType\NodeTypeManagerInterface;
55

6-
require_once(__DIR__ . '/../../inc/BaseCase.php');
76

87
/**
98
* Test the NoteTypeManager §8

tests/08_NodeTypeDiscovery/NodeTypeTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
use PHPCR\NodeType\NodeTypeInterface;
55
use PHPCR\RepositoryInterface;
66

7-
require_once(__DIR__ . '/../../inc/BaseCase.php');
87

98
/**
109
* Test the NoteType §8

tests/08_NodeTypeDiscovery/PropertyDefinitionTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\NodeTypeDiscovery;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
use PHPCR\Query\QOM\QueryObjectModelConstantsInterface;
76
/**

tests/09_PermissionsAndCapabilities/PermissionReadTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace PHPCR\Tests\PermissionsAndCapabilities;
44

5-
require_once(__DIR__ . '/../../inc/BaseCase.php');
65

76
/**
87
* Test Permission read methods

tests/10_Writing/AddMethodsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Writing;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
use PHPCR\NodeType\ConstraintViolationException;
76
use PHPCR\PropertyType;

tests/10_Writing/CloneMethodsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use PHPCR\WorkspaceInterface;
66
use PHPCR\Test\BaseCase;
77

8-
require_once(__DIR__ . '/../../inc/BaseCase.php');
98

109
/**
1110
* Covering jcr-283 spec $10.8

tests/10_Writing/CombinedManipulationsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Writing;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
/**
76
* test sequences of adding / moving / removing stuff inside a transaction

tests/10_Writing/CopyMethodsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
use PHPCR\WorkspaceInterface;
55

6-
require_once(__DIR__ . '/../../inc/BaseCase.php');
76

87
/**
98
* Covering jcr-283 spec $10.7

tests/10_Writing/DeleteMethodsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
use PHPCR\ItemNotFoundException;
55

6-
require_once(__DIR__ . '/../../inc/BaseCase.php');
76

87
/**
98
* Covering jcr-2.8.3 spec $10.9

tests/10_Writing/EncodingTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Writing;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
/**
76
* Test javax.jcr.Node read methods (read) §5.6

tests/10_Writing/ItemStateTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Writing;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
use Jackalope\Item;
76

tests/10_Writing/LastModifiedTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
use Jackalope\Session;
55
use PHPCR\PropertyInterface;
66

7-
require_once(__DIR__ . '/../../inc/BaseCase.php');
87

98
/**
109
* Testing the mix:lastModified support when the values are never updated

tests/10_Writing/LastModifiedUpdateTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
use Jackalope\Session;
55
use PHPCR\PropertyInterface;
66

7-
require_once(__DIR__ . '/../../inc/BaseCase.php');
87

98
/**
109
* Testing the mix:lastModified support when properties should be updated

tests/10_Writing/MixinCreatedTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace PHPCR\Tests\Writing;
33

4-
require_once(__DIR__ . '/../../inc/BaseCase.php');
54

65
/**
76
* Testing that mix:referenceable nodes references work correctly

tests/10_Writing/MixinReferenceableTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
use PHPCR\PropertyType;
55

6-
require_once(__DIR__ . '/../../inc/BaseCase.php');
76

87
/**
98
* Testing that mix:referenceable nodes references work correctly

0 commit comments

Comments
 (0)