diff --git a/sharepoint/api/src/main/resources/xsd/list.xsd b/sharepoint/api/src/main/resources/xsd/list.xsd index f064ca0..ff138f9 100644 --- a/sharepoint/api/src/main/resources/xsd/list.xsd +++ b/sharepoint/api/src/main/resources/xsd/list.xsd @@ -1,570 +1,569 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Restrict - Cascade - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sharepoint/api/src/test/java/de/muehlencord/shared/sharepoint/api/NtlmAuthenticatorTest.java b/sharepoint/api/src/test/java/de/muehlencord/shared/sharepoint/api/NtlmAuthenticatorTest.java index 303b940..5bab590 100644 --- a/sharepoint/api/src/test/java/de/muehlencord/shared/sharepoint/api/NtlmAuthenticatorTest.java +++ b/sharepoint/api/src/test/java/de/muehlencord/shared/sharepoint/api/NtlmAuthenticatorTest.java @@ -4,6 +4,7 @@ import de.muehlencord.shared.sharepoint.api.sites.SPSite; import java.net.MalformedURLException; import java.security.KeyManagementException; import java.security.NoSuchAlgorithmException; +import org.junit.Ignore; import org.junit.Test; /** @@ -14,6 +15,7 @@ public class NtlmAuthenticatorTest extends BaseTest { @Test + @Ignore // Depends on available sharepoint currently public void testAuthentication() throws MalformedURLException, NoSuchAlgorithmException, KeyManagementException { SPSite instance = new SPSite(context); instance.getRootWeb(); diff --git a/sharepoint/api/src/test/java/de/muehlencord/shared/sharepoint/api/lists/SPListTest.java b/sharepoint/api/src/test/java/de/muehlencord/shared/sharepoint/api/lists/SPListTest.java index 02bcdf0..a0dd1ca 100644 --- a/sharepoint/api/src/test/java/de/muehlencord/shared/sharepoint/api/lists/SPListTest.java +++ b/sharepoint/api/src/test/java/de/muehlencord/shared/sharepoint/api/lists/SPListTest.java @@ -35,17 +35,11 @@ public class SPListTest extends BaseTest { IOException { SPLists instance = new SPLists(context); - SPList list = instance.getSpListByTitle("Test"); + SPList list = instance.getSpListByTitle("Count"); assertNotNull(list); String listName = list.getListName(); assertEquals("Listname", "{D8C8D97E-1065-4674-A8F2-026D6D478794}", listName); - // get list of all country codes - java.util.List columns = new ArrayList<>(); - columns.add("Title"); - columns.add("ID"); - java.util.List> countryCodes = list.getListItems(columns, "300"); - Map data = new HashMap<>(); data.put("Title", "Test"); data.put("Choice", "Enter Choice #1"); // is not checked, possible to add wrong value @@ -56,7 +50,7 @@ public class SPListTest extends BaseTest { } @Test - // @Ignore // Depends on available sharepoint currently + @Ignore // Depends on available sharepoint currently public void addListItemBigList() throws NoSuchAlgorithmException, KeyManagementException, JAXBException, SAXException, ParserConfigurationException, IOException { diff --git a/sharepoint/api/src/test/java/de/muehlencord/shared/sharepoint/api/lists/SPListsTest.java b/sharepoint/api/src/test/java/de/muehlencord/shared/sharepoint/api/lists/SPListsTest.java index 80ffd1e..c286a6a 100644 --- a/sharepoint/api/src/test/java/de/muehlencord/shared/sharepoint/api/lists/SPListsTest.java +++ b/sharepoint/api/src/test/java/de/muehlencord/shared/sharepoint/api/lists/SPListsTest.java @@ -3,12 +3,8 @@ package de.muehlencord.shared.sharepoint.api.lists; import de.muehlencord.shared.sharepoint.api.BaseTest; import static de.muehlencord.shared.sharepoint.api.BaseTest.readFileContentFromTest; import java.io.IOException; -import java.net.MalformedURLException; -import java.security.KeyManagementException; -import java.security.NoSuchAlgorithmException; import javax.xml.bind.JAXBException; import static org.junit.Assert.assertEquals; -import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.xml.sax.SAXException; @@ -22,7 +18,6 @@ public class SPListsTest extends BaseTest { @Test - //@Ignore public void testFromXML() throws IOException, JAXBException, SAXException { String xmlString = readFileContentFromTest("lists/testlists.xml", "UTF-8"); SPLists lists = new SPLists(context);