- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for fromXml (0.06 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java
props.put("junit.version", "4.12"); Model model = Model.newBuilder(true).properties(props).build(); String xml = toXml(model); for (int i = 0; i < 10; i++) { String newStr = toXml(fromXml(xml)); assertEquals(newStr, xml); } } @Test void testNamespaceInXmlNode() throws XMLStreamException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java
* @param xml the input xml string * @return the parsed object * @throws XmlReaderException if an error occurs during the parsing * @see #toXmlString(Object) */ public static PluginDescriptor fromXml(@Nonnull String xml) throws XmlReaderException { return new DefaultPluginXmlFactory().fromXmlString(xml); } /** * Simply converts the given content to an xml string. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
istioctl/pkg/validate/validate_test.go
apiVersion: v1 kind: Deployment metadata: name: helloworld-v1 labels: service.istio.io/canonical-name: helloworld service.istio.io/canonical-revision: v1 spec: replicas: 1 ` ) func fromYAML(in string) *unstructured.Unstructured { var un unstructured.Unstructured if err := yaml.Unmarshal([]byte(in), &un); err != nil { panic(err) } return &un } func TestValidateResource(t *testing.T) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 02 16:18:14 UTC 2024 - 21.4K bytes - Viewed (0)