aboutsummaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
...
* Build: Generate quick download in release script.Scott González2012-10-041-3/+34
|
* Build: Throw an Error object instead of a string.Scott González2012-10-041-2/+2
|
* Revert "Grunt/testswarm: Undo the change from ↵Jörn Zaefferer2012-10-041-1/+1
| | | | | | | | 6e55168318495da50cae457433eae2438699e1f3 to see if its responsible for the position errors in IE8" This reverts commit a8f5e3c399844f82e67ffdceb29dbbfb0e1314db. Did not have any effect on TestSwarm
* Grunt/testswarm: Undo the change from ↵Jörn Zaefferer2012-10-041-1/+1
| | | | 6e55168318495da50cae457433eae2438699e1f3 to see if its responsible for the position errors in IE8
* Update lint task to include the release script.Scott González2012-10-032-1/+15
|
* Build: Fixed core.json syntax.Scott González2012-10-021-1/+1
|
* Release: Build themes and CDN zips.Scott González2012-09-291-2/+4
|
* Manifest: Fixed docs URL for widget factory.Scott González2012-09-291-1/+2
|
* grunt testswarm: Job name consistent with other jquery repos.Timo Tijhof2012-09-291-2/+3
| | | | With hash symbol in front of link and 10-char commit hash.
* Grunt: New task for downloading themes using new themeroller.Jörn Zaefferer2012-09-241-79/+50
| | | | | | * Replaces the old theme tasks with generate_themes. * Drops useless download_docs task * Drops request module
* Upgrade jQuery to 1.8.2.Scott González2012-09-201-1/+1
|
* Build: Remove summary from changelog.Scott González2012-09-202-37/+2
|
* Build: Convert changelog to markdown.Scott González2012-09-202-36/+73
|
* Build: Update link to AUTHORS.txt during release.Scott González2012-08-231-0/+1
|
* Upgrade jQuery to 1.8.0.Scott González2012-08-131-0/+1
|
* Build: Extending testswarm timeout to 45 minutesCorey Frang2012-08-051-1/+1
|
* Release: Update TODOs related to publishing generated files.Scott González2012-07-251-4/+3
|
* Build: Remove need to install shelljs globally for release script. Colorized ↵Scott González2012-07-231-60/+79
| | | | output.
* Build: Extra whitespaceCorey Frang2012-07-231-1/+1
|
* Build: Adding subtitles for release coverage builds to testswarm descriptionCorey Frang2012-07-231-4/+4
|
* Build: Splitting Release Coverage build into threeCorey Frang2012-07-231-27/+32
|
* Build: New release script.Scott González2012-07-192-336/+381
|
* Build: Add a newline at the end of manifest files.Scott González2012-07-191-1/+1
|
* Merge branch 'manifest'Scott González2012-07-165-0/+318
|\
| * Manifests: Update URLs for core files.Scott González2012-07-162-4/+3
| |
| * Manifest: Move transfer effect to core.json since it's not like other ↵Scott González2012-07-163-4/+14
| | | | | | | | effects (no show/hide).
| * Manifest: Move interactions to their own file.Scott González2012-07-163-38/+41
| |
| * Manifest: Use existing data structure to infer categorization.Scott González2012-07-163-10/+8
| |
| * Manifests: Fixed typo.Scott González2012-07-161-1/+1
| |
| * Manifest: Add category fieldJörn Zaefferer2012-07-163-5/+12
| |
| * Update descriptions of UI components in manifest files.Karl Swedberg2012-07-113-29/+29
| |
| * Let's not pretend that manifest names are configurable...Scott González2012-07-091-3/+2
| |
| * Accidentally removed licenses.Scott González2012-07-061-0/+1
| |
| * Minor manifest updates.Scott González2012-07-062-7/+13
| |
| * Initial implementation for generating manifest files.Scott González2012-07-054-0/+295
| |
* | Tests: Add jQuery 1.6.2 to testswarm-multi-jquery grunt task.Scott González2012-07-091-1/+1
|/
* Grunt: Use grunt-git-authors plugin to generate authors list.Scott González2012-07-051-24/+0
|
* Revert "Grunt: Replace custom rimraf-based clean task with grunt-contrib's ↵Jörn Zaefferer2012-06-161-0/+4
| | | | | | | | clean task" This reverts commit 38aac3770cc1e22e5e7225b90c47b37d857be13a. As long as grunt-contrib has a coffeescript dependency, we won't use it.
* Grunt: Add all jQuery versions to test 1.9 beta against to ↵Jörn Zaefferer2012-06-161-8/+6
| | | | testswarm-multi-jquery task
* Grunt: Fix test urlsJörn Zaefferer2012-06-161-2/+7
|
* Grunt: Fix scoping issueJörn Zaefferer2012-06-151-4/+4
|
* Grunt: Refactor testswarm task and add an experimental ↵Jörn Zaefferer2012-06-151-28/+46
| | | | testswarm-multi-jquery task for testing across jQuery versions
* Grunt: Replace custom rimraf-based clean task with grunt-contrib's clean taskJörn Zaefferer2012-06-141-4/+0
|
* Grunt: Update testswarm task to use more config propsJörn Zaefferer2012-06-141-2/+2
|
* Test: Set testswarm.runMax from config fileTimo Tijhof2012-06-111-2/+3
|
* Build: Adding missing require in build.js and add buid/tasks/*.js to lint.Scott González2012-06-111-0/+2
|
* Grunt: Extract testswarm and build tasks into separate filesJörn Zaefferer2012-06-082-0/+262
|
* Build: Removed ant build.Scott González2012-04-1811-9420/+0
|
* Build: Modify uglify.js to include a newline charakter after the copyright ↵Jörn Zaefferer2012-03-101-1/+1
| | | | comment, makes diffing against new build a little bit more efficient
* Build: Also minify i18n files.Jörn Zaefferer2011-12-011-0/+6
|
rt/48375/stable30'>backport/48375/stable30 Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/tests/apps.php
blob: 27bd428d949efed4b382b5c2d1761aa9850be08a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
 * Copyright (c) 2012 Robin Appelman <icewind@owncloud.com>
 * This file is licensed under the Affero General Public License version 3 or
 * later.
 * See the COPYING-README file.
 */

function loadDirectory($path) {
	if (strpos($path, 'integration')) {
		return;
	}
	if (strpos($path, 'Integration')) {
		return;
	}
	if ($dh = opendir($path)) {
		while ($name = readdir($dh)) {
			if ($name[0] !== '.') {
				$file = $path . '/' . $name;
				if (is_dir($file)) {
					loadDirectory($file);
				} elseif (substr($name, -4, 4) === '.php') {
					require_once $file;
				}
			}
		}
	}
}

function getSubclasses($parentClassName) {
	$classes = [];
	foreach (get_declared_classes() as $className) {
		if (is_subclass_of($className, $parentClassName)) {
			$classes[] = $className;
		}
	}

	return $classes;
}

$apps = OC_App::getEnabledApps();

foreach ($apps as $app) {
	$dir = OC_App::getAppPath($app);
	if (is_dir($dir . '/tests')) {
		loadDirectory($dir . '/tests');
	}
}