File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3131import java .io .IOException ;
3232import java .util .concurrent .ExecutionException ;
3333
34- public class InstantiateInlineWorkflow {
34+ public class InstantiateInlineWorkflowTemplate {
3535
36- public static void InstantiateInlineWorkflow () throws IOException , InterruptedException {
36+ public static void instantiateInlineWorkflowTemplate () throws IOException , InterruptedException {
3737 // TODO(developer): Replace these variables before running the sample.
3838 String projectId = "your-project-id" ;
3939 String region = "your-project-region" ;
40- instantiateInlineWorkflow (projectId , region );
40+ instantiateInlineWorkflowTemplate (projectId , region );
4141 }
4242
43- public static void instantiateInlineWorkflow (String projectId , String region )
43+ public static void instantiateInlineWorkflowTemplate (String projectId , String region )
4444 throws IOException , InterruptedException {
4545 String myEndpoint = String .format ("%s-dataproc.googleapis.com:443" , region );
4646
Original file line number Diff line number Diff line change 2828import org .junit .runners .JUnit4 ;
2929
3030@ RunWith (JUnit4 .class )
31- public class InstantiateInlineWorkflowTest {
31+ public class InstantiateInlineWorkflowTemplateTest {
3232
3333
3434 private static final String REGION = "us-central1" ;
@@ -55,8 +55,8 @@ public void setUp() {
5555 }
5656
5757 @ Test
58- public void InstanstiateInlineWorkflowTest () throws IOException , InterruptedException {
59- InstantiateInlineWorkflow . instantiateInlineWorkflow (PROJECT_ID , REGION );
58+ public void instanstiateInlineWorkflowTest () throws IOException , InterruptedException {
59+ InstantiateInlineWorkflowTemplate . instantiateInlineWorkflowTemplate (PROJECT_ID , REGION );
6060 String output = bout .toString ();
6161
6262 assertThat (output , CoreMatchers .containsString ("successfully" ));
You can’t perform that action at this time.
0 commit comments