void function ( ) { expectedException . expect ( IOException . class ) ; conf . set ( BigQueryConfiguration . OUTPUT_PROJECT_ID_KEY , TEST_PROJECT_ID ) ; conf . set ( BigQueryConfiguration . OUTPUT_DATASET_ID_KEY , TEST_DATASET_ID ) ; BigQueryOutputConfiguration . getTableReference ( conf ) ; }
test the gettable throws an exception when a key is missing . concode_field_sep JobID mockJobID concode_elem_sep String TEST_BAD_TABLE_SCHEMA_STRING concode_elem_sep Configuration conf concode_elem_sep String TEST_PROJECT_ID concode_elem_sep String TEST_TABLE_SCHEMA_STRING concode_elem_sep String TEST_OUTPUT_PATH_STRING concode_elem_sep TableSchema TEST_TABLE_SCHEMA concode_elem_sep BigQueryFileFormat TEST_FILE_FORMAT concode_elem_sep ExpectedException expectedException concode_elem_sep Class<? extends FileOutputFormat> TEST_OUTPUT_CLASS concode_elem_sep String TEST_DATASET_ID concode_elem_sep String TEST_TABLE_ID concode_elem_sep TableReference TEST_TABLE_REF concode_field_sep void testGetGcsOutputPathMissing concode_elem_sep void testValidateConfiguration concode_elem_sep void testGetGcsOutputPath concode_elem_sep void testValidateConfigurationMissingOutputFormat concode_elem_sep void testConfigureMissing concode_elem_sep void testGetTableReferenceSchema concode_elem_sep void testConfigure concode_elem_sep void testValidateConfigurationMissingFileFormat concode_elem_sep void testGetTableReference concode_elem_sep void testGetProjectIdMissing concode_elem_sep void testValidateConfigurationBadSchema concode_elem_sep void testGetFileFormat concode_elem_sep void testGetFileFormatMissing concode_elem_sep void testGetTableReferenceBackupProjectId concode_elem_sep void setUp concode_elem_sep void testValidateConfigurationMissingProjectId concode_elem_sep void testGetProjectId concode_elem_sep void testGetTableReferenceSchemaBadSchema concode_elem_sep void testGetFileFormatMalformed concode_elem_sep void testGetProjectIdBackup