File tree Expand file tree Collapse file tree
transform-minify/src/test/java/org/ocpsoft/rewrite/transform/minify Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727import org .jboss .shrinkwrap .api .spec .JavaArchive ;
2828import org .jboss .shrinkwrap .api .spec .WebArchive ;
2929import org .junit .Test ;
30+ import org .junit .experimental .categories .Category ;
3031import org .junit .runner .RunWith ;
32+ import org .ocpsoft .rewrite .category .IgnoreForWildfly ;
3133import org .ocpsoft .rewrite .config .ConfigurationProvider ;
3234import org .ocpsoft .rewrite .test .HttpAction ;
3335import org .ocpsoft .rewrite .test .RewriteTest ;
@@ -63,7 +65,13 @@ protected static JavaArchive getTransformArchive()
6365 return archive ;
6466 }
6567
68+ /**
69+ * Ignored on Wildlfy because there seems to be some issue with the content length.
70+ *
71+ * @see https://github.com/ocpsoft/rewrite/issues/145
72+ */
6673 @ Test
74+ @ Category (IgnoreForWildfly .class )
6775 public void testCssFileCompression () throws Exception
6876 {
6977 HttpAction <HttpGet > action = get ("/test.css" );
Original file line number Diff line number Diff line change 2323import org .jboss .shrinkwrap .api .asset .StringAsset ;
2424import org .jboss .shrinkwrap .api .spec .WebArchive ;
2525import org .junit .Test ;
26+ import org .junit .experimental .categories .Category ;
2627import org .junit .runner .RunWith ;
28+ import org .ocpsoft .rewrite .category .IgnoreForWildfly ;
2729import org .ocpsoft .rewrite .config .ConfigurationProvider ;
2830import org .ocpsoft .rewrite .test .HttpAction ;
2931import org .ocpsoft .rewrite .test .RewriteTest ;
@@ -50,7 +52,13 @@ public static WebArchive getDeployment()
5052 .addAsServiceProvider (ConfigurationProvider .class , JsMinifyTestProvider .class );
5153 }
5254
55+ /**
56+ * Ignored on Wildlfy because there seems to be some issue with the content length.
57+ *
58+ * @see https://github.com/ocpsoft/rewrite/issues/145
59+ */
5360 @ Test
61+ @ Category (IgnoreForWildfly .class )
5462 public void testJavaScriptCompression () throws Exception
5563 {
5664 HttpAction <HttpGet > action = get ("/test.js" );
You can’t perform that action at this time.
0 commit comments