Bugzilla – Attachment 8067 Details for
Bug 7661
Moving C4::tests to unit tests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
7661 Moving C4::tests to unit tests
7661-Moving-C4tests-to-unit-tests.patch (text/plain), 4.33 KB, created by
Liz Rea
on 2012-03-08 02:57:26 UTC
(
hide
)
Description:
7661 Moving C4::tests to unit tests
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2012-03-08 02:57:26 UTC
Size:
4.33 KB
patch
obsolete
>From e96e5e541921bc7ccee8573c967add143db38c56 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Wed, 7 Mar 2012 15:38:29 +0100 >Subject: [PATCH] 7661 Moving C4::tests to unit tests >Content-Type: text/plain; charset="utf-8" > >This is only a file moving patch. No behaviour changes. > >Signed-off-by: Liz Rea <wizzyrea@gmail.com> >Ran tests, new tests were performed as expected. >--- > .../db_dependent/Record/Record.t | 4 ++-- > .../Record}/testrecords/marc21_marc8.dat | 0 > .../testrecords/marc21_marc8_combining_chars.dat | 0 > .../Record}/testrecords/marc21_marc8_errors.dat | 0 > .../Record}/testrecords/marc21_utf8.dat | 0 > .../testrecords/marc21_utf8_combining_chars.dat | 0 > .../Record}/testrecords/marcxml_utf8.xml | 0 > .../testrecords/marcxml_utf8_entityencoded.xml | 0 > 8 files changed, 2 insertions(+), 2 deletions(-) > rename C4/tests/Record_test.pl => t/db_dependent/Record/Record.t (98%) > rename {C4/tests => t/db_dependent/Record}/testrecords/marc21_marc8.dat (100%) > rename {C4/tests => t/db_dependent/Record}/testrecords/marc21_marc8_combining_chars.dat (100%) > rename {C4/tests => t/db_dependent/Record}/testrecords/marc21_marc8_errors.dat (100%) > rename {C4/tests => t/db_dependent/Record}/testrecords/marc21_utf8.dat (100%) > rename {C4/tests => t/db_dependent/Record}/testrecords/marc21_utf8_combining_chars.dat (100%) > rename {C4/tests => t/db_dependent/Record}/testrecords/marcxml_utf8.xml (100%) > rename {C4/tests => t/db_dependent/Record}/testrecords/marcxml_utf8_entityencoded.xml (100%) > >diff --git a/C4/tests/Record_test.pl b/t/db_dependent/Record/Record.t >similarity index 98% >rename from C4/tests/Record_test.pl >rename to t/db_dependent/Record/Record.t >index f7a65ab..d3f4337 100755 >--- a/C4/tests/Record_test.pl >+++ b/t/db_dependent/Record/Record.t >@@ -87,9 +87,9 @@ $marcxml_utf8 =~ s/\n//g; > my $error; my $marc; my $marcxml; my $dcxml; # some scalars to store values > ## MARC to MARCXML > print "\n1. Checking conversion of simple ISO-2709 (MARC21) records to MARCXML\n"; >-ok (($error,$marcxml) = marc2marcxml($marc21_marc8,'UTF-8','MARC21'), 'marc2marcxml - from MARC-8 to UTF-8 (MARC21)'); >+ok (($error,$marcxml) = marc2marcxml($marc21_marc8,'UTF-8','MARC21'), 'marc2marcxml - from MARC-8 to UTF-8 (MARC21)'); > ok (!$error, 'no errors in conversion'); >- $marcxml =~ s/\n//g; >+ $marcxml =~ s/\n//g; > $marcxml =~ s/v\/ s/v\/s/g; # FIXME: bug in new_from_xml_record!! > is ($marcxml,$marcxml_utf8, 'record matches antitype'); > >diff --git a/C4/tests/testrecords/marc21_marc8.dat b/t/db_dependent/Record/testrecords/marc21_marc8.dat >similarity index 100% >rename from C4/tests/testrecords/marc21_marc8.dat >rename to t/db_dependent/Record/testrecords/marc21_marc8.dat >diff --git a/C4/tests/testrecords/marc21_marc8_combining_chars.dat b/t/db_dependent/Record/testrecords/marc21_marc8_combining_chars.dat >similarity index 100% >rename from C4/tests/testrecords/marc21_marc8_combining_chars.dat >rename to t/db_dependent/Record/testrecords/marc21_marc8_combining_chars.dat >diff --git a/C4/tests/testrecords/marc21_marc8_errors.dat b/t/db_dependent/Record/testrecords/marc21_marc8_errors.dat >similarity index 100% >rename from C4/tests/testrecords/marc21_marc8_errors.dat >rename to t/db_dependent/Record/testrecords/marc21_marc8_errors.dat >diff --git a/C4/tests/testrecords/marc21_utf8.dat b/t/db_dependent/Record/testrecords/marc21_utf8.dat >similarity index 100% >rename from C4/tests/testrecords/marc21_utf8.dat >rename to t/db_dependent/Record/testrecords/marc21_utf8.dat >diff --git a/C4/tests/testrecords/marc21_utf8_combining_chars.dat b/t/db_dependent/Record/testrecords/marc21_utf8_combining_chars.dat >similarity index 100% >rename from C4/tests/testrecords/marc21_utf8_combining_chars.dat >rename to t/db_dependent/Record/testrecords/marc21_utf8_combining_chars.dat >diff --git a/C4/tests/testrecords/marcxml_utf8.xml b/t/db_dependent/Record/testrecords/marcxml_utf8.xml >similarity index 100% >rename from C4/tests/testrecords/marcxml_utf8.xml >rename to t/db_dependent/Record/testrecords/marcxml_utf8.xml >diff --git a/C4/tests/testrecords/marcxml_utf8_entityencoded.xml b/t/db_dependent/Record/testrecords/marcxml_utf8_entityencoded.xml >similarity index 100% >rename from C4/tests/testrecords/marcxml_utf8_entityencoded.xml >rename to t/db_dependent/Record/testrecords/marcxml_utf8_entityencoded.xml >-- >1.7.5.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7661
:
8055
|
8067
|
8201