Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed unused stuff from test modules

  • Loading branch information...
commit 614e150e2151337a2676ba7984b447bc16f3ed61 1 parent 1a165ae
@EvanDotPro EvanDotPro authored
Showing with 0 additions and 517 deletions.
  1. +0 −46 tests/Zend/ModuleManager/TestAsset/AutoInstallModule/Module.php
  2. +0 −38 tests/Zend/ModuleManager/TestAsset/BafModule/Module.php
  3. +0 −4 tests/Zend/ModuleManager/TestAsset/BafModule/autoload_classmap.php
  4. +0 −12 tests/Zend/ModuleManager/TestAsset/BafModule/autoload_function.php
  5. +0 −2  tests/Zend/ModuleManager/TestAsset/BafModule/autoload_register.php
  6. +0 −36 tests/Zend/ModuleManager/TestAsset/BamModule/Module.php
  7. +0 −4 tests/Zend/ModuleManager/TestAsset/BamModule/autoload_classmap.php
  8. +0 −12 tests/Zend/ModuleManager/TestAsset/BamModule/autoload_function.php
  9. +0 −2  tests/Zend/ModuleManager/TestAsset/BamModule/autoload_register.php
  10. +0 −31 tests/Zend/ModuleManager/TestAsset/BarModule/Module.php
  11. +0 −4 tests/Zend/ModuleManager/TestAsset/BarModule/autoload_classmap.php
  12. +0 −12 tests/Zend/ModuleManager/TestAsset/BarModule/autoload_function.php
  13. +0 −2  tests/Zend/ModuleManager/TestAsset/BarModule/autoload_register.php
  14. +0 −10 tests/Zend/ModuleManager/TestAsset/BazModule/Module.php
  15. +0 −4 tests/Zend/ModuleManager/TestAsset/BazModule/autoload_classmap.php
  16. +0 −12 tests/Zend/ModuleManager/TestAsset/BazModule/autoload_function.php
  17. +0 −2  tests/Zend/ModuleManager/TestAsset/BazModule/autoload_register.php
  18. +0 −35 tests/Zend/ModuleManager/TestAsset/BooModule/Module.php
  19. +0 −4 tests/Zend/ModuleManager/TestAsset/BooModule/autoload_classmap.php
  20. +0 −12 tests/Zend/ModuleManager/TestAsset/BooModule/autoload_function.php
  21. +0 −2  tests/Zend/ModuleManager/TestAsset/BooModule/autoload_register.php
  22. +0 −38 tests/Zend/ModuleManager/TestAsset/BorModule/Module.php
  23. +0 −4 tests/Zend/ModuleManager/TestAsset/BorModule/autoload_classmap.php
  24. +0 −12 tests/Zend/ModuleManager/TestAsset/BorModule/autoload_function.php
  25. +0 −2  tests/Zend/ModuleManager/TestAsset/BorModule/autoload_register.php
  26. +0 −51 tests/Zend/ModuleManager/TestAsset/DoubleModule/Module.php
  27. +0 −4 tests/Zend/ModuleManager/TestAsset/DoubleModule/autoload_classmap.php
  28. +0 −12 tests/Zend/ModuleManager/TestAsset/DoubleModule/autoload_function.php
  29. +0 −2  tests/Zend/ModuleManager/TestAsset/DoubleModule/autoload_register.php
  30. +0 −4 tests/Zend/ModuleManager/TestAsset/DoubleModule/configs/config.php
  31. +0 −52 tests/Zend/ModuleManager/TestAsset/ImpossibleModule/Module.php
  32. +0 −4 tests/Zend/ModuleManager/TestAsset/ImpossibleModule/autoload_classmap.php
  33. +0 −12 tests/Zend/ModuleManager/TestAsset/ImpossibleModule/autoload_function.php
  34. +0 −2  tests/Zend/ModuleManager/TestAsset/ImpossibleModule/autoload_register.php
  35. +0 −4 tests/Zend/ModuleManager/TestAsset/ImpossibleModule/configs/config.php
  36. +0 −10 tests/Zend/ModuleManager/TestAsset/SomeModule/Module.php
  37. +0 −4 tests/Zend/ModuleManager/TestAsset/SomeModule/autoload_classmap.php
  38. +0 −12 tests/Zend/ModuleManager/TestAsset/SomeModule/autoload_function.php
  39. +0 −2  tests/Zend/ModuleManager/TestAsset/SomeModule/autoload_register.php
