ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1798260 - in /webservices/axiom/trunk/implementations: axiom-dom/BUILD axiom-impl/BUILD
Date Fri, 09 Jun 2017 18:57:01 GMT
Author: veithen
Date: Fri Jun  9 18:57:00 2017
New Revision: 1798260

URL: http://svn.apache.org/viewvc?rev=1798260&view=rev
Log:
Make more tests runnable with Bazel.

Modified:
    webservices/axiom/trunk/implementations/axiom-dom/BUILD
    webservices/axiom/trunk/implementations/axiom-impl/BUILD

Modified: webservices/axiom/trunk/implementations/axiom-dom/BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-dom/BUILD?rev=1798260&r1=1798259&r2=1798260&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-dom/BUILD (original)
+++ webservices/axiom/trunk/implementations/axiom-dom/BUILD Fri Jun  9 18:57:00 2017
@@ -19,6 +19,18 @@
 
 load('//buildutils:aspectj.bzl', 'aspectj_library')
 
+java_library(
+    name = "factory",
+    srcs = glob(["src/main/java/org/apache/axiom/om/impl/dom/factory/*.java"]),
+    resources = glob(["src/main/resources/**/*"]),
+    deps = [
+        "//aspects/dom-aspects",
+        "//aspects/om-aspects",
+        "//axiom-api:locator-loader",
+        "//axiom-api:stax",
+    ],
+)
+
 aspectj_library(
     name = "axiom-dom",
     srcs = glob([
@@ -32,6 +44,26 @@ aspectj_library(
         "//aspects/shared-aspects",
     ],
     deps = [
+        ":factory",
         "//axiom-api:locator-loader",
     ],
 )
+java_test(
+    name = "om_implementation_test",
+    srcs = ["src/test/java/org/apache/axiom/om/impl/dom/OMImplementationTest.java"],
+    test_class = "org.apache.axiom.om.impl.dom.OMImplementationTest",
+    deps = [
+        ":axiom-dom",
+        "//testing/axiom-testsuite",
+    ],
+)
+
+java_test(
+    name = "soap_implementation_test",
+    srcs = ["src/test/java/org/apache/axiom/soap/impl/dom/SOAPImplementationTest.java"],
+    test_class = "org.apache.axiom.soap.impl.dom.SOAPImplementationTest",
+    deps = [
+        ":axiom-dom",
+        "//testing/axiom-testsuite",
+    ],
+)

Modified: webservices/axiom/trunk/implementations/axiom-impl/BUILD
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/axiom-impl/BUILD?rev=1798260&r1=1798259&r2=1798260&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/axiom-impl/BUILD (original)
+++ webservices/axiom/trunk/implementations/axiom-impl/BUILD Fri Jun  9 18:57:00 2017
@@ -36,11 +36,13 @@ aspectj_library(
         "src/main/java/org/apache/axiom/soap/impl/llom/**/*.java",
     ]),
     aspects = [
-        ":factory",
         "//aspects/core-aspects",
         "//aspects/om-aspects",
         "//aspects/shared-aspects",
     ],
+    deps = [
+        ":factory",
+    ],
 )
 
 java_test(



Mime
View raw message