Package com.socrata.datasync.config.userpreferences

Examples of com.socrata.datasync.config.userpreferences.UserPreferences


        TestCase.assertEquals(2, getTotalRows(UNITTEST_DATASET_ID));
    }

    @Test
    public void testReplaceViaFTPInvalidControlFile() throws IOException, InterruptedException {
        final UserPreferences userPrefs = getUserPrefs();

        File threeRowsFile = new File("src/test/resources/datasync_unit_test_three_rows.csv");
        JobStatus result = FTPDropbox2Publisher.publishViaFTPDropboxV2(
                userPrefs, UNITTEST_DATASET_ID, threeRowsFile,
                new File("src/test/resources/datasync_unit_test_three_rows_control_invalid.json"));
View Full Code Here


    HttpUtility http;

    @Before
    public void setUp() throws Exception {
        mapper = new ObjectMapper();
        UserPreferences userPrefs = getUserPrefs();
        http = new HttpUtility(userPrefs, true);
    }
View Full Code Here

TOP

Related Classes of com.socrata.datasync.config.userpreferences.UserPreferences

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.