mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-25 08:50:45 +02:00
improving dummy image
This commit is contained in:
36
webroot/test/test_issue101-dummy.php
Normal file
36
webroot/test/test_issue101-dummy.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
// Include config for all testcases
|
||||
include __DIR__ . "/config.php";
|
||||
|
||||
|
||||
|
||||
// The title of the test case
|
||||
$title = "Testing issue 100 - Dummy images";
|
||||
|
||||
|
||||
|
||||
// Provide a short description of the testcase.
|
||||
$description = "Create dummy images.";
|
||||
|
||||
|
||||
|
||||
// Use these images in the test
|
||||
$images = array(
|
||||
'dummy',
|
||||
);
|
||||
|
||||
|
||||
|
||||
// For each image, apply these testcases
|
||||
$testcase = array(
|
||||
'&nc&so',
|
||||
'&nc&width=300',
|
||||
'&nc&height=300',
|
||||
'&nc&width=300&height=300',
|
||||
'&nc&bgc=006600',
|
||||
);
|
||||
|
||||
|
||||
|
||||
// Apply testcases and present results
|
||||
include __DIR__ . "/template.php";
|
Reference in New Issue
Block a user