Skip to content

Commit c090892

Browse files
committed
use uppercase T in all Mimetype naming
1 parent db00647 commit c090892

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

dsf-bpe/dsf-bpe-server/src/test/java/dev/dsf/bpe/integration/PluginV2IntegrationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ public void startJsonVariableTest() throws Exception
8585
}
8686

8787
@Test
88-
public void startMimetypeServiceTest() throws Exception
88+
public void startMimeTypeServiceTest() throws Exception
8989
{
90-
executePluginTest(createTestTask("MimetypeServiceTest"));
90+
executePluginTest(createTestTask("MimeTypeServiceTest"));
9191
}
9292
}

dsf-bpe/dsf-bpe-test-plugin-v2/src/main/java/dev/dsf/bpe/test/service/ApiTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void apiGetMailServiceNotNull(ProcessPluginApi api) throws Exception
6060
}
6161

6262
@PluginTest
63-
public void apiGetMimetypeService(ProcessPluginApi api) throws Exception
63+
public void apiGetMimeTypeService(ProcessPluginApi api) throws Exception
6464
{
6565
expectNotNull(api.getMimeTypeService());
6666
}

dsf-bpe/dsf-bpe-test-plugin-v2/src/main/java/dev/dsf/bpe/test/service/MimeTypeServiceTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ private void testResourcesStream(List<Resource> resources, MimeTypeService mimeT
8888
for (Resource resource : resources)
8989
{
9090
InputStream data = getDataStream(resource);
91-
String mimeType = getMimetype(resource);
91+
String mimeType = getMimeType(resource);
9292

9393
MimeTypeService.ValidationResult validationResult = mimeTypeService.validateWithResult(data, mimeType);
9494
if (!validationResult.mimeTypesMatch())
@@ -122,7 +122,7 @@ private InputStream getDataStream(Resource resource)
122122
.getBytes(StandardCharsets.UTF_8));
123123
}
124124

125-
private String getMimetype(Resource resource)
125+
private String getMimeType(Resource resource)
126126
{
127127
if (resource instanceof Binary binary)
128128
return binary.getContentType();

dsf-bpe/dsf-bpe-test-plugin-v2/src/main/resources/bpe/test.bpmn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
</bpmn:serviceTask>
244244
<bpmn:sequenceFlow id="Flow_1le3eld" sourceRef="MimeTypeServiceTest" targetRef="Gateway_056f6tw" />
245245
<bpmn:sequenceFlow id="Flow_1gkrz8f" sourceRef="Gateway_0eszi2t" targetRef="MimeTypeServiceTest">
246-
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${testActivity == 'MimetypeServiceTest'}</bpmn:conditionExpression>
246+
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${testActivity == 'MimeTypeServiceTest'}</bpmn:conditionExpression>
247247
</bpmn:sequenceFlow>
248248
</bpmn:process>
249249
<bpmn:message id="Message_1nn2wdw" name="start" />

0 commit comments

Comments
 (0)