1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2013 - Scilab Enterprises - Charlotte HECQUET
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 // <-- JVM MANDATORY -->
10 // <-- ENGLISH IMPOSED -->
12 // <-- NO CHECK ERROR OUTPUT -->
14 // <-- Non-regression test for bug 12548 -->
16 // <-- Bugzilla URL -->
17 // http://bugzilla.scilab.org/show_bug.cgi?id=12548
19 // <-- Short Description -->
20 // Duplicated code in xmltoformat
22 function a = bug_12548(b, c, d)
26 test_bug_12548 = "bug_12548";
27 pathDest = TMPDIR + filesep() + test_bug_12548 + filesep();
28 mkdir(TMPDIR, test_bug_12548);
30 mputl(help_skeleton("bug_12548"), pathDest + "bug_12548.xml");
32 assert_checktrue(execstr("xmltoformat(""javaHelp"",pathDest, ""bug help"")","errcatch")==0);