File: 012-cloneable.t

package info (click to toggle)
libsoap-lite-perl 1.27-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 1,680 kB
  • sloc: perl: 8,908; makefile: 23; cs: 16
file content (17 lines) | stat: -rw-r--r-- 233 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use strict;
use warnings;
use Test;

use SOAP::Lite;

plan tests => 2;

my $soap = SOAP::Lite->new(
    readable => 1,
    outputxml => 1,
);

my $clone = $soap->clone();

ok ($clone->readable() == 1);
ok ($clone->outputxml() == 1);