46 javadoc("-d", "out", |
46 javadoc("-d", "out", |
47 "-sourcepath", testSrc, |
47 "-sourcepath", testSrc, |
48 "pkg", testSrc("TestJavascript.java")); |
48 "pkg", testSrc("TestJavascript.java")); |
49 checkExit(Exit.OK); |
49 checkExit(Exit.OK); |
50 |
50 |
51 checkOutput("pkg/C.html", true, |
51 checkOutput("pkg/C.html", false, |
52 "<script type=\"text/javascript\"><!--\n" |
52 "<script type=\"text/javascript\"><!--\n" |
53 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" |
53 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" |
54 + "//-->\n" |
54 + "//-->\n" |
55 + "</script>"); |
55 + "</script>"); |
56 |
56 |
57 checkOutput("index.html", true, |
57 checkOutput("index.html", false, |
58 "<script type=\"text/javascript\"><!--\n" |
58 "<script type=\"text/javascript\"><!--\n" |
59 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" |
59 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" |
60 + "//-->\n"); |
60 + "//-->\n"); |
61 |
61 |
62 checkOutput("script.js", true, |
62 checkOutput("script.js", false, |
63 "$(window).resize(function() {\n" |
63 "$(window).resize(function() {\n" |
64 + " $('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" |
64 + " $('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" |
65 + " });"); |
65 + " });"); |
66 } |
66 } |
67 } |
67 } |