Preliminary support for Bugzilla 3.6.x
git-svn-id: svn://10.0.0.236/trunk@260648 18797224-902f-48f8-a5cc-f745e15eee43
@ -1 +1 @@
|
||||
637
|
||||
638
|
||||
@ -1,7 +1,8 @@
|
||||
#!/usr/bin/perl -w
|
||||
package Bugzilla::Extension::Testopia;
|
||||
use strict;
|
||||
use constant NAME => 'Testopia';
|
||||
|
||||
sub REQUIRED_MODULES {
|
||||
my @modules = (
|
||||
use constant REQUIRED_MODULES => [
|
||||
{
|
||||
package => 'JSON',
|
||||
module => 'JSON',
|
||||
@ -17,38 +18,33 @@ sub REQUIRED_MODULES {
|
||||
module => 'GD::Graph3d',
|
||||
version => '0.63'
|
||||
},
|
||||
);
|
||||
return \@modules;
|
||||
};
|
||||
];
|
||||
|
||||
sub OPTIONAL_MODULES {
|
||||
my @modules = (
|
||||
use constant OPTIONAL_MODULES => [
|
||||
{
|
||||
package => 'Text-CSV',
|
||||
module => 'Text::CSV',
|
||||
version => '1.06',
|
||||
feature => 'CSV Importing of test cases'
|
||||
feature => ['CSV Importing of test cases']
|
||||
},
|
||||
{
|
||||
package => 'XML Schema Validator',
|
||||
module => 'XML::Validator::Schema',
|
||||
version => '1.10',
|
||||
feature => 'XML Importing of test cases and plans'
|
||||
feature => ['XML Importing of test cases and plans']
|
||||
},
|
||||
{
|
||||
package => 'XML Schema Parser',
|
||||
module => 'XML::SAX::ParserFactory',
|
||||
version => 0,
|
||||
feature => 'XML Importing of test cases and plans'
|
||||
feature => ['XML Importing of test cases and plans']
|
||||
},
|
||||
{
|
||||
package => 'XML Twig',
|
||||
module => 'XML::Twig',
|
||||
version => 0,
|
||||
feature => 'XML Importing of test cases and plans'
|
||||
feature => ['XML Importing of test cases and plans']
|
||||
}
|
||||
);
|
||||
|
||||
return \@modules;
|
||||
};
|
||||
|
||||
];
|
||||
|
||||
__PACKAGE__->NAME;
|
||||
1945
mozilla/webtools/testopia/extensions/Testopia/Extension.pm
Normal file
@ -32,10 +32,10 @@ something like this:
|
||||
$> cd /path/to/bugzilla
|
||||
$> tar xzvf testopia-<version>.tar.gz
|
||||
|
||||
Next you need to patch the Bugzilla files. Find the patch file in the extensions/testopia directory matching your version of Bugzilla.
|
||||
Next you need to patch the Bugzilla files. Find the patch file in the extensions/Testopia directory matching your version of Bugzilla.
|
||||
For example, if you are running Bugzilla 3.4.3 you will apply the patch-3.4.3 patch file.
|
||||
|
||||
$> patch -p0 -i extensions/testopia/patch-3.4.3
|
||||
$> patch -p0 -i extensions/Testopia/patch-3.4.3
|
||||
|
||||
Finally, you need to run checksetup.pl
|
||||
|
||||
|
Before Width: | Height: | Size: 57 B After Width: | Height: | Size: 57 B |
@ -151,7 +151,7 @@ $soapresult = $proxy->call('Testopia.testopia_version');
|
||||
|
||||
#$soapresult = $proxy->call('Build.check_build', 'Linux', 2);
|
||||
#$soapresult = $proxy->call('Build.check_build', 'Linux', 'Bugzilla');
|
||||
#$soapresult = $proxy->call('Build.check_build', 'Linux', Testopia::Product->new(2));
|
||||
#$soapresult = $proxy->call('Build.check_build', 'Linux', Bugzilla::Extension::Testopia::Product->new(2));
|
||||
#$soapresult = $proxy->call('Build.create', {name=>'Build '. time(), product_id=>2, isactive=>0, description=> 'API Test Build - IGNORE'});
|
||||
#$soapresult = $proxy->call('Build.get', 1140);
|
||||
#$soapresult = $proxy->call('Build.update', 1140, { description=>'This is a description', milestone=>'3.0', isactive=>0});
|
||||
@ -161,7 +161,7 @@ $soapresult = $proxy->call('Testopia.testopia_version');
|
||||
###########################
|
||||
#$soapresult = $proxy->call('Environment.check_environment', 'Linux', 2);
|
||||
#$soapresult = $proxy->call('Environment.check_environment', 'Linux', 'Bugzilla');
|
||||
#$soapresult = $proxy->call('Environment.check_environment', 'Linux', Testopia::Product->new(2));
|
||||
#$soapresult = $proxy->call('Environment.check_environment', 'Linux', Bugzilla::Extension::Testopia::Product->new(2));
|
||||
#$soapresult = $proxy->call('Environment.create', {product_id=>2, name=>'Environment '.time() , isactive=>1});
|
||||
#$soapresult = $proxy->call('Environment.get', 1018);
|
||||
#$soapresult = $proxy->call('Environment.list', {environment_id=>330});
|
||||
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
// by Edd Dumbill (C) 1999-2002
|
||||
// <edd@usefulinc.com>
|
||||
// $Id: .xmlrpc.inc.php,v 1.1 2009-08-27 16:19:23 ghendricks%novell.com Exp $
|
||||
// $Id: .xmlrpc.inc.php,v 1.1 2010-07-06 15:08:43 mkanat%bugzilla.org Exp $
|
||||
|
||||
// Copyright (c) 1999,2000,2002 Edd Dumbill.
|
||||
// All rights reserved.
|
||||
@ -29,6 +29,18 @@
|
||||
border:none;
|
||||
}
|
||||
|
||||
#footer .testopia_links {
|
||||
padding-left: 1ex;
|
||||
}
|
||||
|
||||
#footer #links-saved {
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
#footer #tr-links-saved {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
/* old default.css */
|
||||
textarea {
|
||||
/* background-color: #fff; */
|
||||
@ -234,15 +246,15 @@ dt {
|
||||
}
|
||||
|
||||
.plan_archived {
|
||||
background: url(../../testopia/img/archived.png);
|
||||
background: url(../../Testopia/img/archived.png);
|
||||
background-repeat: no-repeat;
|
||||
width: 120px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
.x-progress-bar-red{height:18px;float:left;width:0;background:#9CBFEE url( ../../testopia/img/red_bar.gif ) repeat-x left center;border-top:1px solid #D1E4FD;border-bottom:1px solid #7FA9E4;}
|
||||
.x-progress-bar-green{height:18px;float:left;width:0;background:#9CBFEE url( ../../testopia/img/green_bar.gif ) repeat-x left center;border-top:1px solid #D1E4FD;border-bottom:1px solid #7FA9E4;}
|
||||
.x-progress-bar-orange{height:18px;float:left;width:0;background:#9CBFEE url( ../../testopia/img/orange_bar.gif ) repeat-x left center;border-top:1px solid #D1E4FD;border-bottom:1px solid #7FA9E4;}
|
||||
.x-progress-bar-red{height:18px;float:left;width:0;background:#9CBFEE url( ../../Testopia/img/red_bar.gif ) repeat-x left center;border-top:1px solid #D1E4FD;border-bottom:1px solid #7FA9E4;}
|
||||
.x-progress-bar-green{height:18px;float:left;width:0;background:#9CBFEE url( ../../Testopia/img/green_bar.gif ) repeat-x left center;border-top:1px solid #D1E4FD;border-bottom:1px solid #7FA9E4;}
|
||||
.x-progress-bar-orange{height:18px;float:left;width:0;background:#9CBFEE url( ../../Testopia/img/orange_bar.gif ) repeat-x left center;border-top:1px solid #D1E4FD;border-bottom:1px solid #7FA9E4;}
|
||||
.x-progress-text-main{font-size:11px;font-weight:bold;color:#fff;padding:3px 5px;overflow:hidden;position:absolute;left:0;text-align:center;}
|
||||
.x-progress-text-back-main{color:#000;line-height:16px;font-weight:bold;}
|
||||
|
||||
|
Before Width: | Height: | Size: 123 B After Width: | Height: | Size: 123 B |
|
Before Width: | Height: | Size: 538 B After Width: | Height: | Size: 538 B |
|
Before Width: | Height: | Size: 353 B After Width: | Height: | Size: 353 B |
|
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 350 B |
|
Before Width: | Height: | Size: 561 B After Width: | Height: | Size: 561 B |
|
Before Width: | Height: | Size: 376 B After Width: | Height: | Size: 376 B |