1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-25 08:50:45 +02:00

Loading images without depending on filename extension, fix #85.

This commit is contained in:
Mikael Roos
2015-03-06 13:00:21 +01:00
parent 169b99eab3
commit f5529c7431
9 changed files with 381 additions and 464 deletions

View File

@@ -0,0 +1,37 @@
<?php
// Include config for all testcases
include __DIR__ . "/config.php";
// The title of the test case
$title = "Testing issue 85 - Load images in a more generic manner";
// Provide a short description of the testcase.
$description = "Do not depend on file extension while loading images.";
// Use these images in the test
$images = array(
'car-gif',
'car-jpg',
'car-png',
);
// For each image, apply these testcases
$testcase = array(
'&nc&so',
'&nc&sa=gif',
'&nc&sa=jpg',
'&nc&sa=png',
);
// Apply testcases and present results
include __DIR__ . "/template.php";