View
46 tests/Zend/ModuleManager/TestAsset/AutoInstallModule/Module.php
@@ -1,46 +0,0 @@
-<?php
-/**
- * Zend Framework (http://framework.zend.com/)
- *
- * @link http://github.com/zendframework/zf2 for the canonical source repository
- * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- * @license http://framework.zend.com/license/new-bsd New BSD License
- * @package Zend_ModuleManager
- */
-
-namespace AutoInstallModule;
-
-class Module
-{
- public static $VERSION = '1.0.0';
- public static $RESPONSE = true;
-
- public function autoInstall()
- {
- return $this->install();
- }
-
- public function autoUpgrade($version = null)
- {
- return $this->upgrade($version);
- }
-
- public function install()
- {
- return static::$RESPONSE;
- }
-
- public function upgrade($version = null)
- {
- return static::$RESPONSE;
- }
-
- public function getProvides()
- {
- return array(
- __NAMESPACE__ => array(
- 'version' => static::$VERSION,
- ),
- );
- }
-}
View
38 tests/Zend/ModuleManager/TestAsset/BafModule/Module.php
@@ -14,46 +14,8 @@
class Module
{
- protected $version = 1;
-
- public function init()
- {
- $this->initAutoloader();
- }
-
- protected function initAutoloader()
- {
- include __DIR__ . '/autoload_register.php';
- }
-
public function getConfig()
{
return new Config(include __DIR__ . '/configs/config.php');
}
-
- public function getProvides()
- {
- return array(
- __NAMESPACE__ => array(
- 'version' => $this->version,
- ),
- );
- }
-
- public function getDependencies()
- {
- return array(
- 'php' => array(
- 'version' => '5.3.0',
- 'required' => true,
- ),
- 'ext/core' => array(
- 'version' => '0.1',
- 'required' => true,
- ),
- 'BooModule' => array(
- 'required' => true,
- ),
- );
- }
}
View
4 tests/Zend/ModuleManager/TestAsset/BafModule/autoload_classmap.php
@@ -1,4 +0,0 @@
-<?php
-return array (
- 'BafModule\\Module' => __DIR__ . DIRECTORY_SEPARATOR . 'Module.php',
-);
View
12 tests/Zend/ModuleManager/TestAsset/BafModule/autoload_function.php
@@ -1,12 +0,0 @@
-<?php
-return function ($class) {
- public static $map;
- if (!$map) {
- $map = include __DIR__ . '/autoload_classmap.php';
- }
-
- if (!isset($map[$class])) {
- return false;
- }
- return include $map[$class];
-};
View
2  tests/Zend/ModuleManager/TestAsset/BafModule/autoload_register.php
@@ -1,2 +0,0 @@
-<?php
-spl_autoload_register(include __DIR__ . '/autoload_function.php');
View
36 tests/Zend/ModuleManager/TestAsset/BamModule/Module.php
@@ -14,44 +14,8 @@
class Module
{
- protected $version = 1;
-
- public function init()
- {
- $this->initAutoloader();
- }
-
- protected function initAutoloader()
- {
- include __DIR__ . '/autoload_register.php';
- }
-
public function getConfig()
{
return new Config(include __DIR__ . '/configs/config.php');
}
-
- public function getProvides()
- {
- return array(
- __NAMESPACE__ => array(
- 'version' => $this->version,
- ),
- );
- }
-
- public function getDependencies()
- {
- return array(
- 'php' => array(
- 'version' => '5.3.0',
- 'required' => true,
- ),
- 'ext/core' => array(
- 'version' => '0.1',
- 'required' => true,
- ),
- 'BooModule' => true,
- );
- }
}
View
4 tests/Zend/ModuleManager/TestAsset/BamModule/autoload_classmap.php
@@ -1,4 +0,0 @@
-<?php
-return array (
- 'BamModule\\Module' => __DIR__ . DIRECTORY_SEPARATOR . 'Module.php',
-);
View
12 tests/Zend/ModuleManager/TestAsset/BamModule/autoload_function.php
@@ -1,12 +0,0 @@
-<?php
-return function ($class) {
- public static $map;
- if (!$map) {
- $map = include __DIR__ . '/autoload_classmap.php';
- }
-
- if (!isset($map[$class])) {
- return false;
- }
- return include $map[$class];
-};
View
2  tests/Zend/ModuleManager/TestAsset/BamModule/autoload_register.php
@@ -1,2 +0,0 @@
-<?php
-spl_autoload_register(include __DIR__ . '/autoload_function.php');
View
31 tests/Zend/ModuleManager/TestAsset/BarModule/Module.php
@@ -14,39 +14,8 @@
class Module
{
- protected $version = 1;
-
- public function init()
- {
- $this->initAutoloader();
- }
-
- protected function initAutoloader()
- {
- include __DIR__ . '/autoload_register.php';
- }
-
public function getConfig()
{
return new Config(include __DIR__ . '/configs/config.php');
}
-
- public function getProvides()
- {
- return array(
- __NAMESPACE__ => array(
- 'version' => $this->version,
- ),
- );
- }
-
- public function getDependencies()
- {
- return array(
- 'php' => array(
- 'version' => '5.3.0',
- 'required' => true,
- ),
- );
- }
}
View
4 tests/Zend/ModuleManager/TestAsset/BarModule/autoload_classmap.php
@@ -1,4 +0,0 @@
-<?php
-return array (
- 'BarModule\\Module' => __DIR__ . DIRECTORY_SEPARATOR . 'Module.php',
-);
View
12 tests/Zend/ModuleManager/TestAsset/BarModule/autoload_function.php
@@ -1,12 +0,0 @@
-<?php
-return function ($class) {
- public static $map;
- if (!$map) {
- $map = include __DIR__ . '/autoload_classmap.php';
- }
-
- if (!isset($map[$class])) {
- return false;
- }
- return include $map[$class];
-};
View
2  tests/Zend/ModuleManager/TestAsset/BarModule/autoload_register.php
@@ -1,2 +0,0 @@
-<?php
-spl_autoload_register(include __DIR__ . '/autoload_function.php');
View
10 tests/Zend/ModuleManager/TestAsset/BazModule/Module.php
@@ -14,16 +14,6 @@
class Module
{
- public function init()
- {
- $this->initAutoloader();
- }
-
- protected function initAutoloader()
- {
- include __DIR__ . '/autoload_register.php';
- }
-
public function getConfig()
{
return new Config(include __DIR__ . '/configs/config.php');
View
4 tests/Zend/ModuleManager/TestAsset/BazModule/autoload_classmap.php
@@ -1,4 +0,0 @@
-<?php
-return array (
- 'BazModule\\Module' => __DIR__ . DIRECTORY_SEPARATOR . 'Module.php',
-);
View
12 tests/Zend/ModuleManager/TestAsset/BazModule/autoload_function.php
@@ -1,12 +0,0 @@
-<?php
-return function ($class) {
- public static $map;
- if (!$map) {
- $map = include __DIR__ . '/autoload_classmap.php';
- }
-
- if (!isset($map[$class])) {
- return false;
- }
- return include $map[$class];
-};
View
2  tests/Zend/ModuleManager/TestAsset/BazModule/autoload_register.php
@@ -1,2 +0,0 @@
-<?php
-spl_autoload_register(include __DIR__ . '/autoload_function.php');
View
35 tests/Zend/ModuleManager/TestAsset/BooModule/Module.php
@@ -14,43 +14,8 @@
class Module
{
- protected $version = 1;
-
- public function init()
- {
- $this->initAutoloader();
- }
-
- protected function initAutoloader()
- {
- include __DIR__ . '/autoload_register.php';
- }
-
public function getConfig()
{
return new Config(include __DIR__ . '/configs/config.php');
}
-
- public function getProvides()
- {
- return array(
- __NAMESPACE__ => array(
- 'version' => $this->version,
- ),
- );
- }
-
- public function getDependencies()
- {
- return array(
- 'php' => array(
- 'version' => '5.3.0',
- ),
- 'ext/monkey' => array(
- 'version' => '0.1',
- ),
- 'BarModule' => array(
- )
- );
- }
}
View
4 tests/Zend/ModuleManager/TestAsset/BooModule/autoload_classmap.php
@@ -1,4 +0,0 @@
-<?php
-return array (
- 'BooModule\\Module' => __DIR__ . DIRECTORY_SEPARATOR . 'Module.php',
-);
View
12 tests/Zend/ModuleManager/TestAsset/BooModule/autoload_function.php
@@ -1,12 +0,0 @@
-<?php
-return function ($class) {
- public static $map;
- if (!$map) {
- $map = include __DIR__ . '/autoload_classmap.php';
- }
-
- if (!isset($map[$class])) {
- return false;
- }
- return include $map[$class];
-};
View
2  tests/Zend/ModuleManager/TestAsset/BooModule/autoload_register.php
@@ -1,2 +0,0 @@
-<?php
-spl_autoload_register(include __DIR__ . '/autoload_function.php');
View
38 tests/Zend/ModuleManager/TestAsset/BorModule/Module.php
@@ -14,46 +14,8 @@
class Module
{
- protected $version = 1;
-
- public function init()
- {
- $this->initAutoloader();
- }
-
- protected function initAutoloader()
- {
- include __DIR__ . '/autoload_register.php';
- }
-
public function getConfig()
{
return new Config(include __DIR__ . '/configs/config.php');
}
-
- public function getProvides()
- {
- return array(
- __NAMESPACE__ => array(
- 'version' => $this->version,
- ),
- );
- }
-
- public function getDependencies()
- {
- return array(
- 'php' => array(
- 'version' => '5.3.0',
- 'required' => true,
- ),
- 'ext/monkey' => array(
- 'version' => '0.1',
- 'required' => true,
- ),
- 'BooModule' => array(
- 'required' => true,
- ),
- );
- }
}
View
4 tests/Zend/ModuleManager/TestAsset/BorModule/autoload_classmap.php
@@ -1,4 +0,0 @@
-<?php
-return array (
- 'BorModule\\Module' => __DIR__ . DIRECTORY_SEPARATOR . 'Module.php',
-);
View
12 tests/Zend/ModuleManager/TestAsset/BorModule/autoload_function.php
@@ -1,12 +0,0 @@
-<?php
-return function ($class) {
- public static $map;
- if (!$map) {
- $map = include __DIR__ . '/autoload_classmap.php';
- }
-
- if (!isset($map[$class])) {
- return false;
- }
- return include $map[$class];
-};
View
2  tests/Zend/ModuleManager/TestAsset/BorModule/autoload_register.php
@@ -1,2 +0,0 @@
-<?php
-spl_autoload_register(include __DIR__ . '/autoload_function.php');
View
51 tests/Zend/ModuleManager/TestAsset/DoubleModule/Module.php
@@ -1,51 +0,0 @@
-<?php
-/**
- * Zend Framework (http://framework.zend.com/)
- *
- * @link http://github.com/zendframework/zf2 for the canonical source repository
- * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- * @license http://framework.zend.com/license/new-bsd New BSD License
- * @package Zend_ModuleManager
- */
-
-namespace DoubleModule;
-
-use Zend\Config\Config;
-
-class Module
-{
- protected $version = 1;
-
- public function init()
- {
- $this->initAutoloader();
- }
-
- protected function initAutoloader()
- {
- include __DIR__ . '/autoload_register.php';
- }
-
- public function getConfig()
- {
- return new Config(include __DIR__ . '/configs/config.php');
- }
-
- public function getProvides()
- {
- return array(
- 'BarModule' => array(
- 'version' => $this->version,
- ),
- );
- }
-
- public function getDependencies()
- {
- return array(
- 'php' => array(
- 'version' => '5.3.0',
- )
- );
- }
-}
View
4 tests/Zend/ModuleManager/TestAsset/DoubleModule/autoload_classmap.php
@@ -1,4 +0,0 @@
-<?php
-return array (
- 'DoubleModule\\Module' => __DIR__ . DIRECTORY_SEPARATOR . 'Module.php',
-);
View
12 tests/Zend/ModuleManager/TestAsset/DoubleModule/autoload_function.php
@@ -1,12 +0,0 @@
-<?php
-return function ($class) {
- public static $map;
- if (!$map) {
- $map = include __DIR__ . '/autoload_classmap.php';
- }
-
- if (!isset($map[$class])) {
- return false;
- }
- return include $map[$class];
-};
View
2  tests/Zend/ModuleManager/TestAsset/DoubleModule/autoload_register.php
@@ -1,2 +0,0 @@
-<?php
-spl_autoload_register(include __DIR__ . '/autoload_function.php');
View
4 tests/Zend/ModuleManager/TestAsset/DoubleModule/configs/config.php
@@ -1,4 +0,0 @@
-<?php
-return array(
- 'bar' => 'foo',
-);
View
52 tests/Zend/ModuleManager/TestAsset/ImpossibleModule/Module.php
@@ -1,52 +0,0 @@
-<?php
-/**
- * Zend Framework (http://framework.zend.com/)
- *
- * @link http://github.com/zendframework/zf2 for the canonical source repository
- * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- * @license http://framework.zend.com/license/new-bsd New BSD License
- * @package Zend_ModuleManager
- */
-
-namespace ImpossibleModule;
-
-use Zend\Config\Config;
-
-class Module
-{
- protected $version = 1;
-
- public function init()
- {
- $this->initAutoloader();
- }
-
- protected function initAutoloader()
- {
- include __DIR__ . '/autoload_register.php';
- }
-
- public function getConfig()
- {
- return new Config(include __DIR__ . '/configs/config.php');
- }
-
- public function getProvides()
- {
- return array(
- __NAMESPACE__ => array(
- 'version' => $this->version,
- ),
- );
- }
-
- public function getDependencies()
- {
- return array(
- 'php' => array(
- 'version' => '99.3.0',
- ),
- 'BarModule' => true,
- );
- }
-}
View
4 tests/Zend/ModuleManager/TestAsset/ImpossibleModule/autoload_classmap.php
@@ -1,4 +0,0 @@
-<?php
-return array (
- 'ImpossibleModule\\Module' => __DIR__ . DIRECTORY_SEPARATOR . 'Module.php',
-);
View
12 tests/Zend/ModuleManager/TestAsset/ImpossibleModule/autoload_function.php
@@ -1,12 +0,0 @@
-<?php
-return function ($class) {
- public static $map;
- if (!$map) {
- $map = include __DIR__ . '/autoload_classmap.php';
- }
-
- if (!isset($map[$class])) {
- return false;
- }
- return include $map[$class];
-};
View
2  tests/Zend/ModuleManager/TestAsset/ImpossibleModule/autoload_register.php
@@ -1,2 +0,0 @@
-<?php
-spl_autoload_register(include __DIR__ . '/autoload_function.php');
View
4 tests/Zend/ModuleManager/TestAsset/ImpossibleModule/configs/config.php
@@ -1,4 +0,0 @@
-<?php
-return array(
- 'bar' => 'foo',
-);
View
10 tests/Zend/ModuleManager/TestAsset/SomeModule/Module.php
@@ -14,16 +14,6 @@
class Module
{
- public function init()
- {
- $this->initAutoloader();
- }
-
- protected function initAutoloader()
- {
- include __DIR__ . '/autoload_register.php';
- }
-
public function getConfig()
{
return new Config(include __DIR__ . '/configs/config.php');
View
4 tests/Zend/ModuleManager/TestAsset/SomeModule/autoload_classmap.php
@@ -1,4 +0,0 @@
-<?php
-return array (
- 'BazModule\\Module' => __DIR__ . DIRECTORY_SEPARATOR . 'Module.php',
-);
View
12 tests/Zend/ModuleManager/TestAsset/SomeModule/autoload_function.php
@@ -1,12 +0,0 @@
-<?php
-return function ($class) {
- public static $map;
- if (!$map) {
- $map = include __DIR__ . '/autoload_classmap.php';
- }
-
- if (!isset($map[$class])) {
- return false;
- }
- return include $map[$class];
-};
View
2  tests/Zend/ModuleManager/TestAsset/SomeModule/autoload_register.php
@@ -1,2 +0,0 @@
-<?php
-spl_autoload_register(include __DIR__ . '/autoload_function.php');
Please sign in to comment.
Something went wrong with that request. Please try again.